aboutsummaryrefslogtreecommitdiff
path: root/scumm/vars.cpp
diff options
context:
space:
mode:
authorMax Horn2002-12-24 15:27:27 +0000
committerMax Horn2002-12-24 15:27:27 +0000
commit908de409193053d28dd23ff733d2edfdd83b8714 (patch)
tree31c42ad692d7a5ebaca679abd00d964238bd0529 /scumm/vars.cpp
parent45aec3ef0dc5404dd47784ba7bb452ca502cf445 (diff)
downloadscummvm-rg350-908de409193053d28dd23ff733d2edfdd83b8714.tar.gz
scummvm-rg350-908de409193053d28dd23ff733d2edfdd83b8714.tar.bz2
scummvm-rg350-908de409193053d28dd23ff733d2edfdd83b8714.zip
some hacks to get V8 loading further. It now fails because it can't find the SMAP resource
svn-id: r6102
Diffstat (limited to 'scumm/vars.cpp')
-rw-r--r--scumm/vars.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/scumm/vars.cpp b/scumm/vars.cpp
index 411ac0fb3f..58324b3ce3 100644
--- a/scumm/vars.cpp
+++ b/scumm/vars.cpp
@@ -232,4 +232,19 @@ void Scumm_v8::setupScummVars()
VAR_PAUSE_KEY = 64; // ???
VAR_SAVELOADDIALOG_KEY = 65; // ???
+
+
+ // FIXME - HACK: no clue where these really are located, but we need to put them
+ // somewhere so that camera clamping works. So for now just assume they are on their
+ // V6 positions (which is somewhat unlikely, considering most stuff moved...)
+ VAR_CAMERA_MIN_X = 101;
+ VAR_CAMERA_MAX_X = 102;
+ VAR_CAMERA_MIN_Y = 103;
+ VAR_CAMERA_MAX_Y = 104;
+ VAR_CAMERA_THRESHOLD_X = 105;
+ VAR_CAMERA_THRESHOLD_Y = 106;
+ VAR_CAMERA_SPEED_X = 107;
+ VAR_CAMERA_SPEED_Y = 108;
+ VAR_CAMERA_ACCEL_X = 109;
+ VAR_CAMERA_ACCEL_Y = 110;
}