diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sky/detection.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/engines/sky/detection.cpp b/engines/sky/detection.cpp index 2b702e99ea..aaac1fce79 100644 --- a/engines/sky/detection.cpp +++ b/engines/sky/detection.cpp @@ -27,17 +27,26 @@ #include "common/config-manager.h" #include "engines/advancedDetector.h" +#include "engines/metaengine.h" #include "common/system.h" #include "common/file.h" #include "common/fs.h" #include "common/savefile.h" #include "common/textconsole.h" +#include "common/translation.h" #include "engines/metaengine.h" static const PlainGameDescriptor skySetting = {"sky", "Beneath a Steel Sky" }; +static const ExtraGuiOption skyExtraGuiOption = { + _s("Floppy intro"), + _s("Use the floppy verion's intro (CD version only)"), + "alt_intro", + false +}; + struct SkyVersion { int dinnerTableEntries; int dataDiskSize; @@ -68,6 +77,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; @@ -106,6 +116,12 @@ GameList SkyMetaEngine::getSupportedGames() const { return games; } +const ExtraGuiOptions SkyMetaEngine::getExtraGuiOptions(const Common::String &target) const { + ExtraGuiOptions options; + options.push_back(skyExtraGuiOption); + return options; +} + GameDescriptor SkyMetaEngine::findGame(const char *gameid) const { if (0 == scumm_stricmp(gameid, skySetting.gameid)) return skySetting; |