diff options
author | Eugene Sandulenko | 2004-06-27 15:22:31 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-06-27 15:22:31 +0000 |
commit | 9ef85b62813b90c6c4d6a41e4c7f025b0354801a (patch) | |
tree | 2ba52ebdc6dca0ea7a5ffb7b1286d463279eb8c1 /scumm/script_v7he.cpp | |
parent | a6b582a0c4929078abab75415ac3e2d31a45b670 (diff) | |
download | scummvm-rg350-9ef85b62813b90c6c4d6a41e4c7f025b0354801a.tar.gz scummvm-rg350-9ef85b62813b90c6c4d6a41e4c7f025b0354801a.tar.bz2 scummvm-rg350-9ef85b62813b90c6c4d6a41e4c7f025b0354801a.zip |
Renamed some HE-specific variables.
svn-id: r14083
Diffstat (limited to 'scumm/script_v7he.cpp')
-rw-r--r-- | scumm/script_v7he.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp index ab36942bd3..639fa462d1 100644 --- a/scumm/script_v7he.cpp +++ b/scumm/script_v7he.cpp @@ -661,36 +661,36 @@ void ScummEngine_v7he::o7_startSound() { switch (op) { case 224: - _staticVar1 = pop(); + _heSndSoundFreq = pop(); break; case 230: - _staticVar2 = pop(); + _heSndVar2 = pop(); break; case 231: - _staticVar3 = pop(); + _heSndVar3 = pop(); break; case 232: - _staticVar4 = pop(); - _staticVar3 = 0; - _staticVar1 = 11025; - _staticVar2 = VAR(VAR_MUSIC_TIMER); + _heSndSoundId = pop(); + _heSndVar3 = 0; + _heSndSoundFreq = 11025; + _heSndVar2 = VAR(VAR_MUSIC_TIMER); break; case 245: - _staticVar5 |= 1; + _heSndVar5 |= 1; break; case 255: - // _sound->addSoundToQueue(_staticVar4, _staticVar3, _staticVar2, _staticVar5); + // _sound->addSoundToQueue(_heSndSoundId, _heSndVar3, _heSndVar2, _heSndVar5); // FIXME: Music resources (Id 4000+?) are currently unsupported, // so don't attempt to play them. - if (_staticVar4 < 4000) - _sound->addSoundToQueue(_staticVar4); - debug(1, "o7_startSound stub (%d, %d, %d, %d)", _staticVar4, _staticVar3, _staticVar2, _staticVar5); - _staticVar5 = 0; + if (_heSndSoundId < 4000) + _sound->addSoundToQueue(_heSndSoundId); + debug(1, "o7_startSound stub (%d, %d, %d, %d)", _heSndSoundId, _heSndVar3, _heSndVar2, _heSndVar5); + _heSndVar5 = 0; break; default: |