aboutsummaryrefslogtreecommitdiff
path: root/scumm/scumm.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-07-03 23:58:30 +0000
committerTravis Howell2004-07-03 23:58:30 +0000
commit0a287fa7f6a04f6ccf31b7fdf8accb28a70eefc0 (patch)
tree9aa877b3c8c867517148d76acda7c9e3b744a332 /scumm/scumm.cpp
parent7927f8574e0cab97c7ee7e9dfa4f6d124a359400 (diff)
downloadscummvm-rg350-0a287fa7f6a04f6ccf31b7fdf8accb28a70eefc0.tar.gz
scummvm-rg350-0a287fa7f6a04f6ccf31b7fdf8accb28a70eefc0.tar.bz2
scummvm-rg350-0a287fa7f6a04f6ccf31b7fdf8accb28a70eefc0.zip
Initialise HE 7.0 sound vars
Enable VAR_NUM_GLOBAL_OBJS svn-id: r14160
Diffstat (limited to 'scumm/scumm.cpp')
-rw-r--r--scumm/scumm.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index 74ff1d2a0f..c91803f468 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -598,6 +598,12 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS
_2byteFontPtr = 0;
_V1_talkingActor = 0;
+ _heSndSoundId = 0;
+ _heSndOffset = 0;
+ _heSndTimer = 0;
+ _heSndLoop = 0;
+ _heSndSoundFreq = 0;
+
//
// Init all VARS to 0xFF
//
@@ -720,6 +726,7 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS
VAR_BLAST_ABOVE_TEXT = 0xFF;
VAR_VOICE_MODE = 0xFF;
+ VAR_NUM_GLOBAL_OBJS = 0xFF;
// Use g_scumm from error() ONLY
g_scumm = this;
@@ -1286,6 +1293,7 @@ void ScummEngine::initScummVars() {
VAR(VAR_LANGUAGE) = _language;
} else if (_version >= 7) {
VAR(VAR_V6_EMSSPACE) = 10000;
+ VAR(VAR_NUM_GLOBAL_OBJS) = _numGlobalObjects;
} else if (_heversion >= 72) {
// TODO
} else {