diff options
Diffstat (limited to 'engines/testbed/detection.cpp')
-rw-r--r-- | engines/testbed/detection.cpp | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/engines/testbed/detection.cpp b/engines/testbed/detection.cpp index 57a49122aa..317b9e7dbd 100644 --- a/engines/testbed/detection.cpp +++ b/engines/testbed/detection.cpp @@ -6,25 +6,24 @@ #include "engines/metaengine.h" -static const PlainGameDescriptor quux_setting[] = { - { "quux", "Quux the Example Module" }, - { "quuxcd", "Quux the Example Module (CD version)" }, +static const PlainGameDescriptor testbed_setting[] = { + { "testbed", "TestBed: The backend testing framework" }, { 0, 0 } }; -class QuuxMetaEngine : public MetaEngine { +class TestbedMetaEngine : public MetaEngine { public: virtual const char *getName() const { - return "Quux the Example Module"; + return "TestBed: The backend testing framework"; } virtual const char *getOriginalCopyright() const { - return "Copyright (C) Quux Entertainment Ltd."; + return "Copyright (C) ScummVM"; } virtual GameList getSupportedGames() const { GameList games; - const PlainGameDescriptor *g = quux_setting; + const PlainGameDescriptor *g = testbed_setting; while (g->gameid) { games.push_back(*g); g++; @@ -34,7 +33,7 @@ public: } virtual GameDescriptor findGame(const char *gameid) const { - const PlainGameDescriptor *g = quux_setting; + const PlainGameDescriptor *g = testbed_setting; while (g->gameid) { if (0 == scumm_stricmp(gameid, g->gameid)) break; @@ -53,7 +52,7 @@ public: if (0 == scumm_stricmp("README", gameName)) { // You could check the contents of the file now if you need to. - detectedGames.push_back(quux_setting[0]); + detectedGames.push_back(testbed_setting[0]); break; } } @@ -79,7 +78,7 @@ public: for (uint i = 0; i < detectedGames.size(); i++) { if (detectedGames[i].gameid() == gameid) { // At this point you may want to perform additional sanity checks. - *engine = new Quux::QuuxEngine(syst); + *engine = new Testbed::TestbedEngine(syst); return Common::kNoError; } } @@ -90,7 +89,7 @@ public: }; #if PLUGIN_ENABLED_DYNAMIC(TESTBED) - REGISTER_PLUGIN_DYNAMIC(TESTBED, PLUGIN_TYPE_ENGINE, QuuxMetaEngine); + REGISTER_PLUGIN_DYNAMIC(TESTBED, PLUGIN_TYPE_ENGINE, TestbedMetaEngine); #else - REGISTER_PLUGIN_STATIC(TESTBED, PLUGIN_TYPE_ENGINE, QuuxMetaEngine); + REGISTER_PLUGIN_STATIC(TESTBED, PLUGIN_TYPE_ENGINE, TestbedMetaEngine); #endif |