aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/detection.cpp5
-rw-r--r--engines/gob/gob.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/engines/gob/detection.cpp b/engines/gob/detection.cpp
index c871bdb976..8b7929e953 100644
--- a/engines/gob/detection.cpp
+++ b/engines/gob/detection.cpp
@@ -2134,10 +2134,13 @@ public:
};
bool GobMetaEngine::hasFeature(MetaEngineFeature f) const {
+ return false;
+}
+
+bool Gob::GobEngine::hasFeature(EngineFeature f) const {
return
(f == kSupportsRTL);
}
-
bool GobMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const {
const Gob::GOBGameDescription *gd = (const Gob::GOBGameDescription *)desc;
if (gd) {
diff --git a/engines/gob/gob.h b/engines/gob/gob.h
index 39950e3261..599d7085fb 100644
--- a/engines/gob/gob.h
+++ b/engines/gob/gob.h
@@ -190,10 +190,12 @@ private:
uint32 _pauseStart;
- int go();
- int init();
+ // Engine APIs
+ virtual int init();
+ virtual int go();
+ virtual bool hasFeature(EngineFeature f) const;
+ virtual void pauseEngineIntern(bool pause);
- void pauseEngineIntern(bool pause);
bool initGameParts();
void deinitGameParts();