aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMatthew Hoops2011-11-16 17:55:32 -0500
committerMatthew Hoops2011-11-16 17:56:12 -0500
commitba798e250d8e8abef2213425384fa81bec3ff5f6 (patch)
treecfa02e5bd91c8f577ea55c7621c5a1ce6f85c6d6 /engines/sci
parent81c16d12c8f637890a3a122c31db17cbcb7ee910 (diff)
downloadscummvm-rg350-ba798e250d8e8abef2213425384fa81bec3ff5f6.tar.gz
scummvm-rg350-ba798e250d8e8abef2213425384fa81bec3ff5f6.tar.bz2
scummvm-rg350-ba798e250d8e8abef2213425384fa81bec3ff5f6.zip
SCI: Add support for slater mac
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/detection_tables.h7
-rw-r--r--engines/sci/graphics/view.cpp5
2 files changed, 10 insertions, 2 deletions
diff --git a/engines/sci/detection_tables.h b/engines/sci/detection_tables.h
index 69f0afdbb4..edb500869b 100644
--- a/engines/sci/detection_tables.h
+++ b/engines/sci/detection_tables.h
@@ -3191,6 +3191,13 @@ static const struct ADGameDescription SciGameDescriptions[] = {
AD_LISTEND},
Common::EN_ANY, Common::kPlatformPC, 0, GUIO1(GUIO_NOSPEECH) },
+ // Slater & Charlie Go Camping - English Macintosh
+ {"slater", "", {
+ {"Data1", 0, "7243b4390e5f0182d8133fbcae4b50c5", 2298853},
+ {"Data2", 0, "6b6f18f9b502dc0923eeae0ef47f02d5", 2276956},
+ AD_LISTEND},
+ Common::EN_ANY, Common::kPlatformMacintosh, ADGF_MACRESFORK, GUIO1(GUIO_NONE) },
+
// Space Quest 1 VGA Remake - English Amiga (from www.back2roots.org)
// SCI interpreter version 1.000.510 (just a guess)
{"sq1sci", "SCI", {
diff --git a/engines/sci/graphics/view.cpp b/engines/sci/graphics/view.cpp
index e095cde697..a77bcccc52 100644
--- a/engines/sci/graphics/view.cpp
+++ b/engines/sci/graphics/view.cpp
@@ -432,10 +432,11 @@ void unpackCelData(byte *inBuffer, byte *celBitmap, byte clearColor, int pixelCo
// Skip the next YYYYY pixels (i.e. transparency)
if (literalPos && isMacSci11ViewData) {
- // KQ6/Freddy Pharkas use byte lengths, all others use uint16
+ // KQ6/Freddy Pharkas/Slater use byte lengths, all others use uint16
// The SCI devs must have realized that a max of 255 pixels wide
// was not very good for 320 or 640 width games.
- bool hasByteLengths = (g_sci->getGameId() == GID_KQ6 || g_sci->getGameId() == GID_FREDDYPHARKAS);
+ bool hasByteLengths = (g_sci->getGameId() == GID_KQ6 || g_sci->getGameId() == GID_FREDDYPHARKAS
+ || g_sci->getGameId() == GID_SLATER);
// compression for SCI1.1+ Mac
while (pixelNr < pixelCount) {