Commit Graph

87 Commits

Author SHA1 Message Date
Max Horn 43b8300eb2 fixed FIXME; this seems to be the correct way for walkActorOld to work
svn-id: r4532
2002-07-13 11:56:53 +00:00
Max Horn 0ea6fac174 fixed my bogus QNX fix :-)
svn-id: r4495
2002-07-08 13:44:00 +00:00
Max Horn 204a539419 two more small QNX fixes
svn-id: r4493
2002-07-08 13:33:10 +00:00
Max Horn b00225b9dc added some typecasts that might help QNX; updated NewGui TODO list
svn-id: r4489
2002-07-08 01:04:29 +00:00
Max Horn ad4809459d indent run
svn-id: r4480
2002-07-07 20:25:23 +00:00
Max Horn cb86e11583 indent run
svn-id: r4478
2002-07-07 19:31:51 +00:00
Max Horn ebcee86279 moved the code that enforces all actors to be redrawn on a full redraw to a 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-07 16:54:11 +00:00
Max Horn d35eed21f1 more Actor class cleanup; renamed unkRoomFunc4 to palManipulate and added an 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-04 23:32:53 +00:00
Max Horn 08cdef1619 fixed warning
svn-id: r4402
2002-06-03 21:52:34 +00:00
Max Horn 9ca2964e74 remove obsolete stuff
svn-id: r4400
2002-06-03 21:49:46 +00:00
Max Horn c96245f631 added some comments; fixed #558310
svn-id: r4391
2002-06-01 21:45:15 +00:00
Vincent Hamm 657a92e964 fixed a missplaced memset in akos code. Fixed a typo in the Makefile
svn-id: r4384
2002-05-25 18:56:28 +00:00
Max Horn 0620c9d66a removed some debug output I left in accidentally in my last checkin; removed some uses of g_scumm (see Endy, I promised I'd do it <g>); removed getSideOfLine(); some clean up
svn-id: r4378
2002-05-23 21:22:08 +00:00
Max Horn de99ad11b6 removed/disabled debug code
svn-id: r4377
2002-05-23 00:45:59 +00:00
Max Horn 8fd03ae929 moved more stuff out of the Scumm class (usage of g_scumm is only temporary, Endy, no worries <g>); some other cleanup
svn-id: r4376
2002-05-23 00:37:00 +00:00
Vincent Hamm a41fd620cb Reenabled the 1024 flag for direction interpolation
svn-id: r4372
2002-05-22 12:35:17 +00:00
Vincent Hamm 22f5be69f6 Fixed a bit of dig's walking bugs. But I'm still diabling the walk script since it's causing troubles..
svn-id: r4371
2002-05-22 12:24:48 +00:00
Vincent Hamm 1db4ae7c2f Temp removal of the actor walk script execution to fix dig's walking
svn-id: r4364
2002-05-20 16:02:29 +00:00
Max Horn 0c861c9ff2 moved isCostumeInUse() to costume.cpp; make use of isInCurrentRoom(); added missing FIXME comment for a FT hack
svn-id: r4362
2002-05-20 14:41:47 +00:00
Max Horn cb150cd11d setupShadowPalette doesn't belong into actor.cpp; it's only used in script_v2.cpp, hence moving it there
svn-id: r4360
2002-05-20 14:28:02 +00:00
Max Horn 64c6113d15 removed actor.h from scumm.h; added _scumm member var to class Actor; some var renaming in preparation of more methord refactoring
svn-id: r4333
2002-05-14 23:35:28 +00:00
James Brown aad1bf4104 fix some warnings, odd code, and prevent Simon segfaulting when wrong game specified.
svn-id: r4321
2002-05-14 19:44:41 +00:00
Max Horn fe4230bcbf refactored parts of actor.cpp: many methods are now members of class Actor instead of class Scumm. This is still work in progress!
svn-id: r4319
2002-05-14 19:11:20 +00:00
Max Horn c2b26a4590 once more changed the face direction calculation; allows to remove MI2 bridge hack in script_v1.cpp
svn-id: r4277
2002-05-11 14:55:03 +00:00
Max Horn 1f46cee135 one more direction 'fix', getting rid of one FIXME hack for Indy 4
svn-id: r4275
2002-05-10 21:35:53 +00:00
Paweł Kołodziejski 939f9314fa Two fixmes - one for iMUSE bug in Sam and Max, the other for MI1VGA scaling
svn-id: r4270
2002-05-10 18:47:37 +00:00
James Brown 22cd647bbe Fix mystery vortex freeze.
svn-id: r4264
2002-05-10 16:08:22 +00:00
Max Horn 875e370207 use normalizeAngle; use MF_NEW_LEG/MF_IN_LEG/MF_TURN/MF_LAST_LEG instead of 1/2/4/8 - easier to understand, and that's what we have these consts for anyway, no?
svn-id: r4263
2002-05-10 15:43:50 +00:00
Max Horn 8dbcdc661f renamed fixActorDirection to setActorDirection; fixed a bug causing wrong actor directions
svn-id: r4260
2002-05-10 13:45:32 +00:00
Lionel Ulmer 38d7d2140d Another fix for LoomCD. Now Valgrind does not reports any error
anymore in LoomCD (well, with a small hack still active :-) ).

