From 61aadb378d654425d55b8cf9f91df4283b46de7e Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 4 Nov 2008 16:11:40 +0000 Subject: Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some EngineFeature comments svn-id: r34896 --- engines/queen/queen.cpp | 8 +++++--- engines/queen/queen.h | 11 ++++++----- 2 files changed, 11 insertions(+), 8 deletions(-) (limited to 'engines/queen') diff --git a/engines/queen/queen.cpp b/engines/queen/queen.cpp index 9fc30e0d62..961154e5ac 100644 --- a/engines/queen/queen.cpp +++ b/engines/queen/queen.cpp @@ -23,8 +23,6 @@ * */ - - #include "base/plugins.h" #include "common/config-manager.h" @@ -80,12 +78,16 @@ const char *QueenMetaEngine::getCopyright() const { bool QueenMetaEngine::hasFeature(MetaEngineFeature f) const { return - (f == kSupportsRTL) || (f == kSupportsListSaves) || (f == kSupportsLoadingDuringStartup) || (f == kSupportsDeleteSave); } +bool Queen::QueenEngine::hasFeature(EngineFeature f) const { + return + (f == kSupportsRTL); +} + GameList QueenMetaEngine::getSupportedGames() const { GameList games; games.push_back(queenGameDescriptor); diff --git a/engines/queen/queen.h b/engines/queen/queen.h index 01d6340abb..dcfc7b07a5 100644 --- a/engines/queen/queen.h +++ b/engines/queen/queen.h @@ -97,7 +97,6 @@ public: void checkOptionSettings(); void readOptionSettings(); void writeOptionSettings(); - virtual void syncSoundSettings(); int talkSpeed() const { return _talkSpeed; } void talkSpeed(int speed) { _talkSpeed = speed; } @@ -129,10 +128,12 @@ public: protected: - GUI::Debugger *getDebugger(); - - int go(); - int init(); + // Engine APIs + virtual int init(); + virtual int go(); + virtual GUI::Debugger *getDebugger(); + virtual bool hasFeature(EngineFeature f) const; + virtual void syncSoundSettings(); int _talkSpeed; -- cgit v1.2.3