264 Commits

Author SHA1 Message Date
Jamieson Christian
c88e0b5301 Fixed Adlib sound problem on old (small header) games. Thanks for eriktorbjorn for the material that led to the solution.
svn-id: r7610
2003-05-17 17:20:27 +00:00
Max Horn
4cc3a466d0 init vars to 255 if they are not defined for all Scumm versions
svn-id: r7603
2003-05-17 10:04:30 +00:00
James Brown
0b3d9df5b2 Oops, remove debug crapola
svn-id: r7601
2003-05-17 06:34:24 +00:00
James Brown
e5d7459d98 Move some hacks around
svn-id: r7600
2003-05-17 06:33:34 +00:00
James Brown
2813d48e92 Cleanup
svn-id: r7598
2003-05-17 06:14:08 +00:00
Jamieson Christian
5a1e994d02 Added command line options for
native MT-32 support and
combination Adilb/native MIDI drivers.

svn-id: r7594
2003-05-17 03:06:16 +00:00
Max Horn
6ed1d415b5 for v2 games, make space the pause key
svn-id: r7590
2003-05-17 00:37:53 +00:00
Max Horn
3244a79d46 V2 camera fix (again thanks MadMoose)
svn-id: r7587
2003-05-16 23:54:58 +00:00
Jamieson Christian
053e7cb71e More IMuse cleanup
svn-id: r7578
2003-05-16 20:38:04 +00:00
Jonathan Gray
ce6e5993c3 add hev7 target to test with
svn-id: r7572
2003-05-16 11:45:05 +00:00
Max Horn
5e756aa8b8 cleanup
svn-id: r7550
2003-05-15 22:48:06 +00:00
Max Horn
7baef4ad4e make some more use of ScummVM::Point; cleanup
svn-id: r7549
2003-05-15 22:41:35 +00:00
Max Horn
a8603e5bfc some more ScummVM::Rect
svn-id: r7548
2003-05-15 22:36:43 +00:00
Jamieson Christian
73e086fe62 _saveSound implementation
svn-id: r7542
2003-05-15 21:55:13 +00:00
Jamieson Christian
2c3ee5aed0 Fixed main timing loop
svn-id: r7534
2003-05-15 20:34:42 +00:00
Max Horn
885f28b6ae cleanup
svn-id: r7518
2003-05-14 23:28:56 +00:00
Max Horn
bc99915aa5 V2 text drawing
svn-id: r7502
2003-05-14 13:30:52 +00:00
James Brown
0106191abd Some Zak input stuff
svn-id: r7498
2003-05-14 11:08:57 +00:00
Max Horn
05c44e606e various V8 tweaks
svn-id: r7494
2003-05-14 09:47:53 +00:00
Max Horn
08f7ec192e NUM_ACTORS -> _numActors (for consistency)
svn-id: r7489
2003-05-13 23:42:41 +00:00
Max Horn
0ee0e7f634 cleanup
svn-id: r7488
2003-05-13 23:33:01 +00:00
Max Horn
fea9aed00a fixed more illegal var access in COMI
svn-id: r7486
2003-05-13 17:55:24 +00:00
Max Horn
2838aae2f4 renamed VAR_UNK_SCRIPT to VAR_SAVELOAD_SCRIPT; fixed V8 save/load (no (known) VAR_SAVELOAD_SCRIPT value for V8)
svn-id: r7485
2003-05-13 17:51:56 +00:00
Max Horn
79d3863db4 more V2 'char coord' fixes
svn-id: r7427
2003-05-11 00:03:03 +00:00
Max Horn
bf270d9243 walkbox & putActor coords in V2 are in 'character coordinates' - x has to multiplied by 8 and y by 2
svn-id: r7426
2003-05-10 23:47:39 +00:00
Max Horn
5be0ce7adc work around some illegal var access' in COMI/V8 - there are more, but I am not always sure if avoiding the access is the proper fix; maybe in some cases we should just define that var for V8 to the proper value?
svn-id: r7425
2003-05-10 22:35:12 +00:00
Max Horn
acb35fc915 renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and _realWidth/_realHeight -> _screenWidth/_screenHeight (inspired by MadMoose, but I'll take the blame - still this seems much more logical & intuitive)
svn-id: r7423
2003-05-10 21:49:59 +00:00
Max Horn
f740959216 removed obsolete code; cleanup for my V2 drawBitmap 'hack', which got rid of most of the duplicate code
svn-id: r7416
2003-05-10 17:09:21 +00:00
Max Horn
54a9ad3204 super hackish mouse click support for Zak (doesn't do anything useful in MM yet; and in Zak, all clicks are for the scene, i.e. no verb clicks etc.)
svn-id: r7408
2003-05-09 22:26:00 +00:00
Max Horn
3a9d8cd8f4 implemented v2 walkboxes (at least the debugger output looks right now, though I might have overlooked something)
svn-id: r7406
2003-05-09 21:46:34 +00:00
Max Horn
c63ec9d008 added a v2 charset rendered (with a hardcoded font take from german zak); enabled verbs in zak (well, they are drawn at least :-)
svn-id: r7398
2003-05-08 22:44:46 +00:00
Max Horn
af14dabc75 more v2 var fixes
svn-id: r7396
2003-05-08 21:02:46 +00:00
Max Horn
6d2c0de5f2 more v2 var access fixes
svn-id: r7395
2003-05-08 20:37:06 +00:00
Max Horn
0461222181 fixed various cases of bad var access
svn-id: r7394
2003-05-08 15:58:30 +00:00
Max Horn
98881c3a6a init all VAR_* variables to 0xFF; replaced access to _vars in the form _vars[VAR_*] by VARS(VAR_*) which performs a validity checK; renamed _vars to _scummVars to make sure I updated all places; fixed two places where V6 and newer games would access V5 vars (but there are still some left, it seems); checked VAR access for now only generates a warning
svn-id: r7393
2003-05-08 15:48:50 +00:00
Marcus Comstedt
b98ed367b0 Even more heap needed by later games...
svn-id: r7320
2003-05-04 13:59:08 +00:00
Max Horn
ef5c32b3a2 and it's 24 after all! script 1 inits actors 1 till 23. If this causes segfaults somewhere, we need to fix those, not hack around ithe problem
svn-id: r7303
2003-05-04 02:39:31 +00:00
Max Horn
488d5fe351 more v2 fixes; cleanup
svn-id: r7301
2003-05-04 02:10:49 +00:00
Jonathan Gray
781564d401 don't segfault when starting maniac
svn-id: r7299
2003-05-04 01:08:16 +00:00
Max Horn
6eaf1af897 temporary (?) hack for Maniac Mansion, to get to the first screen (thanks to segra)
svn-id: r7291
2003-05-03 21:15:24 +00:00
Max Horn
9466a5dcef Patch #730800: EGA LOOM: Hack to fix palette problem (also helps MonkeyEGA)
svn-id: r7290
2003-05-03 20:49:53 +00:00
Max Horn
d7185269b5 tweaked music syncing once more. This approach should be much more flexible, and also works with different delta values.
svn-id: r7254
2003-05-01 21:41:31 +00:00
Travis Howell
028a013cb9 Raise _maxHeapThreshold for zak256
svn-id: r7246
2003-05-01 12:54:19 +00:00
Max Horn
48293bd132 various music related changes and cleanup; also modified MonkeyVGA music sync, at least the intro is much better synced now; not sure about other parts of it / other games
svn-id: r7237
2003-05-01 00:04:05 +00:00
Max Horn
797c222ec7 VAR_V5_DRAWFLAGS == VAR_CURRENT_LIGHTS; fixed bug #601139
svn-id: r7234
2003-04-30 21:30:59 +00:00
Max Horn
2b74abd2c9 PalmOS changes
svn-id: r7224
2003-04-30 13:23:31 +00:00
Jonathan Gray
77058cb0f8 don't clobber variable for these small header games
svn-id: r7217
2003-04-30 11:26:45 +00:00
Max Horn
d43b6d0cc0 changed _maxHeapThreshold again (is that better, Marcus? feel free to tweak it yourself)
svn-id: r7214
2003-04-30 10:28:00 +00:00
Paweł Kołodziejski
39f85f7aac added gfx bitmap and zbuffer codec for v2 games
svn-id: r7209
2003-04-30 05:48:55 +00:00
Jonathan Gray
dd3eaff294 add target for towns indy4 demo
svn-id: r7193
2003-04-29 08:39:16 +00:00