diff options
author | Torbjörn Andersson | 2012-03-25 11:58:09 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2012-03-25 11:58:09 +0200 |
commit | ae102a2b548fe831db4f31772656740d1a3042f7 (patch) | |
tree | 7a3985a8da6a9c8a0ebc68e94d8ed8e58c720662 /engines | |
parent | ec32ccb6d640439b71e154c4d48daeb8bd10ff92 (diff) | |
download | scummvm-rg350-ae102a2b548fe831db4f31772656740d1a3042f7.tar.gz scummvm-rg350-ae102a2b548fe831db4f31772656740d1a3042f7.tar.bz2 scummvm-rg350-ae102a2b548fe831db4f31772656740d1a3042f7.zip |
QUEEN: Add GUI option for alt-intro
Ideally, this should only be added to the CD version but I don't think
we provide any mechanism for telling the CD and floppy versions apart.
Diffstat (limited to 'engines')
-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; |