aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel/scalpel.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-04-20 01:07:54 -0500
committerPaul Gilbert2015-04-20 01:07:54 -0500
commitbfb86a99db6358043a4c16371c5a927411b4e8cb (patch)
treeb17ecdee21503b65641cc9be87c25f685d229390 /engines/sherlock/scalpel/scalpel.cpp
parent19142ef58a3e632b31a87a99b817e261f47c1bc4 (diff)
downloadscummvm-rg350-bfb86a99db6358043a4c16371c5a927411b4e8cb.tar.gz
scummvm-rg350-bfb86a99db6358043a4c16371c5a927411b4e8cb.tar.bz2
scummvm-rg350-bfb86a99db6358043a4c16371c5a927411b4e8cb.zip
SHERLOCK: Map path walking, beginnings of darts game
Diffstat (limited to 'engines/sherlock/scalpel/scalpel.cpp')
-rw-r--r--engines/sherlock/scalpel/scalpel.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/sherlock/scalpel/scalpel.cpp b/engines/sherlock/scalpel/scalpel.cpp
index 0742d05366..eba6626c53 100644
--- a/engines/sherlock/scalpel/scalpel.cpp
+++ b/engines/sherlock/scalpel/scalpel.cpp
@@ -39,6 +39,12 @@ 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] = {
+ 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
+};
+
#define MAX_PEOPLE 66
const byte STILL_SEQUENCES[MAX_PEOPLE][MAX_TALK_SEQUENCES] = {
@@ -204,7 +210,7 @@ void ScalpelEngine::initialize() {
_flags[39] = true; // Turn on Baker Street
// Load the map co-ordinates for each scene
- _map->loadPoints(NUM_PLACES, &MAP_X[0], &MAP_Y[0]);
+ _map->loadPoints(NUM_PLACES, &MAP_X[0], &MAP_Y[0], &MAP_TRANSLATE[0]);
// Load the inventory
loadInventory();