aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel
diff options
context:
space:
mode:
authorPaul Gilbert2015-04-22 18:41:40 -0500
committerPaul Gilbert2015-04-22 18:41:40 -0500
commitafbc333696c11a5a10bd6aa1061eded92836c751 (patch)
tree31e63aa6d9af5e3e0cc7b32cdcad34e4222534fc /engines/sherlock/scalpel
parent0a4b722b5d348ba38ab4161cac06597506cbe6cf (diff)
downloadscummvm-rg350-afbc333696c11a5a10bd6aa1061eded92836c751.tar.gz
scummvm-rg350-afbc333696c11a5a10bd6aa1061eded92836c751.tar.bz2
scummvm-rg350-afbc333696c11a5a10bd6aa1061eded92836c751.zip
SHERLOCK: Fix display of overhead map
Diffstat (limited to 'engines/sherlock/scalpel')
-rw-r--r--engines/sherlock/scalpel/scalpel.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/sherlock/scalpel/scalpel.cpp b/engines/sherlock/scalpel/scalpel.cpp
index 4e49a6b4d3..2ca9f80c42 100644
--- a/engines/sherlock/scalpel/scalpel.cpp
+++ b/engines/sherlock/scalpel/scalpel.cpp
@@ -39,12 +39,18 @@ const int MAP_Y[NUM_PLACES] = {
37, 0, 70, 0, 116, 0, 0, 0, 50, 21, 0, 303, 0, 0, 229, 0, 0
};
-int MAP_TRANSLATE[NUM_PLACES] = {
+const int MAP_TRANSLATE[NUM_PLACES] = {
0, 0, 0, 1, 0, 2, 0, 3, 4, 0, 4, 6, 0, 0, 0, 8, 9, 10, 11, 0, 12, 13, 14, 7,
15, 16, 17, 18, 19, 0, 20, 21, 22, 23, 0, 24, 0, 25, 0, 26, 0, 0, 0, 27,
28, 0, 29, 0, 0, 30, 0
};
+const byte MAP_SEQUENCES[3][MAX_FRAME] = {
+ { 1, 1, 2, 3, 4, 0 }, // Overview Still
+ { 5, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 0 },
+ { 5, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 0 }
+};
+
#define MAX_PEOPLE 66
const byte STILL_SEQUENCES[MAX_PEOPLE][MAX_TALK_SEQUENCES] = {
@@ -209,8 +215,9 @@ void ScalpelEngine::initialize() {
_flags[3] = true; // Turn on Alley
_flags[39] = true; // Turn on Baker Street
- // Load the map co-ordinates for each scene
+ // Load the map co-ordinates for each scene and sequence data
_map->loadPoints(NUM_PLACES, &MAP_X[0], &MAP_Y[0], &MAP_TRANSLATE[0]);
+ _map->loadSequences(3, &MAP_SEQUENCES[0][0]);
// Load the inventory
loadInventory();