aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/detection.cpp6
-rw-r--r--engines/parallaction/parallaction.h9
2 files changed, 11 insertions, 4 deletions
diff --git a/engines/parallaction/detection.cpp b/engines/parallaction/detection.cpp
index d219c0c00f..d64f50b620 100644
--- a/engines/parallaction/detection.cpp
+++ b/engines/parallaction/detection.cpp
@@ -252,12 +252,16 @@ public:
bool ParallactionMetaEngine::hasFeature(MetaEngineFeature f) const {
return
- (f == kSupportsRTL) ||
(f == kSupportsListSaves) ||
(f == kSupportsLoadingDuringStartup) ||
(f == kSupportsDeleteSave);
}
+bool Parallaction::Parallaction::hasFeature(EngineFeature f) const {
+ return
+ (f == kSupportsRTL);
+}
+
bool ParallactionMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const {
const Parallaction::PARALLACTIONGameDescription *gd = (const Parallaction::PARALLACTIONGameDescription *)desc;
bool res = true;
diff --git a/engines/parallaction/parallaction.h b/engines/parallaction/parallaction.h
index d7add635cd..b1baa28530 100644
--- a/engines/parallaction/parallaction.h
+++ b/engines/parallaction/parallaction.h
@@ -227,7 +227,9 @@ public:
Parallaction(OSystem *syst, const PARALLACTIONGameDescription *gameDesc);
~Parallaction();
- int init();
+ // Engine APIs
+ virtual int init();
+ virtual bool hasFeature(EngineFeature f) const;
// info
int32 _screenWidth;
@@ -360,8 +362,9 @@ public:
Parallaction_ns(OSystem* syst, const PARALLACTIONGameDescription *gameDesc) : Parallaction(syst, gameDesc) { }
~Parallaction_ns();
- int init();
- int go();
+ // Engine APIs
+ virtual int init();
+ virtual int go();
public:
virtual void parseLocation(const char *filename);