aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/detection.cpp
diff options
context:
space:
mode:
authorMax Horn2010-11-07 01:01:18 +0000
committerMax Horn2010-11-07 01:01:18 +0000
commit18d40017e849ccb74d899b651042a750052d11f4 (patch)
tree1f307bed2b54a40082451f13fb0f5f6f39ec9d3a /engines/toon/detection.cpp
parent7e7ad149c29e14aab82906384676bdae436b6b4e (diff)
downloadscummvm-rg350-18d40017e849ccb74d899b651042a750052d11f4.tar.gz
scummvm-rg350-18d40017e849ccb74d899b651042a750052d11f4.tar.bz2
scummvm-rg350-18d40017e849ccb74d899b651042a750052d11f4.zip
ENGINES: Unify code layout of all ADParams instances
svn-id: r54105
Diffstat (limited to 'engines/toon/detection.cpp')
-rw-r--r--engines/toon/detection.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/engines/toon/detection.cpp b/engines/toon/detection.cpp
index 4b8c987d1e..f8c4c08ce6 100644
--- a/engines/toon/detection.cpp
+++ b/engines/toon/detection.cpp
@@ -112,13 +112,21 @@ static const char * const directoryGlobs[] = {
};
static const ADParams detectionParams = {
+ // Pointer to ADGameDescription or its superset structure
(const byte *)Toon::gameDescriptions,
+ // Size of that superset structure
sizeof(ADGameDescription),
- 5000, // number of md5 bytes
+ // Number of bytes to compute MD5 sum for
+ 5000,
+ // List of all engine targets
ToonGames,
- 0, // no obsolete targets data
+ // Structure for autoupgrading obsolete targets
+ 0,
+ // Name of single gameid (optional)
"toon",
+ // List of files for file-based fallback detection (optional)
Toon::fileBasedFallback,
+ // Flags
0,
// Additional GUI options (for every game}
Common::GUIO_NONE,