aboutsummaryrefslogtreecommitdiff
path: root/actor.cpp
AgeCommit message (Collapse)Author
2002-07-18fix for #583166 (hoagie doesn't enter mansion correctly); moved putActor ↵Max Horn
into class Actor svn-id: r4587
2002-07-16biiig checkin: removed more stuff from scumm.h; added new headers resource.h ↵Max Horn
and object.h svn-id: r4579
2002-07-16got rid of _xPos, _yPos, _dir members in class ScummMax Horn
svn-id: r4578
2002-07-16added costume.h; bumped build date in scumm.h (we have some quite big ↵Max Horn
changes after all); switched ll and lr in the boxes code so that they really are what they are named after: lower left and right coords; removed some stuff from scumm.h/boxes.h svn-id: r4575
2002-07-16fixed #555647; got rid of some FIXME'sMax Horn
svn-id: r4570
2002-07-15added Actor::isInClass convenience method; fixed typo in object.cpp; moved ↵Max Horn
some functions from class Scumm to LoadedCostume svn-id: r4560
2002-07-15simplified the path finding code for 'old' games (this included getting rid ↵Max Horn
of some global vars etc.) svn-id: r4557
2002-07-15tiny fix to account for the fact that GF_SMALL_HEADER games have walk box 0Max Horn
svn-id: r4554
2002-07-15fix an obscure typoVincent Hamm
svn-id: r4552
2002-07-13fixed FIXME; this seems to be the correct way for walkActorOld to workMax Horn
svn-id: r4532
2002-07-08fixed my bogus QNX fix :-)Max Horn
svn-id: r4495
2002-07-08two more small QNX fixesMax Horn
svn-id: r4493
2002-07-08added some typecasts that might help QNX; updated NewGui TODO listMax Horn
svn-id: r4489
2002-07-07indent runMax Horn
svn-id: r4480
2002-07-07indent runMax Horn
svn-id: r4478
2002-06-07moved the code that enforces all actors to be redrawn on a full redraw to a ↵Max Horn
more appropriate location; fixed the rendering sort algorithm (it now uses a stable sort algorithm, namely bubble sort) - it used to produce a 'flicker' effect in some cases previously svn-id: r4415
2002-06-04more Actor class cleanup; renamed unkRoomFunc4 to palManipulate and added an ↵Max Horn
icky, wrong implementation for it - yes this is complete nonsense but I'll try to replace it with the right thing RSN :-) svn-id: r4404
2002-06-03fixed warningMax Horn
svn-id: r4402
2002-06-03remove obsolete stuffMax Horn
svn-id: r4400
2002-06-01added some comments; fixed #558310Max Horn
svn-id: r4391
2002-05-25fixed a missplaced memset in akos code. Fixed a typo in the MakefileVincent Hamm
svn-id: r4384
2002-05-23removed some debug output I left in accidentally in my last checkin; removed ↵Max Horn
some uses of g_scumm (see Endy, I promised I'd do it <g>); removed getSideOfLine(); some clean up svn-id: r4378
2002-05-23removed/disabled debug codeMax Horn
svn-id: r4377
2002-05-23moved more stuff out of the Scumm class (usage of g_scumm is only temporary, ↵Max Horn
Endy, no worries <g>); some other cleanup svn-id: r4376
2002-05-22Reenabled the 1024 flag for direction interpolationVincent Hamm
svn-id: r4372
2002-05-22Fixed a bit of dig's walking bugs. But I'm still diabling the walk script ↵Vincent Hamm
since it's causing troubles.. svn-id: r4371
2002-05-20Temp removal of the actor walk script execution to fix dig's walkingVincent Hamm
svn-id: r4364
2002-05-20moved isCostumeInUse() to costume.cpp; make use of isInCurrentRoom(); added ↵Max Horn
missing FIXME comment for a FT hack svn-id: r4362
2002-05-20setupShadowPalette doesn't belong into actor.cpp; it's only used in ↵Max Horn
script_v2.cpp, hence moving it there svn-id: r4360
2002-05-14removed actor.h from scumm.h; added _scumm member var to class Actor; some ↵Max Horn
var renaming in preparation of more methord refactoring svn-id: r4333
2002-05-14fix some warnings, odd code, and prevent Simon segfaulting when wrong game ↵James Brown
specified. svn-id: r4321
2002-05-14refactored parts of actor.cpp: many methods are now members of class Actor ↵Max Horn
instead of class Scumm. This is still work in progress! svn-id: r4319
2002-05-11once more changed the face direction calculation; allows to remove MI2 ↵Max Horn
bridge hack in script_v1.cpp svn-id: r4277
2002-05-10one more direction 'fix', getting rid of one FIXME hack for Indy 4Max Horn
svn-id: r4275
2002-05-10Two fixmes - one for iMUSE bug in Sam and Max, the other for MI1VGA scalingPaweł Kołodziejski
svn-id: r4270
2002-05-10Fix mystery vortex freeze.James Brown
svn-id: r4264
2002-05-10use normalizeAngle; use MF_NEW_LEG/MF_IN_LEG/MF_TURN/MF_LAST_LEG instead of ↵Max Horn
1/2/4/8 - easier to understand, and that's what we have these consts for anyway, no? svn-id: r4263
2002-05-10renamed fixActorDirection to setActorDirection; fixed a bug causing wrong ↵Max Horn
actor directions svn-id: r4260
2002-05-01Another fix for LoomCD. Now Valgrind does not reports any errorLionel Ulmer
anymore in LoomCD (well, with a small hack still active :-) ). svn-id: r4156
2002-04-24Quick fix to ft's fuel tower bugVincent Hamm
svn-id: r4071
2002-04-24Fix Indy4/MI2 crash due to VirtScroll code.James Brown
Cleanup \N's - For gods sake fix your CVS client :) svn-id: r4067
2002-04-22Made great progress with the akos codec 5. Placement is now correct but ↵Vincent Hamm
still experiencing bugs with background reset. Also fixed missing dialogues in dig when the talking actor isn't in the room (fix not 100% correct yet). svn-id: r4057
2002-04-21Fix (hack) imuse for samnmax. Fix (hack) samnmax inventory screenVincent Hamm
svn-id: r4037
2002-04-21Add fixme hack to room 17 FOA cost animation.James Brown
Remove \M from costume.cpp - how do these get here?!?! :) svn-id: r4032
2002-04-18Move putClass forceclip into costume renderer. Fixes Loom bugs.James Brown
svn-id: r3996
2002-04-18Remove box==0 mask forcing. Yaz - this isn't right.. it breaks all the other ↵James Brown
games, and I don't think something like this would be a game specific hack. svn-id: r3985
2002-04-17Forced masking for box 0. Correct a few things. Bobbin is buggy when ↵Vincent Hamm
starting a new game in Loom, but that's the consequence of another bug. svn-id: r3984
2002-04-11Fix anti-aliasing crash and a Zak crash. Note there are still AAJames Brown
artifacts left on screen. Anyone want to fix this? :) svn-id: r3909
2002-04-11Large pointless reindentation of all the code. Also fixed a few mistakesJames Brown
in the object flags code cleanup. Flags used: indent *.cpp -br -bap -nbc -lp -ce -cdw -brs -nbad -nbc -npsl -nip -ts2 -ncs -nbs -npcs -nbap -Tbyte -Tuint32 -Tuint8 -Tuint16 -TArrayHeader -TMemBlkHeader -TVerbSlot -TObjectData -Tvoid -TImageHeader -TRoomHeader -TCodeHeader -TResHdr -TBompHeader -TMidiChannelAdl -TGui -TScumm -TSoundEngine -TPart -TPlayer svn-id: r3908
2002-04-11various code cleanupsLudvig Strigeus
svn-id: r3907