aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2010-07-31 10:09:12 +0000
committerEugene Sandulenko2010-10-12 22:13:26 +0000
commit023b970480924b39c18c18c5183907f047932da9 (patch)
treeb70793c1fea0a9d25241d558badaf1f0b71f6161 /engines
parent293bf95c01f76c8d812a300eb038854f1246ab3d (diff)
downloadscummvm-rg350-023b970480924b39c18c18c5183907f047932da9.tar.gz
scummvm-rg350-023b970480924b39c18c18c5183907f047932da9.tar.bz2
scummvm-rg350-023b970480924b39c18c18c5183907f047932da9.zip
SWORD25: Update detection to modern state
svn-id: r53189
Diffstat (limited to 'engines')
-rw-r--r--engines/sword25/detection.cpp18
1 files changed, 11 insertions, 7 deletions
diff --git a/engines/sword25/detection.cpp b/engines/sword25/detection.cpp
index f579fdad17..01a6e010b0 100644
--- a/engines/sword25/detection.cpp
+++ b/engines/sword25/detection.cpp
@@ -58,17 +58,15 @@ static const Sword25GameDescription gameDescriptions[] = {
{
"sword25",
"",
- {
- { "data.b25c", kFileTypeHash, "f8b6e03ada2d2f6cf27fbc11ad1572e9", 654310588},
- { NULL, 0, NULL, 0}
- },
- Common::EN_ANY,
+ AD_ENTRY1s("data.b25c", "f8b6e03ada2d2f6cf27fbc11ad1572e9", 654310588),
+ Common::EN_ANY,
Common::kPlatformWindows,
- ADGF_NO_FLAGS
+ ADGF_NO_FLAGS,
+ Common::GUIO_NONE
},
0
},
- { { NULL, NULL, { { NULL, 0, NULL, 0 } }, Common::UNK_LANG, Common::kPlatformUnknown, ADGF_NO_FLAGS }, 0 }
+ { AD_TABLE_END_MARKER, 0 }
};
} // end of namespace Sword25
@@ -89,6 +87,12 @@ static const ADParams detectionParams = {
// List of files for file-based fallback detection (optional)
0,
// Flags
+ 0,
+ // Additional GUI options (for every game}
+ Common::GUIO_NOSPEECH,
+ // Maximum directory depth
+ 1,
+ // List of directory globs
0
};