aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
diff options
context:
space:
mode:
authorEugene Sandulenko2007-01-29 23:25:51 +0000
committerEugene Sandulenko2007-01-29 23:25:51 +0000
commitadcfd2cc5f64157bd5135e5a90b29443036233f2 (patch)
tree1ee0bbc7c06e93a9c584892b2261322dd32779fa /engines/cine
parent7bb9b05f551b81f3c34dacf3bea80ae7fd726fbc (diff)
downloadscummvm-rg350-adcfd2cc5f64157bd5135e5a90b29443036233f2.tar.gz
scummvm-rg350-adcfd2cc5f64157bd5135e5a90b29443036233f2.tar.bz2
scummvm-rg350-adcfd2cc5f64157bd5135e5a90b29443036233f2.zip
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
Diffstat (limited to 'engines/cine')
-rw-r--r--engines/cine/detection.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/cine/detection.cpp b/engines/cine/detection.cpp
index d507fef484..c455322a85 100644
--- a/engines/cine/detection.cpp
+++ b/engines/cine/detection.cpp
@@ -48,11 +48,18 @@ static GameList GAME_detectGames(const FSList &fslist);
}
static const PlainGameDescriptor cineGames[] = {
+ {"cine", "Cinematique evo.1 engine game"},
{"fw", "Future Wars"},
{"os", "Operation Stealth"},
{0, 0}
};
+static const Common::ADObsoleteGameID obsoleteGameIDsTable[] = {
+ {"fw", "cine", Common::kPlatformUnknown},
+ {"os", "cine", Common::kPlatformUnknown},
+ {0, 0, Common::kPlatformUnknown}
+};
+
namespace Cine {
static const CINEGameDescription gameDescriptions[] = {
@@ -440,7 +447,7 @@ static const Common::ADParams detectionParams = {
// List of all engine targets
cineGames,
// Structure for autoupgrading obsolete targets
- 0,
+ obsoleteGameIDsTable,
// Name of single gameid (optional)
"cine",
// Flags