aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel
diff options
context:
space:
mode:
authorJohannes Schickel2016-03-08 18:53:55 +0100
committerJohannes Schickel2016-03-08 19:01:38 +0100
commit3aecd8ef2a79dbbd43dd0e39e42b11409720361f (patch)
treee81e58d83f0e6181ac6fd39a004b7de6f52fbb9f /engines/tinsel
parent0b6befdcc5f5f8d6d5deb2831104fb7abc0f7466 (diff)
downloadscummvm-rg350-3aecd8ef2a79dbbd43dd0e39e42b11409720361f.tar.gz
scummvm-rg350-3aecd8ef2a79dbbd43dd0e39e42b11409720361f.tar.bz2
scummvm-rg350-3aecd8ef2a79dbbd43dd0e39e42b11409720361f.zip
ENGINES: Make variable names of ADGameDescription conform to our guidelines.
gameid -> gameId guioptions -> guiOptions
Diffstat (limited to 'engines/tinsel')
-rw-r--r--engines/tinsel/detection.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/tinsel/detection.cpp b/engines/tinsel/detection.cpp
index cf40b0324c..2fde6e788a 100644
--- a/engines/tinsel/detection.cpp
+++ b/engines/tinsel/detection.cpp
@@ -228,8 +228,8 @@ const ADGameDescription *TinselMetaEngine::fallbackDetect(const FileMap &allFile
// Check which files are included in some dw2 ADGameDescription *and* present
// in fslist without a '1' suffix character. Compute MD5s and file sizes for these files.
- for (g = &Tinsel::gameDescriptions[0]; g->desc.gameid != 0; ++g) {
- if (strcmp(g->desc.gameid, "dw2") != 0)
+ for (g = &Tinsel::gameDescriptions[0]; g->desc.gameId != 0; ++g) {
+ if (strcmp(g->desc.gameId, "dw2") != 0)
continue;
for (fileDesc = g->desc.filesDescriptions; fileDesc->fileName; fileDesc++) {
@@ -265,8 +265,8 @@ const ADGameDescription *TinselMetaEngine::fallbackDetect(const FileMap &allFile
int maxFilesMatched = 0;
// MD5 based matching
- for (g = &Tinsel::gameDescriptions[0]; g->desc.gameid != 0; ++g) {
- if (strcmp(g->desc.gameid, "dw2") != 0)
+ for (g = &Tinsel::gameDescriptions[0]; g->desc.gameId != 0; ++g) {
+ if (strcmp(g->desc.gameId, "dw2") != 0)
continue;
bool fileMissing = false;