aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorMax Horn2008-11-04 16:11:40 +0000
committerMax Horn2008-11-04 16:11:40 +0000
commit61aadb378d654425d55b8cf9f91df4283b46de7e (patch)
treec087a5576ecc7f707abd68c596cf5d0955708e91 /engines/gob
parent70679e68951789f70f57a8b900b51b3cf52979b1 (diff)
downloadscummvm-rg350-61aadb378d654425d55b8cf9f91df4283b46de7e.tar.gz
scummvm-rg350-61aadb378d654425d55b8cf9f91df4283b46de7e.tar.bz2
scummvm-rg350-61aadb378d654425d55b8cf9f91df4283b46de7e.zip
Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some EngineFeature comments
svn-id: r34896
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();