aboutsummaryrefslogtreecommitdiff
path: root/scumm/actor.cpp
AgeCommit message (Collapse)Author
2003-09-14reverse my fix for the sarcophagus problem (I reopened that bug report, as ↵Max Horn
this broke lots of other locked boxees. Now that I have dosbox to compared with the original Zak, I see that we are doing something wrong, and have a notion of what that might be; still need to figure out a way how to fix it svn-id: r10249
2003-09-13disabled a stone old hack; Ender, maybe you remember some details about this ↵Max Horn
fix? anybody feel like playtesting the Mystery Vortex, please? :-) svn-id: r10246
2003-09-12fix/workaround for bug #770717 (ZAK: Zak walking on spot)Max Horn
svn-id: r10189
2003-09-11changed actor walking for V2 games a bit; this fixes bug #774529 (Zak: Annie ↵Max Horn
walking in funny places) svn-id: r10185
2003-09-11yet another tiny cleanup.... yeah yeah, I know I am annoyingMax Horn
svn-id: r10182
2003-09-11cleanupMax Horn
svn-id: r10181
2003-09-11fix long standing bug in walkActorOld() (though I have no idea if it affects ↵Max Horn
anything :-) svn-id: r10180
2003-09-11cleanupMax Horn
svn-id: r10179
2003-09-11fixed kBoxLocked handling, bug #771483 (ZAK: Pushing Sarcophagous feet on Mars)Max Horn
svn-id: r10173
2003-09-11cleanupMax Horn
svn-id: r10169
2003-09-09fix for bug #749970 (FT: Animation glitch at the fuel tower)Max Horn
svn-id: r10141
2003-09-09replaced all use of scale items with scale slots. This allowed me to get rid ↵Max Horn
of two big FIXME's, and might fix other scaling bugs in FT/DIG svn-id: r10140
2003-09-09added some comments to a FIXMEMax Horn
svn-id: r10132
2003-09-08fixed yet another bug in redraw logic (which was hidden so far and revealed ↵Max Horn
by my previous fix) svn-id: r10112
2003-09-08moving stuff aroundMax Horn
svn-id: r10111
2003-09-08actually USAGE_BIT_RESTORED must be cleared, tooMax Horn
svn-id: r10110
2003-09-08turns out that in the GFX usage bit conversion process, we accidentally left ↵Max Horn
out this code. This should fix bug #744794 and potentially others svn-id: r10109
2003-09-03Implement the ACTOR_PAN opcode. The only place I know of where it's used isTorbjörn Andersson
between between ship-to-ship combats, so I didn't bother yet to store it in savegames. svn-id: r9988
2003-08-29Replaced VER_V* notation for savegames withJamieson Christian
a simple number. So that it's still obvious that the number refers to version, a VER() macro does nothing to the number but makes it obvious what the number is for. This has the exact same effect as the enum that was going to get more and more lengthy as the savegame version evolved. svn-id: r9901
2003-08-25fix actor position in V1 games (by eyeballing the original in dosbox); still ↵Max Horn
seems to be off 1 pixel vertically (?), and actors still leave dirt svn-id: r9864
2003-08-25fixing off-by-one buglet (harmless in 99% of cases since the 'invalid' ↵Max Horn
_imgBufOffs entries always contain the value of the last valid one) svn-id: r9862
2003-08-25This fix should be v2 onlyTravis Howell
Update comment svn-id: r9858
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