71 Commits

Author SHA1 Message Date
Max Horn
73ab9b26ad umpf
svn-id: r7256
2003-05-01 22:26:30 +00:00
Max Horn
0b265f8608 cleanup
svn-id: r7255
2003-05-01 22:19:10 +00:00
Max Horn
27f094a3b0 fixed music tempo in indy3/monkeyvga etc.
svn-id: r7253
2003-05-01 21:04:38 +00:00
Max Horn
99254eedc8 khalek, your patch didn't handle Indy (the original cause for my patch). This oneshould work better.
svn-id: r7251
2003-05-01 14:35:21 +00:00
Jonathan Gray
d2a402f5fd unbreak costumes in most games
svn-id: r7242
2003-05-01 11:40:21 +00:00
Max Horn
c77cbc5cb4 Fixed bug #730030: INDY3: Crash when loading new savegames
svn-id: r7240
2003-05-01 11:03:41 +00:00
Max Horn
2b74abd2c9 PalmOS changes
svn-id: r7224
2003-04-30 13:23:31 +00:00
Jonathan Gray
a8f140e7d8 make all known file extensions of resource files work
svn-id: r7190
2003-04-29 03:32:08 +00:00
Max Horn
e13e117976 pedantic checks
svn-id: r7177
2003-04-28 13:16:37 +00:00
Jonathan Gray
b4165b0242 add some he v7 blocks
svn-id: r7173
2003-04-28 05:54:54 +00:00
Jonathan Gray
1d01a68cac close bundle files when changing discs in comi
svn-id: r7023
2003-04-20 00:56:23 +00:00
Max Horn
3ffafcfdf3 just in case...
svn-id: r6997
2003-04-12 20:12:52 +00:00
Max Horn
dbff83a88b fixed resource loading in GF_OLD_BUNDLE games (res header = 2 bytes length, plus 2 unknown bytes)
svn-id: r6976
2003-04-11 22:15:59 +00:00
Max Horn
8c78049154 made unblocked games get a little farther before crashing
svn-id: r6967
2003-04-11 11:40:35 +00:00
Paweł Kołodziejski
6dd0b2d9bb changed printf to debug
svn-id: r6883
2003-03-29 15:56:42 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
093428ae9a and more cleanup
svn-id: r6718
2003-03-06 17:58:13 +00:00
James Brown
a0b77e7389 LCA03 sync: Modified version of the untrap patch, debugger
savegame/loadgame changes, attempts at making the ComI save/load screen
(F1) work. The savegame part of the screen does not work due to a crash,
the load part SHOULD... but something resets the saveload flags before
they are processed (help! :)

svn-id: r6545
2003-01-26 06:17:25 +00:00
Max Horn
38d832ed1f oops
svn-id: r6512
2003-01-19 04:17:13 +00:00
Max Horn
15531663d9 added some comments/changed indention of comments to spaces
svn-id: r6510
2003-01-19 04:10:13 +00:00
Max Horn
ca88dff5e7 work around a script bug in COMI; cleanup; re-enabled array assert
svn-id: r6437
2003-01-12 21:13:22 +00:00
James Brown
daa5397e02 Small fix - _numLocalObjects is a 1-based array, so don't go reading bad memory :P
svn-id: r6417
2003-01-12 08:32:44 +00:00
Max Horn
531e73418f our File class already makes sure we find stuff in the resource subdirectory. Plus, it handles different cases right. So now COMI works from CD on Mac OS X, too
svn-id: r6363
2003-01-08 23:41:27 +00:00
James Brown
9df455ce38 Plop in some better disk switching code for CMI - I have no idea how well this will work transitioning from a disk1 room to a disk2
room in-game, but it works for bootparams and saved games..

