aboutsummaryrefslogtreecommitdiff
path: root/engines/touche
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/touche
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/touche')
-rw-r--r--engines/touche/detection.cpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/engines/touche/detection.cpp b/engines/touche/detection.cpp
index 35f03fa657..06d15664a5 100644
--- a/engines/touche/detection.cpp
+++ b/engines/touche/detection.cpp
@@ -130,13 +130,21 @@ static const char *directoryGlobs[] = {
};
static const ADParams detectionParams = {
+ // Pointer to ADGameDescription or its superset structure
(const byte *)Touche::gameDescriptions,
+ // Size of that superset structure
sizeof(ADGameDescription),
- 4096, // number of md5 bytes
+ // Number of bytes to compute MD5 sum for
+ 4096,
+ // List of all engine targets
toucheGames,
- 0, // no obsolete targets data
+ // Structure for autoupgrading obsolete targets
+ 0,
+ // Name of single gameid (optional)
"touche",
- Touche::fileBasedFallback, // file-based detection data to enable not yet known versions to start
+ // List of files for file-based fallback detection (optional)
+ Touche::fileBasedFallback,
+ // Flags
kADFlagPrintWarningOnFileBasedFallback,
// Additional GUI options (for every game}
Common::GUIO_NONE,