43 Commits

Author SHA1 Message Date
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
James Brown
0313be280a Fix the BUN string parser. Doesn't crash other games anymore :)
svn-id: r3896
2002-04-09 06:46:24 +00:00
James Brown
011cf6e066 Start of The Dig voice support. Don't get excited, it doesn't do anything yet. :)
svn-id: r3895
2002-04-08 13:55:03 +00:00
James Brown
d2d498d08c Fix Indy4 bootparam, some more Zak256 work, and a few minor things.
svn-id: r3887
2002-04-07 04:29:15 +00:00
Vincent Hamm
5ca87c1269 Fixed a bit the gui for FT and DIG. It still doesn't display a thing but it's not crashing anymore
svn-id: r3828
2002-03-25 12:26:37 +00:00
Vincent Hamm
7b1bbf81e0 reimplemented opcode 0xEC a better way
svn-id: r3801
2002-03-22 11:15:33 +00:00
Vincent Hamm
70f18a9394 Partialy implemented opcode 0xEC
svn-id: r3800
2002-03-22 10:56:03 +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
Vincent Hamm
66b8932d83 Implemented multiple image blast object
svn-id: r3690
2002-03-08 20:57:09 +00:00
James Brown
c161197117 Yet more cleanups. Remove 'index' (reserved keyword), and remove 'res' shadowing.
svn-id: r3685
2002-03-08 08:42:11 +00:00
James Brown
f5ff443424 Rename o6_samGame to o6_bompWindow.
svn-id: r3679
2002-03-07 05:41:53 +00:00
James Brown
aea131d95b Fixes to Sam and Max subgames.
Add 'insane.cpp' to VC++ project.

svn-id: r3675
2002-03-07 04:29:24 +00:00
Vincent Hamm
cf868605f6 Preliminary smush playback support.
svn-id: r3669
2002-03-06 19:58:06 +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
c7d58aca84 Final part of V7 merging process. The FULL_THROTTLE define is not required any more
svn-id: r3660
2002-03-06 00:18:22 +00:00
Vincent Hamm
6387020fd9 Fixed struct RoomHeader for v7 implementation
svn-id: r3650
2002-03-05 20:13:47 +00:00
James Brown
a2a497a46f Fixed the actor crash bug properly. NOTE: This -will- break ALL saved games
made with previous versions.

svn-id: r3648
2002-03-05 16:13:09 +00:00
James Brown
9dec4275b6 Warning'ed some miscops, and added a hack to just ignore non-existant actors.
Sam and Max is now playable to a quite advanced stage.

svn-id: r3645
2002-03-05 09:58:12 +00:00
James Brown
8a84e16c2c Sam and Max, roomops error changed to warning.
svn-id: r3629
2002-02-25 18:28:30 +00:00
James Brown
abbc4bf289 Code cleanup - get rid of a bunch of typecast and unused variable warnings.
svn-id: r3627
2002-02-24 17:25:03 +00:00
Vincent Hamm
cef0ef44d3 Changed the scummVar system to a dynamic one. Started to remove all the reference to FULL_TROTTLE define.
svn-id: r3624
2002-02-23 23:23:28 +00:00
James Brown
f5f66b2bfd Sam crash fix.
svn-id: r3621
2002-02-22 16:32:04 +00:00
Ludvig Strigeus
46dd55cf2a full throttle speech,
fixed two bugs appearing in DOTT

svn-id: r3541
2002-01-02 11:50:28 +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
761fe5d7bd * better drawBox (tnx sam_k)
* more params allowed for soundKludge opcode (8 instead of 16) will perhaps fix bugs.

svn-id: r3523
2001-12-04 10:44:33 +00:00
Ludvig Strigeus
acaaff5144 fixed two bugs reported by lionel ulmer
svn-id: r3517
2001-12-02 20:39:03 +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
88dcec7cdb readability patch (janssen)
svn-id: r3493
2001-11-14 20:09:39 +00:00
Ludvig Strigeus
b8d259d60e music support,
fixed timing bugs

svn-id: r3491
2001-11-14 18:40:39 +00:00
Ludvig Strigeus
279d5b2fd7 readability patches, some by janssen
svn-id: r3490
2001-11-12 20:50:36 +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
f9daf35824 fixed some bugs related to string handling
svn-id: r3445
2001-10-24 20:12:52 +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