aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v8.cpp
diff options
context:
space:
mode:
authorJamieson Christian2003-08-06 18:20:15 +0000
committerJamieson Christian2003-08-06 18:20:15 +0000
commit1615278ecc376f7de5136e72239e86363cd96134 (patch)
treeea6508dbbc37f2759a132e3209188d893e54dd8a /scumm/script_v8.cpp
parent79a804c4014c09d5a8f5b566d8f41ad3f301c906 (diff)
downloadscummvm-rg350-1615278ecc376f7de5136e72239e86363cd96134.tar.gz
scummvm-rg350-1615278ecc376f7de5136e72239e86363cd96134.tar.bz2
scummvm-rg350-1615278ecc376f7de5136e72239e86363cd96134.zip
Upgraded IMuse::doCommand() to support more than 8 parameters.
V6 scripts can specify up to 16 parameters to be passed to doCommand(). In most cases 8 or fewer parameters were used, but occasional uses of 9 or 10 parameters resulted in incorrect iMuse behavior due to lost doCommand() data. ImTrigger was also upgraded to support 8 parameters instead of 4, since the incorrect behavior that was observed involved the use of triggered commands that required more than 4 parameters. Since ImTrigger data is not currently being saved (which is bad), we do not at this time have to go to another savegame format to support the additional ImTrigger data (which is good). This fix corrects a problem in the Tunnel of Love. When the "execution scene" music finishes and the hidden door opens, the Tunnel of Love music is supposed to start up again. In ScummVM, it never would, do to the loss of parameters for a trigger-based "Parameter Fade" command. A bit of miscellaneous cleanup has also been made. svn-id: r9579
Diffstat (limited to 'scumm/script_v8.cpp')
0 files changed, 0 insertions, 0 deletions