aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
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/agos
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/agos')
-rw-r--r--engines/agos/game.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/agos/game.cpp b/engines/agos/game.cpp
index 071aae9fd3..6df5a1a7a5 100644
--- a/engines/agos/game.cpp
+++ b/engines/agos/game.cpp
@@ -39,7 +39,6 @@ struct AGOSGameDescription {
uint32 features;
};
-static GameList GAME_detectGames(const FSList &fslist);
}
/**
@@ -101,7 +100,7 @@ static const Common::ADParams detectionParams = {
Common::kADFlagAugmentPreferredTarget
};
-ADVANCED_DETECTOR_DEFINE_PLUGIN(AGOS, AGOS::AGOSEngine, AGOS::GAME_detectGames, detectionParams);
+ADVANCED_DETECTOR_DEFINE_PLUGIN(AGOS, AGOS::AGOSEngine, detectionParams);
REGISTER_PLUGIN(AGOS, "AGOS", "AGOS (C) Adventure Soft");
@@ -116,9 +115,6 @@ bool AGOSEngine::initGame() {
return true;
}
-GameList GAME_detectGames(const FSList &fslist) {
- return Common::AdvancedDetector::detectAllGames(fslist, detectionParams);
-}
int AGOSEngine::getGameId() const {
return _gameDescription->gameId;