svn-id: r6322
2003-01-02 10:36:17 +00:00
Max Horn
166ea5bcee get rid of DUMP_SCRIPTS; in its place, added run time option '-u' to enabled script dumping
svn-id: r6284
2002-12-31 02:09:57 +00:00
James Brown
669e5b8ebc de-verbalise some debug messages (move from debug(1) to debug(2)).. so we can see printDebug lines easier
svn-id: r6227
2002-12-28 12:42:55 +00:00
Max Horn
ae5b30df3d get rid of getStringLen and use the more powerful resStrLen instead; moved resStrLen from common/ to scumm/, where it belongs; enhanced resStrLen to suport V8; fixed translateText to support embeded vars (in strings I mean) - it may still not be fully correct but at least is better now; rewrote o6_arrayOps to parallel the V8 version - needs testing
svn-id: r6215
2002-12-28 01:57:19 +00:00
Max Horn
788fd1e718 like rtRoom, rtRoomScripts should never expire while the room they belong too is loaded; this fixes the crash when picking up the fishing rod
svn-id: r6208
2002-12-27 19:48:30 +00:00
James Brown
fd64fc2b6b Move some things around, to get rid of all these resource/ sprintf's for CMI
svn-id: r6182
2002-12-27 00:11:01 +00:00
Max Horn
7e7be4f6f3 32 bit variables storage
svn-id: r6161
2002-12-26 01:46:36 +00:00
Max Horn
447ab20369 cleanup
svn-id: r6140
2002-12-25 19:06:31 +00:00
Max Horn
190685dc69 added a map from object names to object ids
svn-id: r6104
2002-12-24 16:10:31 +00:00
Max Horn
456877e6f0 fixed room resource loading in V8 - now need to fix initRoomSubBlocks
svn-id: r6091
2002-12-24 02:18:02 +00:00
Max Horn
5135a409d0 upon res load error, print out from which file we tried to load, and also print the correc index (was 'type' instead of 'idx')
svn-id: r6090
2002-12-24 02:03:35 +00:00
Paweł Kołodziejski
44bfa413f9 changed numString to numArray
svn-id: r6078
2002-12-23 19:03:08 +00:00
Paweł Kołodziejski
6f5a18228d changed read order of CMI variables (MAXS)
svn-id: r6076
2002-12-23 18:53:04 +00:00
Max Horn
b8240b253c some flesh to the V8 bones
svn-id: r6073
2002-12-23 17:21:09 +00:00
Max Horn
7d052a26b0 don't be needlessly verbose; allow byte arrays in V8
svn-id: r6071
2002-12-23 16:17:23 +00:00
Max Horn
11a48a2b01 corrected AARY code for V8 (I hope)
svn-id: r6063
2002-12-23 00:21:49 +00:00
Max Horn
df3c41fa24 added some preliminary V8 work. Nope, it is not useful at all, and it doesn't mean we will have CMI support in this millenium, so don't hold your breath
svn-id: r6060
2002-12-22 21:58:16 +00:00
Max Horn
060562c277 partial checkin of patch #655594 (handling Y/N questions); cleanup
svn-id: r6042
2002-12-21 12:34:17 +00:00
Jamieson Christian
f95ea3afdf Fixed problems with instruments after load.
Ignore Adlib-only music when running native MIDI.
(Can't remember why I included them in the first place,
 so until I do remember, it's coming back out.)

svn-id: r6020
2002-12-18 14:57:25 +00:00
Jamieson Christian
50b69cb2db Fixed inappropriate expiration of sound resources,
which fixes concurrency issues esp. in PocketPC and MorphOS.
Stubbed SysEx command 2 (start of song) to get rid of annoying warning.
Changed MT-32 instrument warnings to fit on one (80-char) line.

svn-id: r5842
2002-12-05 21:45:55 +00:00
Max Horn
77a64e0217 more cleanup; fixes out of bound access to _charsetData (but I am not sure if that will be visible anywhere
svn-id: r5833
2002-12-04 15:00:35 +00:00
Max Horn
72c672e14c cleanup
svn-id: r5747
2002-11-29 15:13:49 +00:00
Max Horn
9cefa8611d oops
svn-id: r5738
2002-11-28 23:49:48 +00:00
Max Horn
5ce8324b73 no need to retry 5 times in loadResource - we don't have users with floppy disks anymore, after all :-). Fixed an endian issue for v2 games (makes them crash a little bit later during loading)
svn-id: r5737
2002-11-28 23:47:58 +00:00
Max Horn
d574313f32 fixed o5_resourceRoutines for OLD256 games (various subopcodes are still not implemented, though); some cleanup
svn-id: r5699
2002-11-23 13:53:46 +00:00
Jamieson Christian
c9ed09e7df Revamped Adlib functionality.
IMuseAdlib is defunct.
New MidiDriver_ADLIB device.
Simon 1/2 now supports Adlib.

svn-id: r5677
2002-11-21 19:06:42 +00:00
Jamieson Christian
7bcc2744a4 Support MAC music tracks even in -eadlib mode
svn-id: r5636
2002-11-20 12:54:32 +00:00