aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/module2100.cpp
diff options
context:
space:
mode:
authorjohndoe1232012-09-23 12:12:37 +0000
committerWillem Jan Palenstijn2013-05-08 20:43:42 +0200
commitf5a8c9d90d66de98f7eba43a2de0c4fdf3517a0d (patch)
tree16f6521057937c1b333cc71e3ebaee4473b17727 /engines/neverhood/module2100.cpp
parentfc0e40db304aa489d4117299fcce1f80ba0b6379 (diff)
downloadscummvm-rg350-f5a8c9d90d66de98f7eba43a2de0c4fdf3517a0d.tar.gz
scummvm-rg350-f5a8c9d90d66de98f7eba43a2de0c4fdf3517a0d.tar.bz2
scummvm-rg350-f5a8c9d90d66de98f7eba43a2de0c4fdf3517a0d.zip
NEVERHOOD: Add most SoundMan remaining calls
Except for those which need a sound hash array (later)
Diffstat (limited to 'engines/neverhood/module2100.cpp')
-rw-r--r--engines/neverhood/module2100.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/neverhood/module2100.cpp b/engines/neverhood/module2100.cpp
index 33c9d23cbf..fd2a793a28 100644
--- a/engines/neverhood/module2100.cpp
+++ b/engines/neverhood/module2100.cpp
@@ -29,7 +29,7 @@ namespace Neverhood {
Module2100::Module2100(NeverhoodEngine *vm, Module *parentModule, int which)
: Module(vm, parentModule) {
- // TODO SoundMan_addMusic(0x10A10C14, 0x11482B95);
+ _vm->_soundMan->addMusic(0x10A10C14, 0x11482B95);
if (which < 0) {
createScene(_vm->gameState().sceneNum, -1);
@@ -44,7 +44,7 @@ Module2100::Module2100(NeverhoodEngine *vm, Module *parentModule, int which)
}
Module2100::~Module2100() {
- // TODO SoundMan_deleteMusicGroup(0x10A10C14);
+ _vm->_soundMan->deleteMusicGroup(0x10A10C14);
}
void Module2100::createScene(int sceneNum, int which) {
@@ -52,7 +52,7 @@ void Module2100::createScene(int sceneNum, int which) {
_vm->gameState().sceneNum = sceneNum;
switch (_vm->gameState().sceneNum) {
case 0:
- // TODO SoundMan_startMusic(0x11482B95, 0, 1, 1);
+ _vm->_soundMan->startMusic(0x11482B95, 0, 1);
_childObject = new Scene2101(_vm, this, which);
break;
}