diff options
author | Max Horn | 2007-02-13 14:55:11 +0000 |
---|---|---|
committer | Max Horn | 2007-02-13 14:55:11 +0000 |
commit | 4968e912ce005f582a34cd0fba7395ebdfc7dc40 (patch) | |
tree | e1d2b83152b98238b69989cba3006439c122decb /engines/touche | |
parent | 08079c9dec6f59b1e8d100d90ef83581a38aecbe (diff) | |
download | scummvm-rg350-4968e912ce005f582a34cd0fba7395ebdfc7dc40.tar.gz scummvm-rg350-4968e912ce005f582a34cd0fba7395ebdfc7dc40.tar.bz2 scummvm-rg350-4968e912ce005f582a34cd0fba7395ebdfc7dc40.zip |
AdvancedDetector changes:
* Renamed genGameList to gameIDList to make it match the corresponding
plugin API function name
* removed the detectFunc param from detectGameForEngineCreation,
as it *always* pointed to a straight wrapper around AdvancedDetector::detectAllGames
* as a consequence, removed the various GAME_detectGames functions from the
engines, and removed the detectFunc param from ADVANCED_DETECTOR_DEFINE_PLUGIN
svn-id: r25547
Diffstat (limited to 'engines/touche')
-rw-r--r-- | engines/touche/plugin.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/engines/touche/plugin.cpp b/engines/touche/plugin.cpp index 19cdc6803b..3749a73027 100644 --- a/engines/touche/plugin.cpp +++ b/engines/touche/plugin.cpp @@ -28,10 +28,6 @@ #include "touche/touche.h" -namespace Touche { -static GameList GAME_detectGames(const FSList &fslist); -} - static const PlainGameDescriptor toucheGames[] = { {"touche", "Touche: The Adventures of the Fifth Musketeer"}, @@ -116,7 +112,7 @@ static const Common::ADParams detectionParams = { 0 }; -ADVANCED_DETECTOR_DEFINE_PLUGIN(TOUCHE, Touche::ToucheEngine, Touche::GAME_detectGames, detectionParams); +ADVANCED_DETECTOR_DEFINE_PLUGIN(TOUCHE, Touche::ToucheEngine, detectionParams); REGISTER_PLUGIN(TOUCHE, "Touche Engine", "Touche: The Adventures of the 5th Musketeer (C) Clipper Software"); @@ -131,8 +127,4 @@ bool ToucheEngine::detectGame() { return true; } -GameList GAME_detectGames(const FSList &fslist) { - return Common::AdvancedDetector::detectAllGames(fslist, detectionParams); -} - } // End of namespace Touche |