Commit Graph

71 Commits

Author SHA1 Message Date
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
Vincent Hamm 8423cec833 Fixed more box issues in zak/indy3/loomcd
svn-id: r3729
2002-03-11 13:15:07 +00:00
Vincent Hamm 74694139df Fixed boxes in Zak and Indy. Bugs may remain.
svn-id: r3727
2002-03-11 08:34:12 +00:00
James Brown 87ac8ae487 Apply some patches by syke to prevent buffer overruns, etc.
svn-id: r3723
2002-03-10 17:33:04 +00:00
James Brown 72518be8f1 Fixed NUM_aCTORS for MI2/Indy4, etc.
Probably broke some saved games again.

svn-id: r3700
2002-03-09 00:56:22 +00:00
James Brown be61a19dc5 Fixed typo.
svn-id: r3666
2002-03-06 12:28:29 +00:00
James Brown 178540c989 Applied cleanup and scaling patch by Rob.
svn-id: r3665
2002-03-06 12:24:56 +00:00
Travis Howell 4a98b9b9e9 Add Matti Hmlinen's patch to suppress warnings
svn-id: r3664
2002-03-06 10:35:39 +00:00
James Brown 17270d2ccd Fixed some more Sam and Max bugs. Is now playable to BumpusVille.
Added two new debug commands, one to read and set variables, the other
to set a 'watch' on variables.

svn-id: r3662
2002-03-06 10:03:00 +00:00
Vincent Hamm 474c9e333b Reimplemented the preliminary Dig features. Implemented actor with many direction. Fixed bomp bug
svn-id: r3661
2002-03-06 09:40:21 +00:00
Vincent Hamm 6600b48be9 More v7 implementation
svn-id: r3656
2002-03-05 23:05:55 +00:00
Vincent Hamm 6387020fd9 Fixed struct RoomHeader for v7 implementation
svn-id: r3650
2002-03-05 20:13:47 +00:00
Marcus Comstedt de5799b13c Added an assertion to catch buffer overruns in actorTalk().
svn-id: r3631
2002-02-25 23:00:32 +00:00
Vincent Hamm 8168c0b11d Fixed some boxes issues. Matrix is still buggy
svn-id: r3620
2002-02-22 16:06:09 +00:00
Vincent Hamm 535c12ebfb Fixed actor scalling in Zak and indy3
svn-id: r3590
2002-02-15 13:11:51 +00:00
Vincent Hamm d9ddef19aa a few fix for Zak256
svn-id: r3575
2002-02-13 17:33:52 +00:00
James Brown f620d138f6 First part of Yazoo and mines work on making older scumm games work.
Not enough here to actually work yet, just the base groundwork needed.

svn-id: r3567
2002-02-12 18:20:37 +00:00