aboutsummaryrefslogtreecommitdiff
path: root/scumm/vars.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-02-28 13:23:10 +0000
committerTravis Howell2005-02-28 13:23:10 +0000
commit36705d43444e5e5ec668b8b895278ca9c38c0240 (patch)
tree662629d9bf2d3f19363813d2f0d219b0e36ed378 /scumm/vars.cpp
parent9424c5aef252869835a296c1c497807fe6f3c0c6 (diff)
downloadscummvm-rg350-36705d43444e5e5ec668b8b895278ca9c38c0240.tar.gz
scummvm-rg350-36705d43444e5e5ec668b8b895278ca9c38c0240.tar.bz2
scummvm-rg350-36705d43444e5e5ec668b8b895278ca9c38c0240.zip
Add support for script cycles used by HE90+ games.
svn-id: r16958
Diffstat (limited to 'scumm/vars.cpp')
-rw-r--r--scumm/vars.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/scumm/vars.cpp b/scumm/vars.cpp
index 4a8ced0de1..326739c339 100644
--- a/scumm/vars.cpp
+++ b/scumm/vars.cpp
@@ -265,6 +265,9 @@ void ScummEngine_v72he::setupScummVars() {
VAR_WINDOWS_VERSION = 79;
VAR_KEY_STATE = 86;
if (_heversion >= 90) {
+ VAR_SCRIPT_CYCLE = 103;
+ VAR_NUM_SCRIPT_CYCLES = 104;
+
VAR_NUM_SPRITES = 106;
VAR_WIZ_TCOLOR = 117;
}
@@ -508,6 +511,8 @@ void ScummEngine::initScummVars() {
if (_heversion >= 80)
VAR(VAR_WINDOWS_VERSION) = 40;
if (_heversion >= 90) {
+ VAR(VAR_SCRIPT_CYCLE) = 1;
+ VAR(VAR_NUM_SCRIPT_CYCLES) = 1;
VAR(VAR_WIZ_TCOLOR) = 5;
VAR(VAR_NUM_SPRITES) = _numSprites - 1;
}