From adcfd2cc5f64157bd5135e5a90b29443036233f2 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 29 Jan 2007 23:25:51 +0000 Subject: Now AdvancedDetector could use single ID per engine. Also it can suggest more complex game IDs with platform and language specified. AGI engine benefits most from that. Also turned Cine, Parallaction and SAGA to single ID, autoupgrading old ID. svn-id: r25269 --- engines/saga/game.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'engines/saga') diff --git a/engines/saga/game.cpp b/engines/saga/game.cpp index 3c54e2df3f..f2c3ff0628 100644 --- a/engines/saga/game.cpp +++ b/engines/saga/game.cpp @@ -83,11 +83,18 @@ static GameList GAME_detectGames(const FSList &fslist); } static const PlainGameDescriptor sagaGames[] = { + {"saga", "SAGA Engine game"}, {"ite", "Inherit the Earth: Quest for the Orb"}, {"ihnm", "I Have No Mouth and I Must Scream"}, {0, 0} }; +static const Common::ADObsoleteGameID obsoleteGameIDsTable[] = { + {"ite", "saga", Common::kPlatformUnknown}, + {"ihnm", "saga", Common::kPlatformUnknown}, + {0, 0, Common::kPlatformUnknown} +}; + namespace Saga { #include "sagagame.cpp" @@ -104,7 +111,7 @@ static const Common::ADParams detectionParams = { // List of all engine targets sagaGames, // Structure for autoupgrading obsolete targets - 0, + obsoleteGameIDsTable, // Name of single gameid (optional) "saga", // Flags -- cgit v1.2.3