aboutsummaryrefslogtreecommitdiff
path: root/scumm/actor.cpp
AgeCommit message (Collapse)Author
2003-05-28fix actor redraw problems in COMI (and possibly other AKOS games); might ↵Max Horn
cause regressions, though. See also patch #699980 svn-id: r8064
2003-05-28const as const can!Max Horn
svn-id: r8058
2003-05-26moved Actor SaveLoadEntry definition to actor.cpp; made ↵Max Horn
findPathTowards/findPathTowardsOld members of Actor; cleanup svn-id: r7988
2003-05-24don't use _gameDataPath directly; minor cleanupMax Horn
svn-id: r7907
2003-05-23Fixed VC++ warningJamieson Christian
svn-id: r7861
2003-05-23when iterating from 1 to _numActors over all actors, use _actors[] directly ↵Max Horn
instead of derefActor() (unnecessary overhead); added range check to derefActor, and error out if invalid actor is accessed svn-id: r7858
2003-05-22fixed meteor animation in MM (and probably others in MM and Zak)Max Horn
svn-id: r7822
2003-05-22renamed talkFrame1/talkFrame2 to talkStartFrame/talkStopFrameMax Horn
svn-id: r7819
2003-05-22fix V2 actor initial mouth's (they were missing)Max Horn
svn-id: r7818
2003-05-22freeze scripts & hide mouse during cutscenes; addde Actor::isPlayer method ↵Max Horn
that should work in V2, too; fixed o2_walkActorToObject svn-id: r7815
2003-05-21many pedantic warning fixes (and some actual potential buglets fixed, too)Max Horn
svn-id: r7795
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-20got rid of the evil locked-box hack in adjustXYToBeInBox; instead check for ↵Max Horn
locked boxes in walkActorOld, which seems to work just as well (and hopefully better) svn-id: r7750
2003-05-20this is 100% equivalent to the old walkActorOld() code - I just made an ↵Max Horn
equivalence transformation (anybody who doesn't believe that, I can show you step by step how to transform the code :-) svn-id: r7749
2003-05-20fixed warning outputMax Horn
svn-id: r7735
2003-05-20merged common codeMax Horn
svn-id: r7720
2003-05-18fix for various regressions (not quite sure if the check for V2/v3 is right, ↵Max Horn
but seems to work so far) svn-id: r7648
2003-05-18implemented proper 'invalid walkbox' handling in older games (in newer ↵Max Horn
games, box 0 is used as invalid box, while in older games this is a legal box and box 255 is the 'invalid' box); removed lots of FIXME's which were needed to cope with ScummVM not implementing the invalid walkbox stuff properly in the past; removed other actor FIXMEs. svn-id: r7642
2003-05-17V2 actor heads fixed (to their shoulders, ha-ha... errm ... I thought it was ↵Max Horn
funny when I wrote it 8-) svn-id: r7611
2003-05-17proper walk animation in Zak (at the expense of Zak's head, for now ;-)Max Horn
svn-id: r7589
2003-05-16print some useful info, tooMax Horn
svn-id: r7569
2003-05-16TypoTravis Howell
svn-id: r7568
2003-05-16Add comment to fixmeTravis Howell
svn-id: r7567
2003-05-15ScummPoint -> ScummVM::PointMax Horn
svn-id: r7543
2003-05-14V2 text drawingMax Horn
svn-id: r7502
2003-05-14Patch #737497 / Bug #737387Max Horn
svn-id: r7495
2003-05-13NUM_ACTORS -> _numActors (for consistency)Max Horn
svn-id: r7489
2003-05-13cleanupMax Horn
svn-id: r7487
2003-05-12modified akos / 'old' costume (charset) masking code to a) match each other; ↵Max Horn
also, the costume.cpp code looks again checks _zbuf != 0 even for non-SMALL_HEADER games, as it used to 1 year ago ;-) (note: this change is kinda experimental; might fix some bugs, might introduce some regressions) svn-id: r7473
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-08oops that was an accidental changeMax Horn
svn-id: r7390
2003-05-06remove uneeded fixmeJonathan Gray
svn-id: r7362
2003-05-05renamed XYFactor/YXFactor to XYFactor, YXFactor/deltaYFactor (they denote ↵Max Horn
how much to move each step in the x/y direction); added several FIXME comments (after 0.4.0 we really shold revise this code) svn-id: r7344
2003-05-03Patch #730800: EGA LOOM: Hack to fix palette problem (also helps MonkeyEGA)Max Horn
svn-id: r7290
2003-05-03Patch #731760: LOOM: "Bobbin walks backwards" hackMax Horn
svn-id: r7285
2003-04-22cleanup; small fix for GF_OLD256 games; also the head hack for indy3 is not ↵Max Horn
needed anymore svn-id: r7075
2003-04-20Pedantic stats-boosting typo fix :)James Brown
svn-id: r7039
2003-04-16fixed actor palette for nonblocked gamesPaweł Kołodziejski
svn-id: r7014
2003-04-08changed range from GF_OLD256 to GF_AFTER_V3Paweł Kołodziejski
svn-id: r6940
2003-03-28cleanupMax Horn
svn-id: r6877
2003-03-24cleanupMax Horn
svn-id: r6855
2003-03-08fix actor gliding caused by my walk_script hackMax Horn
svn-id: r6773
2003-03-08enabled walk scriptsMax Horn
svn-id: r6772
2003-03-08cleanup (should cause no behavior change)Max Horn
svn-id: r6766
2003-03-07properly init Actor objects instead of one big evil hackish memset...Max Horn
svn-id: r6733
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanupPaweł Kołodziejski
svn-id: r6718
2003-03-02patch #696030: CMI: More actor direction fixesMax Horn
svn-id: r6662