aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-08-06 02:10:23 +0000
committerTravis Howell2004-08-06 02:10:23 +0000
commitfac44fbfec7eea4dfa8ca5315d6c51c0368946a9 (patch)
tree01a59282ce97fb20e93a7ffa25ce1484d179073e /scumm
parent2c0c065fe4b065d980f43bd9ca0598cebf2272d6 (diff)
downloadscummvm-rg350-fac44fbfec7eea4dfa8ca5315d6c51c0368946a9.tar.gz
scummvm-rg350-fac44fbfec7eea4dfa8ca5315d6c51c0368946a9.tar.bz2
scummvm-rg350-fac44fbfec7eea4dfa8ca5315d6c51c0368946a9.zip
Set cemera default values for scumm7 games.
svn-id: r14480
Diffstat (limited to 'scumm')
-rw-r--r--scumm/scumm.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index 0c820cc6ec..b779fbf9e3 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -1230,7 +1230,12 @@ void ScummEngine::scummInit() {
_verbs[i].key = 0;
}
- if (!(_features & GF_NEW_CAMERA)) {
+ if (_version == 7) {
+ VAR(VAR_CAMERA_THRESHOLD_X) = 100;
+ VAR(VAR_CAMERA_THRESHOLD_Y) = 70;
+ VAR(VAR_CAMERA_ACCEL_X) = 100;
+ VAR(VAR_CAMERA_ACCEL_Y) = 100;
+ } else if (!(_features & GF_NEW_CAMERA)) {
camera._leftTrigger = 10;
camera._rightTrigger = 30;
camera._mode = 0;