aboutsummaryrefslogtreecommitdiff
path: root/scumm/actor.cpp
AgeCommit message (Collapse)Author
2003-08-23Add commentTravis Howell
svn-id: r9830
2003-08-20v1 zak costume colors should be perfect nowTravis Howell
svn-id: r9796
2003-08-19Remove fixmeTravis Howell
svn-id: r9777
2003-08-16Fix subtitles colors in V1 maniacTravis Howell
svn-id: r9713
2003-08-12Allowed derefActor() and derefActorSafe() to treat actor 0 as a valid actorTorbjörn Andersson
since the original interpreters appear to have allowed it. This fixes bug #786380 ("FOA - FISTS, script crash in Crete"). I do not know what the purpose of actor 0 was in the original. Either it's a no-op, or it's used to store actor default values. Note that in the FOA case the room-33-200 script will loop - at least with the provided savegame - until you leave the room. However, this is quite harmless. svn-id: r9650
2003-08-08remove GF_LOOMJonathan Gray
svn-id: r9603
2003-08-06Add GF_LOOM feature flag for loom games to reduce checks.Travis Howell
Will make it easier to add loom fm towns target in future. svn-id: r9547
2003-07-27init walkdata (fix for bug #770306); move Actor::Actor constructor from ↵Max Horn
header to source file svn-id: r9205
2003-07-27oops this was never meant to be removedMax Horn
svn-id: r9203
2003-07-25fixed setActorCostume for COMI; fixees bug #754421 and hopefully also the ↵Max Horn
issue described in patch #696033 svn-id: r9191
2003-07-24oops, wanted to move talkFrequency initialisation, but only re-moved it, and ↵Max Horn
didn't add it in its new place. bad me! svn-id: r9182
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-22Changed "SCALLING" to "SCALING".Torbjörn Andersson
svn-id: r9134
2003-07-21Fix for bug #770690 and bug #774783Max Horn
svn-id: r9110
2003-07-19moved some functions out of scummvm.cpp into more appropriate files; ↵Max Horn
rearranged stuff inside scummvm.cpp to be grouped a bit more logical svn-id: r9083
2003-07-15Workaround for bug #770724Max Horn
svn-id: r9042
2003-07-13debug/warning/error all automatically output a newlineMax Horn
svn-id: r8991
2003-07-12fix for bug #770308Max Horn
svn-id: r8958
2003-07-12adjusted V2 actor position to match original (MM) interpreter; tweaked ↵Max Horn
adjustXYToBeInBox mod for V2 (so it's clear why it is needed) svn-id: r8952
2003-07-07fix for bug #766532: MI2: look at coffin to MojoMax Horn
svn-id: r8846
2003-07-02fix for bug #753840 (actor placement in V2 games)Max Horn
svn-id: r8714
2003-07-02removed #include "boxes.h" from scumm.h; cleaned up AdjustBoxResult ↵Max Horn
definition & usage; properly deal with larger box distances, thus partially fixing Zak on the airport (but original seems to have used a very different algorithm, so this really is only a partial fix) svn-id: r8710
2003-07-02cleaned up the actor ordering code a bit - it should be now somewhat clearer ↵Max Horn
what it does exactly svn-id: r8709
2003-07-01Fix for bug #763709: DIG: Recent walk regressionMax Horn
svn-id: r8685
2003-06-30fix for bug #743049; might cause regressions, but might also fix e.g. walk ↵Max Horn
script issues svn-id: r8673
2003-06-25added some const qualifiers; moved _bundle & _current_cd_sound from class ↵Max Horn
Scumm to class Sound; some other tweaks svn-id: r8648
2003-06-21Fixed bug #758167. Cleanup.Torbjörn Andersson
svn-id: r8577
2003-06-14renamed _bcr -> _costumeRendererMax Horn
svn-id: r8473
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