Commit graph

279 commits

Author SHA1 Message Date
James Brown
19bbee7843 Fix V2 userface stuff in savestate
svn-id: r7816
2003-05-22 05:21:48 +00:00
Max Horn
b12d741ac1 cleaned up V2 input code
svn-id: r7811
2003-05-21 23:54:39 +00:00
Max Horn
e5152405da fixed V2 entry script dumping
svn-id: r7799
2003-05-21 18:53:00 +00:00
Max Horn
86d57f3c7a many pedantic warning fixes (and some actual potential buglets fixed, too)
svn-id: r7795
2003-05-21 18:09:49 +00:00
Max Horn
e21604663f added v2 cutscene support (not quite complete; and crashes at some point in maniac because VAR_EGO contains a bogus value); cleanup
svn-id: r7781
2003-05-21 14:00:19 +00:00
James Brown
60ac300bf3 Work on V2 inventory hack a little more
svn-id: r7776
2003-05-21 10:13:06 +00:00
James Brown
c3803009b4 Fix this damn userface stuff properly :)
svn-id: r7772
2003-05-21 07:22:43 +00:00
Max Horn
49e7f7564a renamed various things for clarity
svn-id: r7754
2003-05-20 20:58:26 +00:00
Max Horn
1a394aa3c7 added enum's for the known actor/object claasses; extended putClass/getClass to translate the X/Y flip classes; made code use the new enum's; some other cleanup
svn-id: r7753
2003-05-20 20:42:28 +00:00
Max Horn
fe57d155f8 remove this obsolete FIXME (code is fine as it is)
svn-id: r7741
2003-05-20 16:36:26 +00:00
Jonathan Gray
6cb61537f4 enable midi for non puttdemo humongous games. need to properly return the result of whether music is running though...
svn-id: r7673
2003-05-19 08:04:47 +00:00
Max Horn
33d1f15f97 V2 walkbox matrix fixes
svn-id: r7657
2003-05-19 00:17:34 +00:00
Max Horn
8f7f22aeae implemented proper 'invalid walkbox' handling in older games (in newer games, box 0 is used as invalid box, while in older games this is a legal box and box 255 is the 'invalid' box); removed lots of FIXME's which were needed to cope with ScummVM not implementing the invalid walkbox stuff properly in the past; removed other actor FIXMEs.
svn-id: r7642
2003-05-18 19:44:22 +00:00
Max Horn
c3b5fce262 number of actors in maniac is even 25 (according to the MM script-1)
svn-id: r7626
2003-05-18 11:21:31 +00:00
Max Horn
3576b8e168 yet another V2 sentence fix (now clicking on objects in Zak causes Zak to talk to it - but he gets stuck after some time)
svn-id: r7613
2003-05-17 18:42:31 +00:00
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