Moved bundle music code from class Sound to IMuseDigital (seems more natural; and allows for various cleanup)

svn-id: r11846
This commit is contained in:
Max Horn
2003-12-22 08:22:04 +00:00
parent 44f1ed75fd
commit 1e5496b2c8
11 changed files with 433 additions and 417 deletions
+2 -1
View File
@@ -25,6 +25,7 @@
#include "scumm/actor.h"
#include "scumm/charset.h"
#include "scumm/dialogs.h"
#include "scumm/imuse_digi.h"
#include "scumm/verbs.h"
#include "scumm/sound.h"
@@ -899,7 +900,7 @@ const byte *ScummEngine::translateTextAndPlaySpeech(const byte *ptr) {
pointer[j] = 0;
// Play speech
_sound->playBundleSound(pointer, &_sound->_talkChannelHandle);
_imuseDigital->playBundleSound(pointer, &_sound->_talkChannelHandle);
ptr = _transText;
}