mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
Fix (hack) imuse for samnmax. Fix (hack) samnmax inventory screen
svn-id: r4037
This commit is contained in:
parent
9809c86373
commit
f90a05e3b1
@ -918,6 +918,9 @@ void Scumm::drawActorCostume(Actor * a)
|
|||||||
a->mask = 0;
|
a->mask = 0;
|
||||||
else if (g_scumm->getClass(a->number, 21))
|
else if (g_scumm->getClass(a->number, 21))
|
||||||
a->forceClip = 1;
|
a->forceClip = 1;
|
||||||
|
|
||||||
|
if (_gameId==GID_SAMNMAX && getState(995)) // FIXME: ugly fix for samnmax inventory
|
||||||
|
return;
|
||||||
|
|
||||||
a->needRedraw = false;
|
a->needRedraw = false;
|
||||||
|
|
||||||
|
@ -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;
|
return start_sound(b) ? 0 : -1;
|
||||||
case 9:
|
case 9:
|
||||||
return stop_sound(b);
|
return stop_sound(b);
|
||||||
|
case 10:
|
||||||
|
return stop_all_sounds(); //FIXME
|
||||||
case 11:
|
case 11:
|
||||||
return stop_all_sounds();
|
return stop_all_sounds();
|
||||||
case 13:
|
case 13:
|
||||||
return get_sound_status(b);
|
return get_sound_status(b);
|
||||||
|
case 14:
|
||||||
|
return stop_sound(b); //FIXME should be something like fade off
|
||||||
case 16:
|
case 16:
|
||||||
return set_volchan(b, c);
|
return set_volchan(b, c);
|
||||||
case 17:
|
case 17:
|
||||||
return set_channel_volume(b, c);
|
return set_channel_volume(b, c);
|
||||||
case 18:
|
case 18:
|
||||||
return set_volchan_entry(b, c);
|
return set_volchan_entry(b, c);
|
||||||
|
case 19:
|
||||||
|
return stop_sound(b); //FIXME
|
||||||
|
case 20:
|
||||||
|
return stop_sound(b); //FIXME
|
||||||
|
|
||||||
case 2:
|
case 2:
|
||||||
case 3:
|
case 3:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user