aboutsummaryrefslogtreecommitdiff
path: root/scumm/vars.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-04-19 03:32:08 +0000
committerTravis Howell2005-04-19 03:32:08 +0000
commit50af78f93da6766cff8a426b6574d80f82ce3bcc (patch)
treeb897ed8bc9331377de0053ec742dd3855d123b4c /scumm/vars.cpp
parentd52032c75c4c3964219874d68ec9a84dc8e6f3fa (diff)
downloadscummvm-rg350-50af78f93da6766cff8a426b6574d80f82ce3bcc.tar.gz
scummvm-rg350-50af78f93da6766cff8a426b6574d80f82ce3bcc.tar.bz2
scummvm-rg350-50af78f93da6766cff8a426b6574d80f82ce3bcc.zip
These VARS are HE95+ specific.
svn-id: r17673
Diffstat (limited to 'scumm/vars.cpp')
-rw-r--r--scumm/vars.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/scumm/vars.cpp b/scumm/vars.cpp
index 15b5e18cdf..fdcfdb6a4c 100644
--- a/scumm/vars.cpp
+++ b/scumm/vars.cpp
@@ -271,7 +271,8 @@ void ScummEngine_v72he::setupScummVars() {
if (_heversion >= 90) {
VAR_SCRIPT_CYCLE = 103;
VAR_NUM_SCRIPT_CYCLES = 104;
-
+ }
+ if (_heversion >= 95) {
VAR_NUM_SPRITE_GROUPS = 105;
VAR_NUM_SPRITES = 106;
VAR_WIZ_TCOLOR = 117;
@@ -522,7 +523,8 @@ void ScummEngine::initScummVars() {
if (_heversion >= 90) {
VAR(VAR_SCRIPT_CYCLE) = 1;
VAR(VAR_NUM_SCRIPT_CYCLES) = 1;
-
+ }
+ if (_heversion >= 95) {
VAR(VAR_NUM_SPRITE_GROUPS) = MAX(64, _numSprites / 4) - 1;
VAR(VAR_NUM_SPRITES) = _numSprites - 1;
VAR(VAR_WIZ_TCOLOR) = 5;