Commit Graph

49 Commits

Author SHA1 Message Date
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
Ludvig Strigeus 0e66f42581 fixed two bugs in indy4.
actors were facing in the wrong direction on the stairs,
actors moved strangely in monte carlo

svn-id: r3538
2001-12-29 12:45:54 +00:00
Ludvig Strigeus 5a7b86cbf6 better full throttle support,
a couple of MI2 fixes.

svn-id: r3532
2001-12-27 17:51:58 +00:00
Ludvig Strigeus 1caad519e2 fixed typo
svn-id: r3527
2001-12-11 13:35:16 +00:00
Ludvig Strigeus 083d9204c3 converted internal representation of palette from 6-bit to 8-bit
yazoo implemented remapActor

svn-id: r3526
2001-12-11 13:34:15 +00:00
Ludvig Strigeus 95646feac9 adlib sound support, use USE_ADLIB
svn-id: r3510
2001-12-01 17:06:13 +00:00
Ludvig Strigeus f61b4b7c96 forgot to rename a variable
svn-id: r3508
2001-11-27 18:55:35 +00:00
Ludvig Strigeus 1c0a7cd2e7 some BOMP support,
some fixes

svn-id: r3506
2001-11-27 17:56:04 +00:00
Ludvig Strigeus 38e2a886ce very simple full throttle support, use the FULL_THROTTLE define. (will fix later)
modified some actor parts to work better with full throttle (most likely new bugs because of that).
directions are now stored as angles instead of left/right/up/down
implemented loadFlObject (flobjects are currently saved in the savestate, will fix that also)

svn-id: r3505
2001-11-26 19:57:57 +00:00
Ludvig Strigeus b8d259d60e music support,
fixed timing bugs

svn-id: r3491
2001-11-14 18:40:39 +00:00
Ludvig Strigeus b9facc7de4 implemented some sam&max specific features,
fixed some bugs

svn-id: r3486
2001-11-11 16:54:45 +00:00
Ludvig Strigeus 595d9534c3 fixed hardcoded number -> constant stuff (patches by janssen)
svn-id: r3483
2001-11-10 19:12:32 +00:00
Ludvig Strigeus 6cd4b9d71f debugger fix,
removed hardcoded constants,
resouce lock state is now saved in the savegame,
fixed bug with MI1

svn-id: r3470
2001-11-07 18:10:52 +00:00
Ludvig Strigeus 097f76ae00 full screen flag,
better mouse cursors,
removed change log from individual files

svn-id: r3462
2001-11-06 20:00:47 +00:00
Ludvig Strigeus e5aca15a0b bug fixes,
speech in dott

svn-id: r3454
2001-11-05 19:21:49 +00:00
Ludvig Strigeus 056dd5b15d bug fixes, code cleanup
svn-id: r3446
2001-10-26 17:34:50 +00:00
Ludvig Strigeus 9fdc578af0 recompile not needed when switching games
debugger skeleton implemented

svn-id: r3442
2001-10-23 19:51:50 +00:00
Ludvig Strigeus 794163c1a3 preliminary DOTT support
svn-id: r3433
2001-10-16 10:01:48 +00:00
Ludvig Strigeus ae88928839 fixed swapped parameters in o_walkActorToActor
svn-id: r3421
2001-10-10 17:18:33 +00:00
Ludvig Strigeus 00c68ab8e2 fixed return value from adjustXYToBeInBox
svn-id: r3417
2001-10-10 11:24:21 +00:00
Ludvig Strigeus 3c2f425cc1 fixed object parent bug
fixed some signed/unsigned comparisons

svn-id: r3413
2001-10-09 18:35:02 +00:00
Ludvig Strigeus c30932afbe Initial revision
svn-id: r3408
2001-10-09 14:30:12 +00:00