diff options
author | Bastien Bouclet | 2016-09-15 18:34:15 +0200 |
---|---|---|
committer | Bastien Bouclet | 2019-11-03 11:43:00 +0100 |
commit | 9c8bd056d6d597a10f7f653b559dc34cd2bd2be9 (patch) | |
tree | b38576232baefa4c4310498ca7df184fff8d12c1 /engines/cine | |
parent | 4b42112721a3a12ee10652f2c1dfcd227ab140b3 (diff) | |
download | scummvm-rg350-9c8bd056d6d597a10f7f653b559dc34cd2bd2be9.tar.gz scummvm-rg350-9c8bd056d6d597a10f7f653b559dc34cd2bd2be9.tar.bz2 scummvm-rg350-9c8bd056d6d597a10f7f653b559dc34cd2bd2be9.zip |
ENGINES: Stop using 'single id'
Diffstat (limited to 'engines/cine')
-rw-r--r-- | engines/cine/detection.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/engines/cine/detection.cpp b/engines/cine/detection.cpp index 441ec0d197..55e76c6863 100644 --- a/engines/cine/detection.cpp +++ b/engines/cine/detection.cpp @@ -23,7 +23,6 @@ #include "base/plugins.h" #include "engines/advancedDetector.h" -#include "engines/obsolete.h" #include "common/system.h" #include "common/textconsole.h" @@ -49,18 +48,11 @@ Common::Platform CineEngine::getPlatform() const { return _gameDescription->desc } // End of namespace Cine static const PlainGameDescriptor cineGames[] = { - {"cine", "Cinematique evo.1 engine game"}, {"fw", "Future Wars"}, {"os", "Operation Stealth"}, {0, 0} }; -static const Engines::ObsoleteGameID obsoleteGameIDsTable[] = { - {"fw", "cine", Common::kPlatformUnknown}, - {"os", "cine", Common::kPlatformUnknown}, - {0, 0, Common::kPlatformUnknown} -}; - #include "cine/detection_tables.h" static const ADExtraGuiOptionsMap optionsList[] = { @@ -80,14 +72,9 @@ static const ADExtraGuiOptionsMap optionsList[] = { class CineMetaEngine : public AdvancedMetaEngine { public: CineMetaEngine() : AdvancedMetaEngine(Cine::gameDescriptions, sizeof(Cine::CINEGameDescription), cineGames, optionsList) { - _singleId = "cine"; _guiOptions = GUIO2(GUIO_NOSPEECH, GAMEOPTION_ORIGINAL_SAVELOAD); } - PlainGameDescriptor findGame(const char *gameId) const override { - return Engines::findGameID(gameId, _gameIds, obsoleteGameIDsTable); - } - const char *getEngineId() const { return "cine"; } @@ -101,7 +88,6 @@ public: } virtual Common::Error createInstance(OSystem *syst, Engine **engine) const { - Engines::upgradeTargetIfNecessary(obsoleteGameIDsTable); return AdvancedMetaEngine::createInstance(syst, engine); } virtual bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const; |