aboutsummaryrefslogtreecommitdiff
path: root/engines/touche
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/touche
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/touche')
-rw-r--r--engines/touche/detection.cpp6
-rw-r--r--engines/touche/touche.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/engines/touche/detection.cpp b/engines/touche/detection.cpp
index dfcda985ab..fae051ad30 100644
--- a/engines/touche/detection.cpp
+++ b/engines/touche/detection.cpp
@@ -145,12 +145,16 @@ public:
bool ToucheMetaEngine::hasFeature(MetaEngineFeature f) const {
return
- (f == kSupportsRTL) ||
(f == kSupportsListSaves) ||
(f == kSupportsLoadingDuringStartup) ||
(f == kSupportsDeleteSave);
}
+bool Touche::ToucheEngine::hasFeature(EngineFeature f) const {
+ return
+ (f == kSupportsRTL);
+}
+
bool ToucheMetaEngine::createInstance(OSystem *syst, Engine **engine, const Common::ADGameDescription *desc) const {
const Common::ADGameDescription *gd = desc;
if (gd) {
diff --git a/engines/touche/touche.h b/engines/touche/touche.h
index 707eedbb38..a5ff67dcc9 100644
--- a/engines/touche/touche.h
+++ b/engines/touche/touche.h
@@ -361,8 +361,10 @@ public:
ToucheEngine(OSystem *system, Common::Language language);
virtual ~ToucheEngine();
+ // Engine APIs
virtual int init();
virtual int go();
+ virtual bool hasFeature(EngineFeature f) const;
virtual void syncSoundSettings();
protected: