aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/access/detection.cpp4
-rw-r--r--engines/adl/detection.cpp4
-rw-r--r--engines/agi/detection.cpp5
-rw-r--r--engines/agos/detection.cpp4
-rw-r--r--engines/avalanche/detection.cpp4
-rw-r--r--engines/bbvs/detection.cpp4
-rw-r--r--engines/bladerunner/detection.cpp4
-rw-r--r--engines/cge/detection.cpp4
-rw-r--r--engines/cge2/detection.cpp4
-rw-r--r--engines/chewy/detection.cpp4
-rw-r--r--engines/cine/detection.cpp4
-rw-r--r--engines/composer/detection.cpp4
-rw-r--r--engines/cruise/detection.cpp4
-rw-r--r--engines/cryo/detection.cpp4
-rw-r--r--engines/cryomni3d/detection.cpp4
-rw-r--r--engines/director/detection.cpp4
-rw-r--r--engines/dm/detection.cpp4
-rw-r--r--engines/draci/detection.cpp4
-rw-r--r--engines/drascula/detection.cpp4
-rw-r--r--engines/dreamweb/detection.cpp4
-rw-r--r--engines/fullpipe/detection.cpp4
-rw-r--r--engines/glk/detection.h4
-rw-r--r--engines/gnap/detection.cpp4
-rw-r--r--engines/gob/detection/detection.cpp4
-rw-r--r--engines/groovie/detection.cpp4
-rw-r--r--engines/hdb/detection.cpp4
-rw-r--r--engines/hopkins/detection.cpp4
-rw-r--r--engines/hugo/detection.cpp4
-rw-r--r--engines/illusions/detection.cpp4
-rw-r--r--engines/kyra/detection.cpp5
-rw-r--r--engines/lab/detection.cpp4
-rw-r--r--engines/lastexpress/detection.cpp4
-rw-r--r--engines/lilliput/detection.cpp4
-rw-r--r--engines/lure/detection.cpp4
-rw-r--r--engines/macventure/detection.cpp11
-rw-r--r--engines/made/detection.cpp4
-rw-r--r--engines/mads/detection.cpp4
-rw-r--r--engines/mohawk/detection.cpp4
-rw-r--r--engines/mortevielle/detection.cpp5
-rw-r--r--engines/mutationofjb/detection.cpp4
-rw-r--r--engines/neverhood/detection.cpp4
-rw-r--r--engines/parallaction/detection.cpp4
-rw-r--r--engines/pegasus/detection.cpp4
-rw-r--r--engines/pink/detection.cpp4
-rw-r--r--engines/plumbers/detection.cpp4
-rw-r--r--engines/prince/detection.cpp8
-rw-r--r--engines/queen/detection.cpp4
-rw-r--r--engines/saga/detection.cpp4
-rw-r--r--engines/sci/detection.cpp4
-rw-r--r--engines/scumm/detection.cpp4
-rw-r--r--engines/sherlock/detection.cpp4
-rw-r--r--engines/sky/detection.cpp4
-rw-r--r--engines/sludge/detection.cpp4
-rw-r--r--engines/startrek/detection.cpp4
-rw-r--r--engines/supernova/detection.cpp4
-rw-r--r--engines/sword1/detection.cpp4
-rw-r--r--engines/sword2/sword2.cpp4
-rw-r--r--engines/sword25/detection.cpp5
-rw-r--r--engines/teenagent/detection.cpp4
-rw-r--r--engines/testbed/detection.cpp4
-rw-r--r--engines/tinsel/detection.cpp4
-rw-r--r--engines/titanic/detection.cpp4
-rw-r--r--engines/toltecs/detection.cpp4
-rw-r--r--engines/tony/detection.cpp4
-rw-r--r--engines/toon/detection.cpp4
-rw-r--r--engines/touche/detection.cpp4
-rw-r--r--engines/tsage/detection.cpp4
-rw-r--r--engines/tucker/detection.cpp4
-rw-r--r--engines/voyeur/detection.cpp4
-rw-r--r--engines/wage/detection.cpp5
-rw-r--r--engines/wintermute/detection.cpp5
-rw-r--r--engines/xeen/detection.cpp4
-rw-r--r--engines/zvision/detection.cpp4
73 files changed, 306 insertions, 3 deletions
diff --git a/engines/access/detection.cpp b/engines/access/detection.cpp
index 4e5ef84b06..bf944b7e04 100644
--- a/engines/access/detection.cpp
+++ b/engines/access/detection.cpp
@@ -89,6 +89,10 @@ public:
_maxScanDepth = 3;
}
+ virtual const char *getEngineId() const {
+ return "access";
+ }
+
virtual const char *getName() const {
return "Access";
}
diff --git a/engines/adl/detection.cpp b/engines/adl/detection.cpp
index d0a6a652da..649629094f 100644
--- a/engines/adl/detection.cpp
+++ b/engines/adl/detection.cpp
@@ -368,6 +368,10 @@ public:
return "ADL";
}
+ const char *getEngineId() const {
+ return "adl";
+ }
+
const char *getOriginalCopyright() const override {
return "Copyright (C) Sierra On-Line";
}
diff --git a/engines/agi/detection.cpp b/engines/agi/detection.cpp
index b442660045..eda6c18434 100644
--- a/engines/agi/detection.cpp
+++ b/engines/agi/detection.cpp
@@ -206,9 +206,14 @@ public:
_guiOptions = GUIO1(GUIO_NOSPEECH);
}
+ const char *getEngineId() const {
+ return "agi";
+ }
+
virtual const char *getName() const {
return "AGI preAGI + v2 + v3";
}
+
virtual const char *getOriginalCopyright() const {
return "Sierra AGI Engine (C) Sierra On-Line Software";
}
diff --git a/engines/agos/detection.cpp b/engines/agos/detection.cpp
index 1847434200..568e207854 100644
--- a/engines/agos/detection.cpp
+++ b/engines/agos/detection.cpp
@@ -103,6 +103,10 @@ public:
return Engines::findGameID(gameId, _gameIds, obsoleteGameIDsTable);
}
+ const char *getEngineId() const {
+ return "agos";
+ }
+
virtual const char *getName() const {
return "AGOS";
}
diff --git a/engines/avalanche/detection.cpp b/engines/avalanche/detection.cpp
index d6f59a68fc..4eefe57838 100644
--- a/engines/avalanche/detection.cpp
+++ b/engines/avalanche/detection.cpp
@@ -78,6 +78,10 @@ public:
AvalancheMetaEngine() : AdvancedMetaEngine(gameDescriptions, sizeof(AvalancheGameDescription), avalancheGames) {
}
+ const char *getEngineId() const {
+ return "avalanche";
+ }
+
const char *getName() const {
return "Avalanche";
}
diff --git a/engines/bbvs/detection.cpp b/engines/bbvs/detection.cpp
index 9b072c0f4e..6966719b7e 100644
--- a/engines/bbvs/detection.cpp
+++ b/engines/bbvs/detection.cpp
@@ -74,6 +74,10 @@ public:
_directoryGlobs = directoryGlobs;
}
+ const char *getEngineId() const {
+ return "bbvs";
+ }
+
virtual const char *getName() const {
return "MTV's Beavis and Butt-head in Virtual Stupidity";
}
diff --git a/engines/bladerunner/detection.cpp b/engines/bladerunner/detection.cpp
index 26772e2b48..4576ae65d8 100644
--- a/engines/bladerunner/detection.cpp
+++ b/engines/bladerunner/detection.cpp
@@ -78,6 +78,7 @@ class BladeRunnerMetaEngine : public AdvancedMetaEngine {
public:
BladeRunnerMetaEngine();
+ const char *getEngineId() const;
const char *getName() const override;
const char *getOriginalCopyright() const override;
bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const override;
@@ -95,6 +96,9 @@ BladeRunnerMetaEngine::BladeRunnerMetaEngine()
BladeRunner::bladeRunnerGames,
BladeRunner::optionsList) {}
+const char *BladeRunnerMetaEngine::getEngineId() const {
+ return "bladerunner";
+}
const char *BladeRunnerMetaEngine::getName() const {
return "Blade Runner";
diff --git a/engines/cge/detection.cpp b/engines/cge/detection.cpp
index f6399d484c..8277b091bb 100644
--- a/engines/cge/detection.cpp
+++ b/engines/cge/detection.cpp
@@ -118,6 +118,10 @@ public:
_singleId = "soltys";
}
+ const char *getEngineId() const {
+ return "cge";
+ }
+
virtual const char *getName() const {
return "CGE";
}
diff --git a/engines/cge2/detection.cpp b/engines/cge2/detection.cpp
index ec6925ac74..cc4fd711b1 100644
--- a/engines/cge2/detection.cpp
+++ b/engines/cge2/detection.cpp
@@ -124,6 +124,10 @@ public:
_singleId = "sfinx";
}
+ const char *getEngineId() const {
+ return "cge2";
+ }
+
virtual const char *getName() const {
return "CGE2";
}
diff --git a/engines/chewy/detection.cpp b/engines/chewy/detection.cpp
index 75176c940a..1374799ed5 100644
--- a/engines/chewy/detection.cpp
+++ b/engines/chewy/detection.cpp
@@ -118,6 +118,10 @@ public:
_singleId = "chewy";
}
+ const char *getEngineId() const {
+ return "chewy";
+ }
+
virtual const char *getName() const {
return "Chewy: Esc from F5";
}
diff --git a/engines/cine/detection.cpp b/engines/cine/detection.cpp
index a41bc47bb0..441ec0d197 100644
--- a/engines/cine/detection.cpp
+++ b/engines/cine/detection.cpp
@@ -88,6 +88,10 @@ public:
return Engines::findGameID(gameId, _gameIds, obsoleteGameIDsTable);
}
+ const char *getEngineId() const {
+ return "cine";
+ }
+
virtual const char *getName() const {
return "Cinematique evo 1";
}
diff --git a/engines/composer/detection.cpp b/engines/composer/detection.cpp
index 4ab0825167..8f4bab182d 100644
--- a/engines/composer/detection.cpp
+++ b/engines/composer/detection.cpp
@@ -485,6 +485,10 @@ public:
_directoryGlobs = directoryGlobs;
}
+ const char *getEngineId() const {
+ return "composer";
+ }
+
virtual const char *getName() const {
return "Magic Composer";
}
diff --git a/engines/cruise/detection.cpp b/engines/cruise/detection.cpp
index 4f63fd28e5..f75df975a1 100644
--- a/engines/cruise/detection.cpp
+++ b/engines/cruise/detection.cpp
@@ -200,6 +200,10 @@ public:
_guiOptions = GUIO2(GUIO_NOSPEECH, GUIO_NOMIDI);
}
+ const char *getEngineId() const {
+ return "cruise";
+ }
+
virtual const char *getName() const {
return "Cinematique evo 2";
}
diff --git a/engines/cryo/detection.cpp b/engines/cryo/detection.cpp
index 4c189b9413..b269d06be6 100644
--- a/engines/cryo/detection.cpp
+++ b/engines/cryo/detection.cpp
@@ -136,6 +136,10 @@ public:
_singleId = "losteden";
}
+ const char *getEngineId() const {
+ return "cryo";
+ }
+
virtual const char *getName() const {
return "Cryo";
}
diff --git a/engines/cryomni3d/detection.cpp b/engines/cryomni3d/detection.cpp
index 6095185716..9cb5a67357 100644
--- a/engines/cryomni3d/detection.cpp
+++ b/engines/cryomni3d/detection.cpp
@@ -129,6 +129,10 @@ public:
return detectGameFilebased(allFiles, fslist, CryOmni3D::fileBased);
}
+ const char *getEngineId() const {
+ return "cryomni3d";
+ }
+
virtual const char *getName() const {
return "Cryo Omni3D";
}
diff --git a/engines/director/detection.cpp b/engines/director/detection.cpp
index 9d293846bc..6634fc406c 100644
--- a/engines/director/detection.cpp
+++ b/engines/director/detection.cpp
@@ -104,6 +104,10 @@ public:
_directoryGlobs = directoryGlobs;
}
+ virtual const char *getEngineId() const {
+ return "director";
+ }
+
virtual const char *getName() const {
return "Macromedia Director";
}
diff --git a/engines/dm/detection.cpp b/engines/dm/detection.cpp
index 8f7c439066..8b745bb910 100644
--- a/engines/dm/detection.cpp
+++ b/engines/dm/detection.cpp
@@ -101,6 +101,10 @@ public:
_singleId = "dm";
}
+ virtual const char *getEngineId() const {
+ return "dm";
+ }
+
virtual const char *getName() const {
return "Dungeon Master";
}
diff --git a/engines/draci/detection.cpp b/engines/draci/detection.cpp
index 63cd8a2c2b..8fd62cc665 100644
--- a/engines/draci/detection.cpp
+++ b/engines/draci/detection.cpp
@@ -87,6 +87,10 @@ public:
_singleId = "draci";
}
+ const char *getEngineId() const {
+ return "draci";
+ }
+
virtual const char *getName() const {
return "Draci Historie";
}
diff --git a/engines/drascula/detection.cpp b/engines/drascula/detection.cpp
index 56e1b35c73..3c671472f3 100644
--- a/engines/drascula/detection.cpp
+++ b/engines/drascula/detection.cpp
@@ -343,6 +343,10 @@ public:
_guiOptions = GUIO1(GUIO_NOMIDI);
}
+ const char *getEngineId() const {
+ return "drascula";
+ }
+
virtual const char *getName() const {
return "Drascula: The Vampire Strikes Back";
}
diff --git a/engines/dreamweb/detection.cpp b/engines/dreamweb/detection.cpp
index ddaccc7f1e..bbb7077351 100644
--- a/engines/dreamweb/detection.cpp
+++ b/engines/dreamweb/detection.cpp
@@ -75,6 +75,10 @@ public:
_guiOptions = GUIO1(GUIO_NOMIDI);
}
+ const char *getEngineId() const {
+ return "dreamweb";
+ }
+
virtual const char *getName() const {
return "DreamWeb";
}
diff --git a/engines/fullpipe/detection.cpp b/engines/fullpipe/detection.cpp
index 358d3c638b..a76b47322b 100644
--- a/engines/fullpipe/detection.cpp
+++ b/engines/fullpipe/detection.cpp
@@ -133,6 +133,10 @@ public:
_singleId = "fullpipe";
}
+ const char *getEngineId() const {
+ return "fullpipe";
+ }
+
virtual const char *getName() const {
return "Full Pipe";
}
diff --git a/engines/glk/detection.h b/engines/glk/detection.h
index 2a63c597c8..2e1a8c5ce9 100644
--- a/engines/glk/detection.h
+++ b/engines/glk/detection.h
@@ -41,6 +41,10 @@ public:
return "Glk";
}
+ const char *getEngineId() const {
+ return "glk";
+ }
+
virtual const char *getOriginalCopyright() const {
return "Infocom games (C) Infocom\nScott Adams games (C) Scott Adams";
}
diff --git a/engines/gnap/detection.cpp b/engines/gnap/detection.cpp
index 97c9128002..f792fe5169 100644
--- a/engines/gnap/detection.cpp
+++ b/engines/gnap/detection.cpp
@@ -82,6 +82,10 @@ public:
_maxScanDepth = 3;
}
+ virtual const char *getEngineId() const {
+ return "gnap";
+ }
+
virtual const char *getName() const {
return "Gnap";
}
diff --git a/engines/gob/detection/detection.cpp b/engines/gob/detection/detection.cpp
index 70fea401f2..2a5196173c 100644
--- a/engines/gob/detection/detection.cpp
+++ b/engines/gob/detection/detection.cpp
@@ -35,6 +35,10 @@ public:
PlainGameDescriptor findGame(const char *gameId) const override;
+ const char *getEngineId() const {
+ return "gob";
+ }
+
ADDetectedGame fallbackDetect(const FileMap &allFiles, const Common::FSList &fslist) const override;
virtual const char *getName() const;
diff --git a/engines/groovie/detection.cpp b/engines/groovie/detection.cpp
index 17e0569342..0aa06ded47 100644
--- a/engines/groovie/detection.cpp
+++ b/engines/groovie/detection.cpp
@@ -351,6 +351,10 @@ public:
_directoryGlobs = directoryGlobs;
}
+ const char *getEngineId() const {
+ return "groovie";
+ }
+
const char *getName() const {
return "Groovie";
}
diff --git a/engines/hdb/detection.cpp b/engines/hdb/detection.cpp
index 60b0db0c23..4cb7b03bc6 100644
--- a/engines/hdb/detection.cpp
+++ b/engines/hdb/detection.cpp
@@ -170,6 +170,10 @@ public:
_singleId = "hdb";
}
+ const char *getEngineId() const {
+ return "hdb";
+ }
+
virtual const char *getName() const {
return "Hyperspace Delivery Boy!";
}
diff --git a/engines/hopkins/detection.cpp b/engines/hopkins/detection.cpp
index d9e11f9c25..4f6039bb2a 100644
--- a/engines/hopkins/detection.cpp
+++ b/engines/hopkins/detection.cpp
@@ -106,6 +106,10 @@ public:
_directoryGlobs = directoryGlobs;
}
+ virtual const char *getEngineId() const {
+ return "hopkins";
+ }
+
virtual const char *getName() const {
return "Hopkins FBI";
}
diff --git a/engines/hugo/detection.cpp b/engines/hugo/detection.cpp
index 6d2fec5421..88911cdba1 100644
--- a/engines/hugo/detection.cpp
+++ b/engines/hugo/detection.cpp
@@ -136,6 +136,10 @@ public:
HugoMetaEngine() : AdvancedMetaEngine(gameDescriptions, sizeof(HugoGameDescription), hugoGames) {
}
+ const char *getEngineId() const {
+ return "hugo";
+ }
+
const char *getName() const {
return "Hugo";
}
diff --git a/engines/illusions/detection.cpp b/engines/illusions/detection.cpp
index 024dea2641..18c50182a8 100644
--- a/engines/illusions/detection.cpp
+++ b/engines/illusions/detection.cpp
@@ -120,6 +120,10 @@ public:
_directoryGlobs = directoryGlobs;
}
+ const char *getEngineId() const {
+ return "illusions";
+ }
+
virtual const char *getName() const {
return "Illusions";
}
diff --git a/engines/kyra/detection.cpp b/engines/kyra/detection.cpp
index 75d608d6f9..8f37d29246 100644
--- a/engines/kyra/detection.cpp
+++ b/engines/kyra/detection.cpp
@@ -156,6 +156,11 @@ public:
_maxScanDepth = 2;
_directoryGlobs = directoryGlobs;
}
+
+ const char *getEngineId() const {
+ return "kyra";
+ }
+
const char *getName() const {
return "Kyra";
}
diff --git a/engines/lab/detection.cpp b/engines/lab/detection.cpp
index 6e4c902374..009bd5cdf7 100644
--- a/engines/lab/detection.cpp
+++ b/engines/lab/detection.cpp
@@ -122,6 +122,10 @@ public:
_flags = kADFlagUseExtraAsHint;
}
+ const char *getEngineId() const {
+ return "lab";
+ }
+
virtual const char *getName() const {
return "Labyrinth of Time";
}
diff --git a/engines/lastexpress/detection.cpp b/engines/lastexpress/detection.cpp
index 608fe9bd36..3e6aa3a17b 100644
--- a/engines/lastexpress/detection.cpp
+++ b/engines/lastexpress/detection.cpp
@@ -231,6 +231,10 @@ public:
_guiOptions = GUIO2(GUIO_NOSUBTITLES, GUIO_NOSFX);
}
+ const char *getEngineId() const {
+ return "lastexpress";
+ }
+
const char *getName() const {
return "The Last Express";
}
diff --git a/engines/lilliput/detection.cpp b/engines/lilliput/detection.cpp
index eef513eb9e..6ecb8f9f9c 100644
--- a/engines/lilliput/detection.cpp
+++ b/engines/lilliput/detection.cpp
@@ -126,6 +126,10 @@ public:
LilliputMetaEngine() : AdvancedMetaEngine(gameDescriptions, sizeof(LilliputGameDescription), lilliputGames) {
}
+ const char *getEngineId() const {
+ return "lilliput";
+ }
+
const char *getName() const {
return "Lilliput";
}
diff --git a/engines/lure/detection.cpp b/engines/lure/detection.cpp
index ae9e2b0cf9..b9473b2f3c 100644
--- a/engines/lure/detection.cpp
+++ b/engines/lure/detection.cpp
@@ -215,6 +215,10 @@ public:
_guiOptions = GUIO1(GUIO_NOSPEECH);
}
+ const char *getEngineId() const {
+ return "lure";
+ }
+
virtual const char *getName() const {
return "Lure of the Temptress";
}
diff --git a/engines/macventure/detection.cpp b/engines/macventure/detection.cpp
index 007c59922b..5c419e8934 100644
--- a/engines/macventure/detection.cpp
+++ b/engines/macventure/detection.cpp
@@ -66,7 +66,16 @@ public:
const char *getName() const {
return "MacVenture";
}
- const char *getOriginalCopyright() const {
+
+ const char *getEngineId() const override {
+ return "macventure";
+ }
+
+ const char *getName() const override {
+ return "MacVenture";
+ }
+
+ const char *getOriginalCopyright() const override {
return "(C) ICOM Simulations";
}
diff --git a/engines/made/detection.cpp b/engines/made/detection.cpp
index 26a948407f..71e2de62b5 100644
--- a/engines/made/detection.cpp
+++ b/engines/made/detection.cpp
@@ -60,6 +60,10 @@ public:
_singleId = "made";
}
+ const char *getEngineId() const {
+ return "made";
+ }
+
virtual const char *getName() const {
return "MADE";
}
diff --git a/engines/mads/detection.cpp b/engines/mads/detection.cpp
index b729bdfb95..77df3a0e9d 100644
--- a/engines/mads/detection.cpp
+++ b/engines/mads/detection.cpp
@@ -144,6 +144,10 @@ public:
_maxScanDepth = 3;
}
+ virtual const char *getEngineId() const {
+ return "mads";
+ }
+
virtual const char *getName() const {
return "MADS";
}
diff --git a/engines/mohawk/detection.cpp b/engines/mohawk/detection.cpp
index 075e7d233e..278cce2878 100644
--- a/engines/mohawk/detection.cpp
+++ b/engines/mohawk/detection.cpp
@@ -205,6 +205,10 @@ public:
return detectGameFilebased(allFiles, fslist, Mohawk::fileBased);
}
+ const char *getEngineId() const {
+ return "mohawk";
+ }
+
const char *getName() const override {
return "Mohawk";
}
diff --git a/engines/mortevielle/detection.cpp b/engines/mortevielle/detection.cpp
index c4a4841ee2..fc1acff29d 100644
--- a/engines/mortevielle/detection.cpp
+++ b/engines/mortevielle/detection.cpp
@@ -60,6 +60,11 @@ public:
// (i.e. use or not of the game data file).
_flags = kADFlagUseExtraAsHint;
}
+
+ const char *getEngineId() const {
+ return "mortevielle";
+ }
+
virtual const char *getName() const {
return "Mortville Manor";
}
diff --git a/engines/mutationofjb/detection.cpp b/engines/mutationofjb/detection.cpp
index c528c726e3..7dd523b31f 100644
--- a/engines/mutationofjb/detection.cpp
+++ b/engines/mutationofjb/detection.cpp
@@ -92,6 +92,10 @@ public:
_directoryGlobs = mutationofjbDirectoryGlobs;
}
+ const char *getEngineId() const {
+ return "mutationofjb";
+ }
+
virtual const char *getName() const override {
return "Mutation of J.B.";
}
diff --git a/engines/neverhood/detection.cpp b/engines/neverhood/detection.cpp
index 0054301a63..dcaf6536c7 100644
--- a/engines/neverhood/detection.cpp
+++ b/engines/neverhood/detection.cpp
@@ -202,6 +202,10 @@ public:
_guiOptions = GUIO2(GUIO_NOSUBTITLES, GUIO_NOMIDI);
}
+ const char *getEngineId() const {
+ return "neverhood";
+ }
+
virtual const char *getName() const {
return "The Neverhood Chronicles";
}
diff --git a/engines/parallaction/detection.cpp b/engines/parallaction/detection.cpp
index 4c52990874..f4dcc16dd7 100644
--- a/engines/parallaction/detection.cpp
+++ b/engines/parallaction/detection.cpp
@@ -223,6 +223,10 @@ public:
_guiOptions = GUIO1(GUIO_NOLAUNCHLOAD);
}
+ virtual const char *getEngineId() const {
+ return "parallaction";
+ }
+
virtual const char *getName() const {
return "Parallaction";
}
diff --git a/engines/pegasus/detection.cpp b/engines/pegasus/detection.cpp
index 64240af9c6..fbacf09e33 100644
--- a/engines/pegasus/detection.cpp
+++ b/engines/pegasus/detection.cpp
@@ -138,6 +138,10 @@ public:
_singleId = "pegasus";
}
+ virtual const char *getEngineId() const {
+ return "pegasus";
+ }
+
virtual const char *getName() const {
return "The Journeyman Project: Pegasus Prime";
}
diff --git a/engines/pink/detection.cpp b/engines/pink/detection.cpp
index a25fd26cd7..c57c81b51d 100644
--- a/engines/pink/detection.cpp
+++ b/engines/pink/detection.cpp
@@ -56,6 +56,10 @@ public:
_directoryGlobs = directoryGlobs;
}
+ virtual const char *getEngineId() const {
+ return "pink";
+ }
+
virtual const char *getName() const {
return "Pink Panther";
}
diff --git a/engines/plumbers/detection.cpp b/engines/plumbers/detection.cpp
index 7f8e350465..6a5e81f270 100644
--- a/engines/plumbers/detection.cpp
+++ b/engines/plumbers/detection.cpp
@@ -76,6 +76,10 @@ public:
_singleId = "plumbers";
}
+ const char *getEngineId() const {
+ return "plumbers";
+ }
+
virtual const char *getName() const {
return "Plumbers Don't Wear Ties";
}
diff --git a/engines/prince/detection.cpp b/engines/prince/detection.cpp
index 2d1cc30647..400c2dae88 100644
--- a/engines/prince/detection.cpp
+++ b/engines/prince/detection.cpp
@@ -153,10 +153,14 @@ public:
_directoryGlobs = directoryGlobs;
}
- virtual const char *getName() const {
- return "The Prince and the Coward";
+ const char *getEngineId() const {
+ return "prince";
}
+ virtual const char *getName() const {
+ return "The Prince and the Coward";
+ }
+
virtual const char *getOriginalCopyright() const {
return "The Prince and the Coward (C) 1996-97 Metropolis";
}
diff --git a/engines/queen/detection.cpp b/engines/queen/detection.cpp
index 447dfd956a..ed8f3dd803 100644
--- a/engines/queen/detection.cpp
+++ b/engines/queen/detection.cpp
@@ -485,6 +485,10 @@ public:
_singleId = "queen";
}
+ const char *getEngineId() const {
+ return "queen";
+ }
+
virtual const char *getName() const {
return "Flight of the Amazon Queen";
}
diff --git a/engines/saga/detection.cpp b/engines/saga/detection.cpp
index 8b5893c808..713756539b 100644
--- a/engines/saga/detection.cpp
+++ b/engines/saga/detection.cpp
@@ -109,6 +109,10 @@ public:
return Engines::findGameID(gameId, _gameIds, obsoleteGameIDsTable);
}
+ const char *getEngineId() const {
+ return "saga";
+ }
+
virtual const char *getName() const {
return "SAGA ["
diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp
index 5d11d105d4..8e766c89a5 100644
--- a/engines/sci/detection.cpp
+++ b/engines/sci/detection.cpp
@@ -564,6 +564,10 @@ public:
_matchFullPaths = true;
}
+ const char *getEngineId() const {
+ return "sci";
+ }
+
virtual const char *getName() const {
return "SCI ["
#ifdef ENABLE_SCI32
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index a5bba29ff9..adfc7a3449 100644
--- a/engines/scumm/detection.cpp
+++ b/engines/scumm/detection.cpp
@@ -964,6 +964,10 @@ using namespace Scumm;
class ScummMetaEngine : public MetaEngine {
public:
+ virtual const char *getEngineId() const {
+ return "scumm";
+ }
+
virtual const char *getName() const;
virtual const char *getOriginalCopyright() const;
diff --git a/engines/sherlock/detection.cpp b/engines/sherlock/detection.cpp
index ff253a15df..e886bfcbe2 100644
--- a/engines/sherlock/detection.cpp
+++ b/engines/sherlock/detection.cpp
@@ -136,6 +136,10 @@ public:
SherlockMetaEngine() : AdvancedMetaEngine(Sherlock::gameDescriptions, sizeof(Sherlock::SherlockGameDescription),
sherlockGames, optionsList) {}
+ virtual const char *getEngineId() const {
+ return "sherlock";
+ }
+
virtual const char *getName() const {
return "Sherlock";
}
diff --git a/engines/sky/detection.cpp b/engines/sky/detection.cpp
index 0febe9ec5a..1934d84dfa 100644
--- a/engines/sky/detection.cpp
+++ b/engines/sky/detection.cpp
@@ -75,6 +75,10 @@ public:
virtual const char *getName() const;
virtual const char *getOriginalCopyright() const;
+ const char *getEngineId() const {
+ return "sky";
+ }
+
virtual bool hasFeature(MetaEngineFeature f) const;
PlainGameList getSupportedGames() const override;
virtual const ExtraGuiOptions getExtraGuiOptions(const Common::String &target) const;
diff --git a/engines/sludge/detection.cpp b/engines/sludge/detection.cpp
index 876614ead0..1f005ea9e2 100644
--- a/engines/sludge/detection.cpp
+++ b/engines/sludge/detection.cpp
@@ -83,6 +83,10 @@ public:
_maxScanDepth = 1;
}
+ const char *getEngineId() const {
+ return "sludge";
+ }
+
virtual const char *getName() const {
return "Sludge";
}
diff --git a/engines/startrek/detection.cpp b/engines/startrek/detection.cpp
index 2994e60dbe..7d47d5ed1a 100644
--- a/engines/startrek/detection.cpp
+++ b/engines/startrek/detection.cpp
@@ -324,6 +324,10 @@ public:
_singleId = "startrek";
}
+ const char *getEngineId() const {
+ return "startrek";
+ }
+
virtual const char *getName() const {
return "Star Trek";
}
diff --git a/engines/supernova/detection.cpp b/engines/supernova/detection.cpp
index 4041543d05..f225601c5c 100644
--- a/engines/supernova/detection.cpp
+++ b/engines/supernova/detection.cpp
@@ -103,6 +103,10 @@ public:
// _singleId = "supernova";
}
+ const char *getEngineId() const {
+ return "supernova";
+ }
+
virtual const char *getName() const {
return "Mission Supernova";
}
diff --git a/engines/sword1/detection.cpp b/engines/sword1/detection.cpp
index 2e52588475..a02b02b437 100644
--- a/engines/sword1/detection.cpp
+++ b/engines/sword1/detection.cpp
@@ -79,6 +79,10 @@ static const char *const g_filesToCheck[NUM_FILES_TO_CHECK] = { // these files h
class SwordMetaEngine : public MetaEngine {
public:
+ virtual const char *getEngineId() const {
+ return "sword1";
+ }
+
virtual const char *getName() const {
return "Broken Sword: The Shadow of the Templars";
}
diff --git a/engines/sword2/sword2.cpp b/engines/sword2/sword2.cpp
index 453efb4894..4e67f0d65d 100644
--- a/engines/sword2/sword2.cpp
+++ b/engines/sword2/sword2.cpp
@@ -84,6 +84,10 @@ static const ExtraGuiOption sword2ExtraGuiOption = {
class Sword2MetaEngine : public MetaEngine {
public:
+ virtual const char *getEngineId() const {
+ return "sword2";
+ }
+
virtual const char *getName() const {
return "Broken Sword II: The Smoking Mirror";
}
diff --git a/engines/sword25/detection.cpp b/engines/sword25/detection.cpp
index 2c91961242..44e3f34708 100644
--- a/engines/sword25/detection.cpp
+++ b/engines/sword25/detection.cpp
@@ -56,6 +56,11 @@ public:
_maxScanDepth = 2;
_directoryGlobs = directoryGlobs;
}
+
+ const char *getEngineId() const {
+ return "sword25";
+ }
+
virtual const char *getName() const {
return "Broken Sword 2.5";
}
diff --git a/engines/teenagent/detection.cpp b/engines/teenagent/detection.cpp
index d73068e5d9..5601f48915 100644
--- a/engines/teenagent/detection.cpp
+++ b/engines/teenagent/detection.cpp
@@ -91,6 +91,10 @@ public:
_singleId = "teenagent";
}
+ const char *getEngineId() const {
+ return "teenagent";
+ }
+
virtual const char *getName() const {
return "TeenAgent";
}
diff --git a/engines/testbed/detection.cpp b/engines/testbed/detection.cpp
index 7aff7a1805..86199ae2e7 100644
--- a/engines/testbed/detection.cpp
+++ b/engines/testbed/detection.cpp
@@ -52,6 +52,10 @@ public:
_singleId = "testbed";
}
+ const char *getEngineId() const {
+ return "testbed";
+ }
+
virtual const char *getName() const {
return "TestBed: The Backend Testing Framework";
}
diff --git a/engines/tinsel/detection.cpp b/engines/tinsel/detection.cpp
index a68ce0b8bd..408247b03e 100644
--- a/engines/tinsel/detection.cpp
+++ b/engines/tinsel/detection.cpp
@@ -88,6 +88,10 @@ public:
_singleId = "tinsel";
}
+ const char *getEngineId() const {
+ return "tinsel";
+ }
+
virtual const char *getName() const {
return "Tinsel";
}
diff --git a/engines/titanic/detection.cpp b/engines/titanic/detection.cpp
index ecb90c96f6..e4e8f5ac9a 100644
--- a/engines/titanic/detection.cpp
+++ b/engines/titanic/detection.cpp
@@ -62,6 +62,10 @@ public:
_maxScanDepth = 3;
}
+ virtual const char *getEngineId() const {
+ return "titanic";
+ }
+
virtual const char *getName() const {
return "Starship Titanic";
}
diff --git a/engines/toltecs/detection.cpp b/engines/toltecs/detection.cpp
index a2a28e8031..d372c30f3f 100644
--- a/engines/toltecs/detection.cpp
+++ b/engines/toltecs/detection.cpp
@@ -223,6 +223,10 @@ public:
_singleId = "toltecs";
}
+ const char *getEngineId() const {
+ return "toltecs";
+ }
+
virtual const char *getName() const {
return "3 Skulls of the Toltecs";
}
diff --git a/engines/tony/detection.cpp b/engines/tony/detection.cpp
index 5cc592ad24..62e6a17897 100644
--- a/engines/tony/detection.cpp
+++ b/engines/tony/detection.cpp
@@ -71,6 +71,10 @@ public:
TonyMetaEngine() : AdvancedMetaEngine(Tony::gameDescriptions, sizeof(Tony::TonyGameDescription), tonyGames) {
}
+ virtual const char *getEngineId() const {
+ return "tony";
+ }
+
virtual const char *getName() const {
return "Tony Tough and the Night of Roasted Moths";
}
diff --git a/engines/toon/detection.cpp b/engines/toon/detection.cpp
index da414ae6db..ece06dfe69 100644
--- a/engines/toon/detection.cpp
+++ b/engines/toon/detection.cpp
@@ -146,6 +146,10 @@ public:
return detectGameFilebased(allFiles, fslist, Toon::fileBasedFallback);
}
+ const char *getEngineId() const {
+ return "toon";
+ }
+
virtual const char *getName() const {
return "Toonstruck";
}
diff --git a/engines/touche/detection.cpp b/engines/touche/detection.cpp
index c9c596eb17..1d9625980d 100644
--- a/engines/touche/detection.cpp
+++ b/engines/touche/detection.cpp
@@ -137,6 +137,10 @@ public:
return detectGameFilebased(allFiles, fslist, Touche::fileBasedFallback);
}
+ const char *getEngineId() const {
+ return "touche";
+ }
+
virtual const char *getName() const {
return "Touche: The Adventures of the Fifth Musketeer";
}
diff --git a/engines/tsage/detection.cpp b/engines/tsage/detection.cpp
index 5d31cca75e..f10b9329e8 100644
--- a/engines/tsage/detection.cpp
+++ b/engines/tsage/detection.cpp
@@ -78,6 +78,10 @@ public:
_singleId = "tsage";
}
+ const char *getEngineId() const {
+ return "tsage";
+ }
+
virtual const char *getName() const {
return "TsAGE";
}
diff --git a/engines/tucker/detection.cpp b/engines/tucker/detection.cpp
index 36574b8a1a..39ecf156f8 100644
--- a/engines/tucker/detection.cpp
+++ b/engines/tucker/detection.cpp
@@ -128,6 +128,10 @@ public:
_singleId = "tucker";
}
+ const char *getEngineId() const {
+ return "tucker";
+ }
+
virtual const char *getName() const {
return "Bud Tucker in Double Trouble";
}
diff --git a/engines/voyeur/detection.cpp b/engines/voyeur/detection.cpp
index 4a51b55408..287dbfe97c 100644
--- a/engines/voyeur/detection.cpp
+++ b/engines/voyeur/detection.cpp
@@ -70,6 +70,10 @@ public:
_maxScanDepth = 3;
}
+ virtual const char *getEngineId() const {
+ return "voyeur";
+ }
+
virtual const char *getName() const {
return "Voyeur";
}
diff --git a/engines/wage/detection.cpp b/engines/wage/detection.cpp
index 6f09fc7c9e..75bfa963d1 100644
--- a/engines/wage/detection.cpp
+++ b/engines/wage/detection.cpp
@@ -59,6 +59,11 @@ public:
_guiOptions = GUIO2(GUIO_NOSPEECH, GUIO_NOMIDI);
}
+ virtual const char *getEngineId() const {
+ return "wage";
+ }
+
+
virtual const char *getName() const {
return "World Adventure Game Engine";
}
diff --git a/engines/wintermute/detection.cpp b/engines/wintermute/detection.cpp
index 0709b9ac13..6f3be398cc 100644
--- a/engines/wintermute/detection.cpp
+++ b/engines/wintermute/detection.cpp
@@ -93,6 +93,11 @@ public:
_maxScanDepth = 2;
_directoryGlobs = directoryGlobs;
}
+
+ const char *getEngineId() const {
+ return "wintermute";
+ }
+
virtual const char *getName() const {
return "Wintermute";
}
diff --git a/engines/xeen/detection.cpp b/engines/xeen/detection.cpp
index 315b169655..3a19172fbc 100644
--- a/engines/xeen/detection.cpp
+++ b/engines/xeen/detection.cpp
@@ -121,6 +121,10 @@ public:
_maxScanDepth = 3;
}
+ virtual const char *getEngineId() const {
+ return "xeen";
+ }
+
virtual const char *getName() const {
return "Xeen";
}
diff --git a/engines/zvision/detection.cpp b/engines/zvision/detection.cpp
index f14263f012..50e5f9a404 100644
--- a/engines/zvision/detection.cpp
+++ b/engines/zvision/detection.cpp
@@ -64,6 +64,10 @@ public:
_singleId = "zvision";
}
+ const char *getEngineId() const {
+ return "zvision";
+ }
+
virtual const char *getName() const {
return "Z-Vision";
}