diff options
author | Vincent Hamm | 2002-04-21 17:54:59 +0000 |
---|---|---|
committer | Vincent Hamm | 2002-04-21 17:54:59 +0000 |
commit | f90a05e3b1d3136eba060e477f2f6061eaff9d08 (patch) | |
tree | 580067b31eda08c633cd2c237dfc5235ff7ef214 | |
parent | 9809c863730b998c9b1b75f9d7ed2fcd3f989dd0 (diff) | |
download | scummvm-rg350-f90a05e3b1d3136eba060e477f2f6061eaff9d08.tar.gz scummvm-rg350-f90a05e3b1d3136eba060e477f2f6061eaff9d08.tar.bz2 scummvm-rg350-f90a05e3b1d3136eba060e477f2f6061eaff9d08.zip |
Fix (hack) imuse for samnmax. Fix (hack) samnmax inventory screen
svn-id: r4037
-rw-r--r-- | actor.cpp | 3 | ||||
-rw-r--r-- | sound/imuse.cpp | 8 |
2 files changed, 11 insertions, 0 deletions
@@ -918,6 +918,9 @@ void Scumm::drawActorCostume(Actor * a) a->mask = 0; else if (g_scumm->getClass(a->number, 21)) a->forceClip = 1; + + if (_gameId==GID_SAMNMAX && getState(995)) // FIXME: ugly fix for samnmax inventory + return; a->needRedraw = false; diff --git a/sound/imuse.cpp b/sound/imuse.cpp index be566d4122..4eb84662cd 100644 --- a/sound/imuse.cpp +++ b/sound/imuse.cpp @@ -1354,16 +1354,24 @@ int32 IMuse::do_command(int a, int b, int c, int d, int e, int f, int g, return start_sound(b) ? 0 : -1; case 9: return stop_sound(b); + case 10: + return stop_all_sounds(); //FIXME case 11: return stop_all_sounds(); case 13: return get_sound_status(b); + case 14: + return stop_sound(b); //FIXME should be something like fade off case 16: return set_volchan(b, c); case 17: return set_channel_volume(b, c); case 18: return set_volchan_entry(b, c); + case 19: + return stop_sound(b); //FIXME + case 20: + return stop_sound(b); //FIXME case 2: case 3: |