aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v5.cpp
AgeCommit message (Collapse)Author
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
2003-05-13cleanupMax Horn
svn-id: r7488
2003-05-10renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and ↵Max Horn
_realWidth/_realHeight -> _screenWidth/_screenHeight (inspired by MadMoose, but I'll take the blame - still this seems much more logical & intuitive) svn-id: r7423
2003-05-08init all VAR_* variables to 0xFF; replaced access to _vars in the form ↵Max Horn
_vars[VAR_*] by VARS(VAR_*) which performs a validity checK; renamed _vars to _scummVars to make sure I updated all places; fixed two places where V6 and newer games would access V5 vars (but there are still some left, it seems); checked VAR access for now only generates a warning svn-id: r7393
2003-05-08fixed o2_resourceRoutinesMax Horn
svn-id: r7391
2003-05-08experimental fix for Zak256 (see bug #733964)Max Horn
svn-id: r7387
2003-05-07fixed bug #734057Max Horn
svn-id: r7386
2003-05-07Patch #733099: DIG: Experimental camera fix (should fix bugs #716350 and ↵Max Horn
#659158) svn-id: r7384
2003-05-05unified o?_isEqual, too (but not as nice due to hack)Max Horn
svn-id: r7340
2003-05-05cleanup / reduced code duplicationMax Horn
svn-id: r7339
2003-05-04remove hack that should not have been there in the first place...Jonathan Gray
svn-id: r7321
2003-05-04erik's fix for the airplane bug in Indy3Max Horn
svn-id: r7318
2003-05-04cleanupMax Horn
svn-id: r7314
2003-05-04cleanup; got rid of o2_printEgoMax Horn
svn-id: r7300
2003-05-04o5_dummy -> o2_dummy (it's not used by the V5 code at all...)Max Horn
svn-id: r7297
2003-05-03Patch #730800: EGA LOOM: Hack to fix palette problem (also helps MonkeyEGA)Max Horn
svn-id: r7290
2003-05-03only moved stuff (to group sound related stuff)Max Horn
svn-id: r7288
2003-05-03Remove some test stuffJames Brown
svn-id: r7278
2003-05-03Fix assert with hack return. Need to fix these !a things properly one day.James Brown
svn-id: r7277
2003-05-01off by one errorJonathan Gray
svn-id: r7248
2003-05-01various music related changes and cleanup; also modified MonkeyVGA music ↵Max Horn
sync, at least the intro is much better synced now; not sure about other parts of it / other games svn-id: r7237
2003-04-30cleanupMax Horn
svn-id: r7215
2003-04-30add patch #729633 from erik that lets you turn the straw to gold, wonder if ↵Jonathan Gray
loom ega is finishable now :) svn-id: r7211
2003-04-29change/comment to cursorCommond sub/op everyone is talking aboutJonathan Gray
svn-id: r7198
2003-04-29added some thoughts to Erik's (very nice!) patchMax Horn
svn-id: r7196