aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v6.cpp
AgeCommit message (Collapse)Author
2003-08-06Upgraded IMuse::doCommand() to support more than 8 parameters.Jamieson Christian
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
2003-07-24cleanup: encapsulate some more members of class Actor, and rename ↵Max Horn
newDirection -> targetFacing (since it corresponds to the future value of 'facing'; the distinction between 'facing' and 'direction' is extremly fuzzy) svn-id: r9175
2003-07-22added a FIXMEMax Horn
svn-id: r9121
2003-07-20improved stampObject opcode for FT mine field, still layers? problemPaweł Kołodziejski
svn-id: r9099
2003-07-20some changes for stampObject opcode to be more similiar dissassemblyPaweł Kołodziejski
svn-id: r9098
2003-07-15oops, this was a serious bug: message referred to buf_output (and was used ↵Max Horn
by buf_output[300],) even after buf_output was out of scope svn-id: r9046
2003-07-15factored out some duplicate code into a new method ↵Max Horn
translateTextAndPlaySpeech; removed some completely useless code (why compute 'pointer' when we then throw away the result?) svn-id: r9045
2003-07-14fix for bug #769744 (COMI: Trying to append to a nonexistant stream)Max Horn
svn-id: r9025
2003-07-13debug/warning/error all automatically output a newlineMax Horn
svn-id: r8991
2003-07-06implemented missing puttputt actor opcode 218. this opcode is strange (based ↵Paweł Kołodziejski
of disassembly) svn-id: r8821
2003-07-06added comment for missing puttputt actor opcodePaweł Kołodziejski
svn-id: r8810
2003-07-06added stub opcode 218 for o6_actorOps()Paweł Kołodziejski
svn-id: r8806
2003-07-03code transformation on setScaleItem: this shows that rtScaleTable's are ↵Max Horn
actually (almost) the same as scale slots in V8. svn-id: r8719
2003-06-15made stuff in class Sound protected where possible; moved ↵Max Horn
readCreativeVocFile to imuse_digi.cpp and turned it into a static function; put the DigitalTrackInfo stuff into sound.cpp (keeping it private); removed #includes from sound.h (this cuts down interdependencies a little) svn-id: r8493
2003-06-14Fixed o6_band() to be "logical AND" instead of "logical OR". I've forgottenTorbjörn Andersson
who pointed this out, and I don't know which games use it. svn-id: r8479
2003-06-14runHook -> runInventoryScript, VAR_HOOK_SCRIPT -> VAR_INVENTORY_SCRIPTMax Horn
svn-id: r8468
2003-06-13Added comment on how Sam & Max uses one of the current unimplementedTorbjörn Andersson
opcodes. svn-id: r8456
2003-06-12remove unnecessary newlineMax Horn
svn-id: r8455
2003-06-12Removed S&M Bumpusville hack made unnecessary byJamieson Christian
another fix (presumably the BOT Diner fix). svn-id: r8453
2003-06-11some walk fixesMax Horn
svn-id: r8439
2003-06-07follow our coding conventionsMax Horn
svn-id: r8377
2003-06-07replaced GF_AFTER with _versionMax Horn
svn-id: r8372
2003-06-07compilation fixJonathan Gray
svn-id: r8371
2003-06-05cleanupTorbjörn Andersson
svn-id: r8315
2003-06-02use enqueueText for FT, tooMax Horn
svn-id: r8284
2003-06-02moved blast text code to string.cppMax Horn
svn-id: r8282
2003-06-02seems this breaks in FT; not yet sure why, but disabling this in FT till ↵Max Horn
somebody has a chance to look at it svn-id: r8281
2003-06-02experimental change: replaced drawDescString with enqueueText. fixes ↵Max Horn
text-leftovers when scrolling the Dig (not tested in FT, though) svn-id: r8280
2003-06-02cleaned up the restart/pause/shutdown situation a bit; added comment that ↵Max Horn
explains how restart might be implemented svn-id: r8260
2003-06-01Enabled walk sounds in Indy3EGA/ZakEGA; cleanup (bug #747068)Max Horn
svn-id: r8249
2003-06-01clearUpperMask -> clearCharsetMaskMax Horn
svn-id: r8206
2003-06-01cleanupMax Horn
svn-id: r8203
2003-05-31cleanupMax Horn
svn-id: r8194
2003-05-31cleanupMax Horn
svn-id: r8193
2003-05-31begone, evil typo!Max Horn
svn-id: r8190
2003-05-31apply V6 elevation change to V8, tooMax Horn
svn-id: r8186
2003-05-31fix for part of bug #630570Max Horn
svn-id: r8183
2003-05-31renamed walk_script/talk_script -> walkScript/talkScriptMax Horn
svn-id: r8178
2003-05-30rewrote Actor::needBgReset related code (this could cause regressions...)Max Horn
svn-id: r8126
2003-05-28don't hardcode 50 here, use _numNewNamesMax Horn
svn-id: r8057
2003-05-28copy&paste mistakeMax Horn
svn-id: r8049
2003-05-28cleanup; added hackish fix for bug #744441Max Horn
svn-id: r8048
2003-05-26tightened hack condition a bitMax Horn
svn-id: r8027
2003-05-26workaround for bug #743363Max Horn
svn-id: r7980
2003-05-25brutally remove all o6_kernelSetFunctions subop stubs - we need to find out ↵Max Horn
the places where they are actually called, and with how many params, if we ever want to implement them svn-id: r7937
2003-05-25workaround bug #742979Max Horn
svn-id: r7933
2003-05-24work around for comi script calling o6_getActorRoom(255)Max Horn
svn-id: r7912
2003-05-24cleanupMax Horn
svn-id: r7892
2003-05-24corrected FIXMEMax Horn
svn-id: r7891
2003-05-24temporary work around for bug #742676 (game won't exit anymore, but ↵Max Horn
behaviour is incorrect) svn-id: r7889