aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2
diff options
context:
space:
mode:
authorPeter Bozsó2014-09-15 15:02:01 +0200
committerPeter Bozsó2014-09-15 15:02:01 +0200
commita418481a3c16cb793c8502b49eeac0434356e42c (patch)
treeb26a1cda0564d2fe69a535706cf243f654e5aacc /engines/cge2
parentb6a0f77e67798862b8b9dd72bd0f708e97a765f2 (diff)
downloadscummvm-rg350-a418481a3c16cb793c8502b49eeac0434356e42c.tar.gz
scummvm-rg350-a418481a3c16cb793c8502b49eeac0434356e42c.tar.bz2
scummvm-rg350-a418481a3c16cb793c8502b49eeac0434356e42c.zip
CGE2: Remove fallback detection for English translation.
Diffstat (limited to 'engines/cge2')
-rw-r--r--engines/cge2/detection.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/engines/cge2/detection.cpp b/engines/cge2/detection.cpp
index ebcbf76a47..fa02d412f1 100644
--- a/engines/cge2/detection.cpp
+++ b/engines/cge2/detection.cpp
@@ -107,8 +107,6 @@ public:
virtual SaveStateList listSaves(const char *target) const;
SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const;
virtual void removeSaveState(const char *target, int slot) const;
-
- const ADGameDescription *fallbackDetect(const FileMap &allFiles, const Common::FSList &fslist) const;
};
bool CGE2MetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const {
@@ -128,31 +126,6 @@ bool CGE2MetaEngine::hasFeature(MetaEngineFeature f) const {
(f == kSupportsLoadingDuringStartup);
}
-const ADGameDescription *CGE2MetaEngine::fallbackDetect(const FileMap &allFiles, const Common::FSList &fslist) const {
- static ADGameDescription desc;
-
- for (Common::FSList::const_iterator file = fslist.begin(); file != fslist.end(); ++file) {
- if (file->isDirectory())
- continue;
-
- if (file->getName().equalsIgnoreCase("lang.eng")) {
- Common::File dataFile;
- if (!dataFile.open(*file))
- continue;
-
- desc.gameid = "sfinx";
- desc.extra = "Translation Alpha v0.3";
- desc.language = Common::EN_ANY;
- desc.platform = Common::kPlatformDOS;
- desc.flags = ADGF_NO_FLAGS;
- desc.guioptions = GUIO1(GAMEOPTION_COLOR_BLIND_DEFAULT_OFF);
-
- return (const ADGameDescription *)&desc;
- }
- }
- return 0;
-}
-
int CGE2MetaEngine::getMaximumSaveSlot() const {
return 99;
}