aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorMax Horn2007-02-13 14:55:11 +0000
committerMax Horn2007-02-13 14:55:11 +0000
commit4968e912ce005f582a34cd0fba7395ebdfc7dc40 (patch)
treee1d2b83152b98238b69989cba3006439c122decb /engines/agi
parent08079c9dec6f59b1e8d100d90ef83581a38aecbe (diff)
downloadscummvm-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/agi')
-rw-r--r--engines/agi/detection.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/agi/detection.cpp b/engines/agi/detection.cpp
index fa5f9d3ba3..15a283db50 100644
--- a/engines/agi/detection.cpp
+++ b/engines/agi/detection.cpp
@@ -52,7 +52,6 @@ uint16 AgiEngine::getVersion() const {
return _gameDescription->version;
}
-static GameList GAME_detectGames(const FSList &fslist);
}
static const PlainGameDescriptor agiGames[] = {
@@ -1743,7 +1742,7 @@ static const Common::ADParams detectionParams = {
Common::kADFlagAugmentPreferredTarget
};
-ADVANCED_DETECTOR_DEFINE_PLUGIN(AGI, Agi::AgiEngine, Agi::GAME_detectGames, detectionParams);
+ADVANCED_DETECTOR_DEFINE_PLUGIN(AGI, Agi::AgiEngine, detectionParams);
REGISTER_PLUGIN(AGI, "AGI v2 + v3 Engine", "Sierra AGI Engine (C) Sierra On-Line Software");
@@ -1758,9 +1757,5 @@ bool AgiEngine::initGame() {
return true;
}
-GameList GAME_detectGames(const FSList &fslist) {
- return Common::AdvancedDetector::detectAllGames(fslist, detectionParams);
-}
-
} // End of namespace Agi