aboutsummaryrefslogtreecommitdiff
path: root/scumm/actor.cpp
AgeCommit message (Collapse)Author
2003-06-07follow our coding conventionsMax Horn
svn-id: r8377
2003-06-07replaced GF_AFTER with _versionMax Horn
svn-id: r8372
2003-06-06Hack to fix the placement of the green transparency on the tank in the HallTorbjörn Andersson
of Oddities in Sam & Max. As far as I can tell, this was a bug in the original game as well, so this is one of the rare cases where I think a hack is ok even as a long-term solution. svn-id: r8347
2003-06-05clarified commentMax Horn
svn-id: r8328
2003-06-05proper const castMax Horn
svn-id: r8319
2003-06-05did a bit of cleaning and added TODOs ;)Bertrand Augereau
svn-id: r8310
2003-06-05use the global BaseCostumeRenderer instead of reinstancing it every timeBertrand Augereau
svn-id: r8309
2003-06-01Enabled walk sounds in Indy3EGA/ZakEGA; cleanup (bug #747068)Max Horn
svn-id: r8249
2003-05-31ah well. just get rid of this again. this fixes some actor freezes in The ↵Max Horn
Dig statue room, and shouldn't be necessary anymore anyway svn-id: r8181
2003-05-31renamed walk_script/talk_script -> walkScript/talkScriptMax Horn
svn-id: r8178
2003-05-30rewrote Actor::needBgReset related code (this could cause regressions...)Max Horn
svn-id: r8126
2003-05-29cleanupMax Horn
svn-id: r8109
2003-05-29they are getting more and more similar :-)Max Horn
svn-id: r8073
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