aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v5.cpp
AgeCommit message (Collapse)Author
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
2003-05-21constness fixesMax Horn
svn-id: r7787
2003-05-21added v2 cutscene support (not quite complete; and crashes at some point in ↵Max Horn
maniac because VAR_EGO contains a bogus value); cleanup svn-id: r7781
2003-05-20cleanupMax Horn
svn-id: r7756
2003-05-20renamed various things for clarityMax Horn
svn-id: r7754
2003-05-20added enum's for the known actor/object claasses; extended putClass/getClass ↵Max Horn
to translate the X/Y flip classes; made code use the new enum's; some other cleanup svn-id: r7753
2003-05-20renamed o2_matrixOps -> o2_setBoxFlags; V2 'objY' fixes; cleanupMax Horn
svn-id: r7739
2003-05-19Fixed VC++ warningsJamieson Christian
svn-id: r7690
2003-05-19renamed ScriptSlot::unk1/unk2 to freezeResistant/recursiveMax Horn
svn-id: r7688
2003-05-18warning() automatically outputs a newline after the warning message; adding ↵Max Horn
a newline into the format string adds another newline (which contains the single char '!') svn-id: r7647
2003-05-18wow, now this is a stupid bug... fixes various issues in Zak256 at the very ↵Max Horn
least svn-id: r7622
2003-05-17make gcc 3.3 happy. a->scalex and a->scaley are of type char and cannot be ↵Oliver Kiehl
greater 255 svn-id: r7619
2003-05-16SentenceTab unk4/unk3 are the sentence objects (think of: 'Use objectA with ↵Max Horn
objectB' or 'Give objectA to objectB' etc.); added a little more V2 sentence hackery; added a FIXME regarding some strange sentence code (accessing objectB before it is set) in script.cpp svn-id: r7562
2003-05-15cleanupMax Horn
svn-id: r7550
2003-05-15added commentMax Horn
svn-id: r7535
2003-05-14opcodes are just one byteMax Horn
svn-id: r7513
2003-05-13NUM_ACTORS -> _numActors (for consistency)Max Horn
svn-id: r7489