diff options
author | Einar Johan Trøan Sømåen | 2012-08-13 04:43:14 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-08-13 04:43:14 +0200 |
commit | 589094e63a6c2a093cbca148800ef279d2a0b89d (patch) | |
tree | e06a9af48f080be60b70abd5f50dabd0429bda2f /engines | |
parent | 101ad689c5063e3eb91a2255ba154348069b14ad (diff) | |
download | scummvm-rg350-589094e63a6c2a093cbca148800ef279d2a0b89d.tar.gz scummvm-rg350-589094e63a6c2a093cbca148800ef279d2a0b89d.tar.bz2 scummvm-rg350-589094e63a6c2a093cbca148800ef279d2a0b89d.zip |
WINTERMUTE: Clean out commented-out code from detection
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/detection.cpp | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/engines/wintermute/detection.cpp b/engines/wintermute/detection.cpp index 7e4da68a93..ff46418baa 100644 --- a/engines/wintermute/detection.cpp +++ b/engines/wintermute/detection.cpp @@ -64,46 +64,6 @@ public: return "Copyright (c) 2011 Jan Nedoma"; } - /* virtual GameList getSupportedGames() const { - GameList games; - const PlainGameDescriptor *g = wintermuteGames; - while (g->gameid) { - games.push_back(*g); - g++; - } - - return games; - } - - virtual GameDescriptor findGame(const char *gameid) const { - const PlainGameDescriptor *g = wintermuteGames; - while (g->gameid) { - if (0 == scumm_stricmp(gameid, g->gameid)) - break; - g++; - } - return GameDescriptor(g->gameid, g->description); - }*/ - - /* virtual GameList detectGames(const Common::FSList &fslist) const { - GameList detectedGames; - - // Iterate over all files in the given directory - for (Common::FSList::const_iterator file = fslist.begin(); file != fslist.end(); ++file) { - if (!file->isDirectory()) { - const char *gameName = file->getName().c_str(); - - if (0 == scumm_stricmp("data.dcp", gameName)) { - // You could check the contents of the file now if you need to. - detectedGames.push_back(Wintermute_setting[0]); - break; - } - } - } - return detectedGames; - }*/ - - virtual const ADGameDescription *fallbackDetect(const FileMap &allFiles, const Common::FSList &fslist) const { // Set some defaults s_fallbackDesc.extra = ""; |