svn-id: r4156
2002-05-01 10:48:09 +00:00
Vincent Hamm 5fadebd951 Quick fix to ft's fuel tower bug
svn-id: r4071
2002-04-24 07:53:48 +00:00
James Brown 280136f13a Fix Indy4/MI2 crash due to VirtScroll code.
Cleanup \N's - For gods sake fix your CVS client :)

svn-id: r4067
2002-04-24 04:26:09 +00:00
Vincent Hamm 7ca32ea5eb Made great progress with the akos codec 5. Placement is now correct but 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-22 22:18:24 +00:00
Vincent Hamm f90a05e3b1 Fix (hack) imuse for samnmax. Fix (hack) samnmax inventory screen
svn-id: r4037
2002-04-21 17:54:59 +00:00
James Brown 43a4a9c8e5 Add fixme hack to room 17 FOA cost animation.
Remove \M from costume.cpp - how do these get here?!?! :)

svn-id: r4032
2002-04-21 09:20:38 +00:00
James Brown df31144cc7 Move putClass forceclip into costume renderer. Fixes Loom bugs.
svn-id: r3996
2002-04-18 15:34:45 +00:00
James Brown e9c726f583 Remove box==0 mask forcing. Yaz - this isn't right.. it breaks all the other games, and I don't think something like this would be a game specific hack.
svn-id: r3985
2002-04-18 00:56:30 +00:00
Vincent Hamm 1a8c30e225 Forced masking for box 0. Correct a few things. Bobbin is buggy when starting a new game in Loom, but that's the consequence of another bug.
svn-id: r3984
2002-04-17 21:44:19 +00:00
James Brown 6e508eed29 Fix anti-aliasing crash and a Zak crash. Note there are still AA
artifacts left on screen. Anyone want to fix this? :)

svn-id: r3909
2002-04-11 20:10:47 +00:00
James Brown 7696081c54 Large pointless reindentation of all the code. Also fixed a few mistakes
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-11 17:19:16 +00:00
Ludvig Strigeus 34747b792a various code cleanups
svn-id: r3907
2002-04-11 15:22:02 +00:00
James Brown 09a109068e Remove unneeded init stuff
svn-id: r3905
2002-04-11 14:22:45 +00:00
Ludvig Strigeus 2f07607226 moved the dig angle calculation into getAngleFromPos
svn-id: r3904
2002-04-11 14:13:53 +00:00
James Brown 141bac6fcb Final loom fixes. LoomCD is now completable, apart from sound glitches and lack of masking.
svn-id: r3880
2002-04-06 03:43:54 +00:00
James Brown 9a751f4e76 Fix some VC6++ debug actor-related crashes.
Mask, Charset color and WaitForMessage hangs still remain.

svn-id: r3838
2002-03-29 12:15:41 +00:00
James Brown 4045ffa462 Update project file, and add some checks for uninitied arrays. Stops full throttle crashing, until the AKOS bug.
svn-id: r3835
2002-03-26 05:23:06 +00:00
Vincent Hamm fbf9c5b318 Preliminary redesigned of the virtual screen system. Now all the screen 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-20 22:58:41 +00:00
James Brown 718392239c I know it probably doesn't look like much, but this is a start to the reorg - 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-20 17:51:07 +00:00
James Brown 1e5b130846 khaleks fix for indy3/zak fonts.
svn-id: r3791
2002-03-19 14:39:02 +00:00
Vincent Hamm 697b859209 Fixed boxes but 1 bug remain. Broke a little indy3 while fixing object flags
svn-id: r3789
2002-03-18 22:48:57 +00:00