aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v5.cpp
AgeCommit message (Collapse)Author
2003-08-27OoopsTravis Howell
svn-id: r9877
2003-08-27Add change ot fix pallete issue in 256 color small_header gamesTravis Howell
svn-id: r9874
2003-08-27Fix room palette issues in small_header games.Travis Howell
Fix is only for EGA games so far. svn-id: r9873
2003-08-23Added comment keyword, per FingolfinJamieson Christian
svn-id: r9831
2003-08-18Commented MI1 Demo fix.Jamieson Christian
svn-id: r9764
2003-08-17OOpsTravis Howell
svn-id: r9735
2003-08-17Fix regressions in MI1 AmigaTravis Howell
Revert last change to MI1 demo fix and make it monkeyega target only. svn-id: r9732
2003-08-16Changed fix for hanging MI1 EGA Demo afterJamieson Christian
finding GFX regressions in Indy3. New fix runs exit script immediately when nuking the resource for the current room, and resets the current room to 0 (nothing). Again, a warning is output in case other cases of nuking the current room are found and have undesirable behavior as a result of this change. svn-id: r9731
2003-08-16Fixed hang in MI1 EGA Demo. Hang was the resultJamieson Christian
of a conflict between two scripts trying to putActorInRoom() on the same actor. One script was trying to reset an actor which had already been appropriated and set up by another script. A warning is displayed when putActorInRoom() is ignored, just in case this crops up in other games and causes undesirable behavior. (I tested with MI2 up until Woodtick, and didn't encounter any places where the opcode had to be ignored.) svn-id: r9727
2003-08-13Explicitly stated a bit masking to please VC.NET2003 runtime small types ↵Bertrand Augereau
conversion checks. svn-id: r9674
2003-08-13Explicitly stated a bit masking to please VC.NET2003 runtime small types ↵Bertrand Augereau
conversion checks. svn-id: r9670
2003-08-13Give pass its own idTravis Howell
svn-id: r9654
2003-08-12Allowed derefActor() and derefActorSafe() to treat actor 0 as a valid actorTorbjörn Andersson
since the original interpreters appear to have allowed it. This fixes bug #786380 ("FOA - FISTS, script crash in Crete"). I do not know what the purpose of actor 0 was in the original. Either it's a no-op, or it's used to store actor default values. Note that in the FOA case the room-33-200 script will loop - at least with the provided savegame - until you leave the room. However, this is quite harmless. svn-id: r9650
2003-08-10Replaced use of File with use of SaveFileManager where appropriate.Marcus Comstedt
svn-id: r9627
2003-08-08remove GF_LOOMJonathan Gray
svn-id: r9603
2003-08-06get rid of GF_INDY3 again, and also remove GID_INDY3_256 and GID_INDY3_TOWNSMax Horn
svn-id: r9554
2003-08-06Add GF_LOOM feature flag for loom games to reduce checks.Travis Howell
Will make it easier to add loom fm towns target in future. svn-id: r9547
2003-08-06Add GF_INDY3 feature flag for indy3 games to reduce checksTravis Howell
Remove GF_ADLIB_DEFAULT since it is no longer used svn-id: r9546
2003-08-03fix warningMax Horn
svn-id: r9443
2003-08-03removed obsolete warningMax Horn
svn-id: r9442
2003-08-03o5_getStringWidth was missing getResultPos() (thanks to _Q for pointing this ↵Max Horn
out) svn-id: r9441
2003-07-31cleanup for some comments & indentionMax Horn
svn-id: r9341
2003-07-31Forward-port ZakV2 hacks from 0.5.0 branchJames Brown
svn-id: r9332
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-23fm towns cd audio fix from HibernatusTravis Howell
svn-id: r9141
2003-07-22fix for bug #775839; unified the various Indy3 checks (this gets annoying, ↵Max Horn
maybe we can merge the three GIDs after 0.5.0; any difference could be handled via _feature flags (e.g. added a GF_TOWNS flag) svn-id: r9137
2003-07-18Add Indy3 FM Towns support, patch #773434Travis Howell
svn-id: r9062
2003-07-13debug/warning/error all automatically output a newlineMax Horn
svn-id: r8991
2003-07-13Revert my last change, made some in text text unreadable (black).Travis Howell
Could more palette change be required for 32 color Amiga versions ? svn-id: r8965
2003-07-13Commit fixme to prevent some issues on Amiga verison of MI2Travis Howell
svn-id: r8963
2003-07-13consistent case statement options, and make warnings more usefulJonathan Gray
svn-id: r8961
2003-07-06More fixes from HibernatusTravis Howell
svn-id: r8792
2003-06-30partially implemented the Audio CD query opcode in Zak256 (see bug #762589); ↵Max Horn
cleanup svn-id: r8680
2003-06-26fix for 'default talk color' use of actorSet opcode (fix for bug #755888)Max Horn
svn-id: r8655
2003-06-24still don't know how the o5_startMusic opcode works in Zak (if it is even ↵Max Horn
music releated), but this way makes more sense (thanks to Hibernatus) svn-id: r8643
2003-06-21finally implemented this TODO: using class File instead of fopenMax Horn
svn-id: r8588
2003-06-20seems monkeyega & monkeyvga have byte values for the object name offset, tooMax Horn
svn-id: r8571
2003-06-20fixed Zak256 (and possibly other V3 games); Not quite sure if the behaviour ↵Max Horn
is correct for V4 games, that needs testing svn-id: r8568
2003-06-19instead of casting to byte, rather allow offsets > 255Max Horn
svn-id: r8564
2003-06-18Fixed MSVC warningsJamieson Christian
svn-id: r8544
2003-06-18fix for o5_walkActorToActor; this seems to be more like what V3 games expect ↵Max Horn
(and fixes bug #755113); but I don't know for sure about V5 games (and I have to wonder if the corresponding code for V6 isn't maybe wrong, too...?) svn-id: r8538
2003-06-14Patch #754151: Removed READ_*_UNALIGNED and always read stuff bytewise; ↵Max Horn
augmented by some more changes of mine svn-id: r8482
2003-06-14runHook -> runInventoryScript, VAR_HOOK_SCRIPT -> VAR_INVENTORY_SCRIPTMax Horn
svn-id: r8468
2003-06-13Hack to avoid bad actor crash in o5_walkActorToActor() when using the camelTorbjörn Andersson
in the FOA "wits" path. We have a number of these hacks now... svn-id: r8460
2003-06-11some walk fixesMax Horn
svn-id: r8439
2003-06-07Fix for bug #654286: ZAK256: Ending credits are illegibleMax Horn
svn-id: r8383
2003-06-07follow our coding conventionsMax Horn
svn-id: r8377
2003-06-07replaced GF_AFTER with _versionMax Horn
svn-id: r8372
2003-06-04looks like a glitch?Max Horn
svn-id: r8302
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