aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2006-01-18 03:43:27 +0000
committerTravis Howell2006-01-18 03:43:27 +0000
commita4151c99824bb42d440711e0a9d2db877ab68b28 (patch)
tree397720ca5c32ab3b72a333f3f059f625cbf6e790
parent59fc9ac9639ff9aee73780c2299157655d1a8903 (diff)
downloadscummvm-rg350-a4151c99824bb42d440711e0a9d2db877ab68b28.tar.gz
scummvm-rg350-a4151c99824bb42d440711e0a9d2db877ab68b28.tar.bz2
scummvm-rg350-a4151c99824bb42d440711e0a9d2db877ab68b28.zip
That (PU1) & (PU2) prefixes are used in several HE games.
svn-id: r20073
-rw-r--r--scumm/scumm.cpp10
-rw-r--r--scumm/scumm.h1
-rw-r--r--scumm/string.cpp2
3 files changed, 6 insertions, 7 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index 1c2da71ac5..d48d4760b7 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -250,7 +250,7 @@ static const ScummGameSettings scumm_settings[] = {
GF_USE_KEY | GF_NEW_COSTUMES, Common::kPlatformWindows},
// Humongous Entertainment Scumm Version 8.0 ? Scummsrc.80
- {"freddi2", "Freddi Fish 2: The Case of the Haunted Schoolhouse", GID_FREDDI2, 6, 80, MDT_NONE,
+ {"freddi2", "Freddi Fish 2: The Case of the Haunted Schoolhouse", GID_HEGAME, 6, 80, MDT_NONE,
GF_USE_KEY | GF_NEW_COSTUMES, Common::kPlatformWindows},
{"pajama", "Pajama Sam 1: No Need to Hide When It's Dark Outside", GID_HEGAME, 6, 80, MDT_NONE,
GF_USE_KEY | GF_NEW_COSTUMES, Common::kPlatformWindows},
@@ -399,13 +399,13 @@ static const ScummGameSettings multiple_versions_md5_settings[] = {
{"c8aac5e3e701874e2fa4117896f9e1b1", "Freddi Fish 1: The Case of the Missing Kelp Seeds (Macintosh Demo)", GID_HEGAME, 6, 73, MDT_NONE,
GF_USE_KEY | GF_NEW_COSTUMES, Common::kPlatformWindows},
- {"8ee63cafb1fe9d62aa0d5a23117e70e7", "Freddi Fish 2: The Case of the Haunted Schoolhouse (Updated)", GID_FREDDI2, 6, 100, MDT_NONE,
+ {"8ee63cafb1fe9d62aa0d5a23117e70e7", "Freddi Fish 2: The Case of the Haunted Schoolhouse (Updated)", GID_HEGAME, 6, 100, MDT_NONE,
GF_USE_KEY | GF_NEW_COSTUMES, Common::kPlatformWindows}, // FreddiCHSH
- {"51305e929e330e24a75a0351c8f9975e", "Freddi Fish 2: The Case of the Haunted Schoolhouse (Updated)", GID_FREDDI2, 6, 99, MDT_NONE,
+ {"51305e929e330e24a75a0351c8f9975e", "Freddi Fish 2: The Case of the Haunted Schoolhouse (Updated)", GID_HEGAME, 6, 99, MDT_NONE,
GF_USE_KEY | GF_NEW_COSTUMES, Common::kPlatformWindows},
- {"e41de1c2a15abbcdbf9977e2d7e8a340", "Freddi Fish 2: The Case of the Haunted Schoolhouse (Updated Russian)", GID_FREDDI2, 6, 100, MDT_NONE,
+ {"e41de1c2a15abbcdbf9977e2d7e8a340", "Freddi Fish 2: The Case of the Haunted Schoolhouse (Updated Russian)", GID_HEGAME, 6, 100, MDT_NONE,
GF_USE_KEY | GF_NEW_COSTUMES, Common::kPlatformWindows}, // FreddiCHSH
- {"d37c55388294b66e53e7ced3af88fa68", "Freddi Fish 2: The Case of the Haunted Schoolhouse (Demo Updated)", GID_FREDDI2, 6, 100, MDT_NONE,
+ {"d37c55388294b66e53e7ced3af88fa68", "Freddi Fish 2: The Case of the Haunted Schoolhouse (Demo Updated)", GID_HEGAME, 6, 100, MDT_NONE,
GF_USE_KEY | GF_NEW_COSTUMES, Common::kPlatformWindows}, // FFHSDemo
{"83cedbe26aa8b58988e984e3d34cac8e", "Freddi Fish 3: The Case of the Stolen Conch Shell (Updated German)", GID_HEGAME, 6, 99, MDT_NONE,
diff --git a/scumm/scumm.h b/scumm/scumm.h
index c54e92cb94..a59d4f9ccd 100644
--- a/scumm/scumm.h
+++ b/scumm/scumm.h
@@ -210,7 +210,6 @@ enum ScummGameId {
GID_PUTTDEMO,
GID_FBEAR,
GID_FUNPACK,
- GID_FREDDI2,
GID_WATER,
GID_PUTTRACE,
GID_FUNSHOP, // Used for all three funshops
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 16f14823bf..df9d1cdc66 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -800,7 +800,7 @@ int ScummEngine::convertMessageToString(const byte *msg, byte *dst, int dstSize)
while (1) {
chr = src[num++];
- if ((_gameId == GID_FREDDI2) && (src[num - 1] == '(' && src[num] == 'P' && src[num + 1] == 'U')) {
+ if (_heversion >= 80 && (src[num - 1] == '(' && src[num] == 'P' && src[num + 1] == 'U')) {
while (src[num++] != ')');
continue;
}