aboutsummaryrefslogtreecommitdiff
path: root/actor.cpp
AgeCommit message (Collapse)Author
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
2002-04-11Remove unneeded init stuffJames Brown
svn-id: r3905
2002-04-11moved the dig angle calculation into getAngleFromPosLudvig Strigeus
svn-id: r3904
2002-04-06Final loom fixes. LoomCD is now completable, apart from sound glitches and ↵James Brown
lack of masking. svn-id: r3880
2002-03-29Fix some VC6++ debug actor-related crashes.James Brown
Mask, Charset color and WaitForMessage hangs still remain. svn-id: r3838
2002-03-26Update project file, and add some checks for uninitied arrays. Stops full ↵James Brown
throttle crashing, until the AKOS bug. svn-id: r3835
2002-03-20Preliminary redesigned of the virtual screen system. Now all the screen ↵Vincent Hamm
buffers are in a single 320*200 buffer, making video subprocess far more easy to do. On glitch remain in inventory's black area svn-id: r3793
2002-03-20I know it probably doesn't look like much, but this is a start to the reorg ↵James Brown
- basically I've shuffled the Scumm struct around, and turned it into a Class - labeling and grouping functions that are related. svn-id: r3792
2002-03-19khaleks fix for indy3/zak fonts.James Brown
svn-id: r3791
2002-03-18Fixed boxes but 1 bug remain. Broke a little indy3 while fixing object flagsVincent Hamm
svn-id: r3789
2002-03-11Fixed more box issues in zak/indy3/loomcdVincent Hamm
svn-id: r3729
2002-03-11Fixed boxes in Zak and Indy. Bugs may remain.Vincent Hamm
svn-id: r3727
2002-03-10Apply some patches by syke to prevent buffer overruns, etc.James Brown
svn-id: r3723
2002-03-09Fixed NUM_aCTORS for MI2/Indy4, etc.James Brown
Probably broke some saved games again. svn-id: r3700
2002-03-06Fixed typo.James Brown
svn-id: r3666
2002-03-06Applied cleanup and scaling patch by Rob.James Brown
svn-id: r3665