CGE2: Implement Sound::open(), add stub for checkSaySwitch().

This commit is contained in:
uruk 2014-07-09 12:46:49 +02:00
parent 8f869c74c0
commit 2f8abb06c3
2 changed files with 2 additions and 1 deletions

View File

@ -807,6 +807,7 @@ void CGE2Engine::releasePocket(Sprite *spr) {
}
void CGE2Engine::checkSaySwitch() {
warning("STUB: CGE2Engine::checkSaySwitch()");
// if (SNDDrvInfo.DDEV == DEV_QUIET)
// _sayVox = !(_sayCap = true);
_commandHandlerTurbo->addCommand(kCmdSeq, 129, _sayVox, nullptr);

View File

@ -61,7 +61,7 @@ void Sound::close() {
void Sound::open() {
setRepeat(1);
warning("STUB: Sound::open()");
_vm->checkSaySwitch();
play(_vm->_fx->load(99, 99));
}