aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v5.cpp
AgeCommit message (Collapse)Author
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
2003-06-02fix for indy3 VGA script bug (bug #743314)Max Horn
svn-id: r8259
2003-06-01Enabled walk sounds in Indy3EGA/ZakEGA; cleanup (bug #747068)Max Horn
svn-id: r8249
2003-06-01Reverted the recent o5_getClosestObjActor() change and fixed it byTorbjörn Andersson
measuring the distance in characters for V2 games instead. Now Edna won't bring the same strange kid into the cell over and over again. If necessary, we can still fix o5_getClosestActor() to handle larger distances. It just takes a few more changes than I first thought. svn-id: r8243
2003-05-31some setObjectName changes. I'd really like to switch V2-V5 to use ↵Max Horn
rtObjectName resources, too svn-id: r8171
2003-05-30Workaround for bug #746349Max Horn
svn-id: r8157
2003-05-30modified o5_getClosestObjActor to find actors/objects more than 255 pixels awayMax Horn
svn-id: r8143
2003-05-30rewrote Actor::needBgReset related code (this could cause regressions...)Max Horn
svn-id: r8126
2003-05-26work around bug #743615Max Horn
svn-id: r8006
2003-05-24cleanup / minor tweakMax Horn
svn-id: r7890
2003-05-23replaced many unsafe uses of derefActorSafe by derefActor; replaced ↵Max Horn
derefActorSafe/assert pairs by derefActor (gives better error message); replaced various derefActorSafe/if(a!=0) pairs by derefActor (in cases where the deref should never fail, ever, except due to a bug in ScummVM) svn-id: r7859
2003-05-23clarified / tightened the o5_actorSet hack for actor 0 (it seems to be there ↵Max Horn
for the same reasons as in V2: only to set a default actor talk color) svn-id: r7857
2003-05-23v2 fix for o5_getDist (thx segra)Max Horn
svn-id: r7845
2003-05-23added tons of asserts; added warnings for other cases where we so far ↵Max Horn
silently ignored invalid actors; replaced a few of such warnings with asserts (if they are needed somewhere, feel free to re-add them, but this time with a comment explaining *why* - i.e. bug id, or explanation on how to reproduce the problem) svn-id: r7844
2003-05-23o5_walkActorToActor cleanup, and fixed for V2Max Horn
svn-id: r7841
2003-05-23some well placed asserts (triggering any of those means with 99% a bug in ↵Max Horn
some other place; so don't just remove the asserts if you trigger one of 'em! svn-id: r7840
2003-05-22from the MM/Zak scripts, the code etc. it's clear that unk2 is the sentence ↵Max Horn
preposition svn-id: r7827
2003-05-22renamed talkFrame1/talkFrame2 to talkStartFrame/talkStopFrameMax Horn
svn-id: r7819
2003-05-21many pedantic warning fixes (and some actual potential buglets fixed, too)Max Horn
svn-id: r7795