SCI32: Implement per-channel audio panning

Used by RAMA, in various places, starting with the refrigerator
at base camp after the cable car at the beginning of the game.
This commit is contained in:
Colin Snover 2017-09-24 01:47:37 -05:00
parent d9dfca2fcb
commit 21337e4cf6
5 changed files with 45 additions and 2 deletions

View file

@ -236,8 +236,8 @@ static const SciKernelMapSubEntry kDoAudio_subops[] = {
{ SIG_SINCE_SCI21MID, 17, MAP_CALL(DoAudioHasSignal), "", NULL },
{ SIG_SINCE_SCI21MID, 18, MAP_EMPTY(DoAudioCritical), "(i)", NULL },
{ SIG_SINCE_SCI21MID, 19, MAP_CALL(DoAudioSetLoop), "iii(o)", NULL },
{ SIG_SCI3, 20, MAP_DUMMY(DoAudioPan), "", NULL },
{ SIG_SCI3, 21, MAP_DUMMY(DoAudioPanOff), "", NULL },
{ SIG_SCI3, 20, MAP_CALL(DoAudioPan), "ii(i)(iii)", NULL },
{ SIG_SCI3, 21, MAP_CALL(DoAudioPanOff), "i(i)(iii)", NULL },
SCI_SUBOPENTRY_TERMINATOR
};
#endif