diff options
author | Max Horn | 2006-04-23 18:52:39 +0000 |
---|---|---|
committer | Max Horn | 2006-04-23 18:52:39 +0000 |
commit | d68f95b3be82fe0048b6ba72f70b80887214a0e6 (patch) | |
tree | add586af344a76ffe43ae8c6475207c12a851e47 /engines/scumm/string.cpp | |
parent | 78dfa1f28062378b98b204e9e10c4a8f182cf4c9 (diff) | |
download | scummvm-rg350-d68f95b3be82fe0048b6ba72f70b80887214a0e6.tar.gz scummvm-rg350-d68f95b3be82fe0048b6ba72f70b80887214a0e6.tar.bz2 scummvm-rg350-d68f95b3be82fe0048b6ba72f70b80887214a0e6.zip |
Move HE specific stuff from class Sound to its new subclass SoundHE
svn-id: r22115
Diffstat (limited to 'engines/scumm/string.cpp')
-rw-r--r-- | engines/scumm/string.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp index 518a683639..62e1ed6829 100644 --- a/engines/scumm/string.cpp +++ b/engines/scumm/string.cpp @@ -36,7 +36,7 @@ #include "scumm/he/intern_he.h" #endif #include "scumm/verbs.h" -#include "scumm/sound.h" +#include "scumm/he/sound_he.h" namespace Scumm { @@ -288,7 +288,7 @@ bool ScummEngine::handleNextCharsetCode(Actor *a, int *code) { talk_sound_b = buffer[8] | (buffer[9] << 8) | (buffer[12] << 16) | (buffer[13] << 24); buffer += 14; if (_game.heversion >= 60) { - _sound->startHETalkSound(talk_sound_a); + ((SoundHE *)_sound)->startHETalkSound(talk_sound_a); } else { _sound->talkSound(talk_sound_a, talk_sound_b, 2); } @@ -358,7 +358,7 @@ bool ScummEngine_v72he::handleNextCharsetCode(Actor *a, int *code) { } value[i] = 0; talk_sound_b = atoi(value); - _sound->startHETalkSound(talk_sound_a); + ((SoundHE *)_sound)->startHETalkSound(talk_sound_a); break; case 104: _haveMsg = 0; @@ -381,7 +381,7 @@ bool ScummEngine_v72he::handleNextCharsetCode(Actor *a, int *code) { value[i] = 0; talk_sound_a = atoi(value); talk_sound_b = 0; - _sound->startHETalkSound(talk_sound_a); + ((SoundHE *)_sound)->startHETalkSound(talk_sound_a); break; case 119: _haveMsg = 0xFF; |