diff options
author | Filippos Karapetis | 2012-03-25 06:10:58 -0700 |
---|---|---|
committer | Filippos Karapetis | 2012-03-25 06:10:58 -0700 |
commit | 2ac5ce42e81869b361c4f7709eb409b821c9d523 (patch) | |
tree | 77cc3f2c1add39d234eec59d7077b33663826541 /engines/queen | |
parent | 0f9fdf6dcecfce1f19426eaab103e56f8e8f6391 (diff) | |
parent | 1c124d507930bed5a46fb2d8ca6bfc6f68d6c42f (diff) | |
download | scummvm-rg350-2ac5ce42e81869b361c4f7709eb409b821c9d523.tar.gz scummvm-rg350-2ac5ce42e81869b361c4f7709eb409b821c9d523.tar.bz2 scummvm-rg350-2ac5ce42e81869b361c4f7709eb409b821c9d523.zip |
Merge pull request #215 from eriktorbjorn/gui-options
Add missing GUI options
Diffstat (limited to 'engines/queen')
-rw-r--r-- | engines/queen/queen.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/queen/queen.cpp b/engines/queen/queen.cpp index d17268e16b..2a9538d7ff 100644 --- a/engines/queen/queen.cpp +++ b/engines/queen/queen.cpp @@ -30,6 +30,7 @@ #include "common/system.h" #include "common/events.h" #include "common/textconsole.h" +#include "common/translation.h" #include "engines/util.h" @@ -54,6 +55,13 @@ static const PlainGameDescriptor queenGameDescriptor = { "queen", "Flight of the Amazon Queen" }; +static const ExtraGuiOption queenExtraGuiOption = { + _s("Alternative intro"), + _s("Use an alternative game intro (CD version only)"), + "alt_intro", + false +}; + class QueenMetaEngine : public MetaEngine { public: virtual const char *getName() const; @@ -61,6 +69,7 @@ public: virtual bool hasFeature(MetaEngineFeature f) const; virtual GameList getSupportedGames() const; + virtual const ExtraGuiOptions getExtraGuiOptions(const Common::String &target) const; virtual GameDescriptor findGame(const char *gameid) const; virtual GameList detectGames(const Common::FSList &fslist) const; virtual SaveStateList listSaves(const char *target) const; @@ -96,6 +105,12 @@ GameList QueenMetaEngine::getSupportedGames() const { return games; } +const ExtraGuiOptions QueenMetaEngine::getExtraGuiOptions(const Common::String &target) const { + ExtraGuiOptions options; + options.push_back(queenExtraGuiOption); + return options; +} + GameDescriptor QueenMetaEngine::findGame(const char *gameid) const { if (0 == scumm_stricmp(gameid, queenGameDescriptor.gameid)) { return queenGameDescriptor; |