From fac44fbfec7eea4dfa8ca5315d6c51c0368946a9 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Fri, 6 Aug 2004 02:10:23 +0000 Subject: Set cemera default values for scumm7 games. svn-id: r14480 --- scumm/scumm.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scumm') 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; -- cgit v1.2.3