aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v6.cpp
AgeCommit message (Collapse)Author
2003-10-03introduced namespace Scumm; made #include statements use scumm/ prefix ↵Max Horn
explicitly svn-id: r10571
2003-10-02renamed class Scumm to ScummEngine (consisten with other engine names; also ↵Max Horn
makes room for a potential 'Scumm' namespace) svn-id: r10549
2003-09-26a little betterPaweł Kołodziejski
svn-id: r10419
2003-09-26added v6 version of stamp object opcodePaweł Kołodziejski
svn-id: r10418
2003-09-26now more match dissassemblyPaweł Kołodziejski
svn-id: r10416
2003-09-24Whitespace changesTorbjörn Andersson
svn-id: r10390
2003-09-14moved Actor x/y to _pos.x/_pos.y -> this makes it much easier to grep for ↵Max Horn
access of the actor position svn-id: r10253
2003-09-13fixed badly commitPaweł Kołodziejski
svn-id: r10244
2003-09-13implemented fileWrite opcodePaweł Kołodziejski
svn-id: r10242
2003-09-13remove path in filename at delete func tooPaweł Kołodziejski
svn-id: r10239
2003-09-13fixed size logic in readFileToArray()Paweł Kołodziejski
svn-id: r10238
2003-09-13implemented fileread opcodePaweł Kołodziejski
svn-id: r10232
2003-09-13since _hFileTable is only used by Scumm_v6, there is no reason to put it ↵Max Horn
into class Scumm svn-id: r10227
2003-09-13implemented opcodes: openfile and closefilePaweł Kołodziejski
svn-id: r10226
2003-09-13a little updated opcode: openFile and deleteFilePaweł Kołodziejski
svn-id: r10221
2003-09-11cleanupMax Horn
svn-id: r10179
2003-09-11cleanupMax Horn
svn-id: r10169
2003-09-09cleanup; fix for bug #795942 (COMI: text display off screen) and #785760 ↵Max Horn
(COMI: Lockup/crash on Skull Island) svn-id: r10144
2003-09-09fix for bug #782086 (COMI: a long walk)Max Horn
svn-id: r10143
2003-09-07cleanup/refactoringMax Horn
svn-id: r10070
2003-09-03add some stub cases for later humongous games, queue loading and a ↵Jonathan Gray
decodeParseString case svn-id: r9985
2003-08-28add readINI stub (a HEv7 op)Jonathan Gray
svn-id: r9894
2003-08-15assert that string variable actually exists before we start doing ↵Jonathan Gray
comparisons against the string svn-id: r9696
2003-08-13Explicitly stated a bit masking to please VC.NET2003 runtime small types ↵Bertrand Augereau
conversion checks. svn-id: r9674
2003-08-13Fix for bug #787841 ("SAM: Crash when using retriever on Max"). ForTorbjörn Andersson
whatever reason, o6_walkActorToObj() was trying to find the coordinates for an object that was marked as being in the inventory. svn-id: r9664
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