416 Commits

Author SHA1 Message Date
Paweł Kołodziejski
290a974fcd added stub opcode 218 for o6_actorOps()
svn-id: r8806
2003-07-06 16:14:35 +00:00
Max Horn
a0133fdbc6 code transformation on setScaleItem: this shows that rtScaleTable's are actually (almost) the same as scale slots in V8.
svn-id: r8719
2003-07-03 01:24:50 +00:00
Max Horn
f1fc68773d made stuff in class Sound protected where possible; moved readCreativeVocFile to imuse_digi.cpp and turned it into a static function; put the DigitalTrackInfo stuff into sound.cpp (keeping it private); removed #includes from sound.h (this cuts down interdependencies a little)
svn-id: r8493
2003-06-15 00:54:14 +00:00
Torbjörn Andersson
67d1a48efc Fixed o6_band() to be "logical AND" instead of "logical OR". I've forgotten
who pointed this out, and I don't know which games use it.

svn-id: r8479
2003-06-14 16:59:20 +00:00
Max Horn
f4a31da513 runHook -> runInventoryScript, VAR_HOOK_SCRIPT -> VAR_INVENTORY_SCRIPT
svn-id: r8468
2003-06-14 12:23:30 +00:00
Torbjörn Andersson
70f3302a88 Added comment on how Sam & Max uses one of the current unimplemented
opcodes.

svn-id: r8456
2003-06-13 06:45:05 +00:00
Max Horn
9d76540e75 remove unnecessary newline
svn-id: r8455
2003-06-12 20:35:13 +00:00
Jamieson Christian
c6f7c50483 Removed S&M Bumpusville hack made unnecessary by
another fix (presumably the BOT Diner fix).

svn-id: r8453
2003-06-12 19:06:52 +00:00
Max Horn
0503b553df some walk fixes
svn-id: r8439
2003-06-11 21:45:47 +00:00
Max Horn
49b9a8fc9d follow our coding conventions
svn-id: r8377
2003-06-07 00:49:36 +00:00
Max Horn
86df3537b9 replaced GF_AFTER with _version
svn-id: r8372
2003-06-07 00:13:26 +00:00
Jonathan Gray
f22171f934 compilation fix
svn-id: r8371
2003-06-07 00:08:47 +00:00
Torbjörn Andersson
fa6b0b6736 cleanup
svn-id: r8315
2003-06-05 07:17:57 +00:00
Max Horn
3baff34226 use enqueueText for FT, too
svn-id: r8284
2003-06-02 23:54:52 +00:00
Max Horn
35f29951eb moved blast text code to string.cpp
svn-id: r8282
2003-06-02 23:18:52 +00:00
Max Horn
457d6b1484 seems this breaks in FT; not yet sure why, but disabling this in FT till somebody has a chance to look at it
svn-id: r8281
2003-06-02 23:06:34 +00:00
Max Horn
3bc13178ff experimental change: replaced drawDescString with enqueueText. fixes text-leftovers when scrolling the Dig (not tested in FT, though)
svn-id: r8280
2003-06-02 22:43:08 +00:00
Max Horn
4292d621af cleaned up the restart/pause/shutdown situation a bit; added comment that explains how restart might be implemented
svn-id: r8260
2003-06-02 02:25:24 +00:00
Max Horn
3d77f7230e Enabled walk sounds in Indy3EGA/ZakEGA; cleanup (bug #747068)
svn-id: r8249
2003-06-01 18:20:38 +00:00
Max Horn
e63dec5f56 clearUpperMask -> clearCharsetMask
svn-id: r8206
2003-06-01 01:02:35 +00:00
Max Horn
24b5af6a0e cleanup
svn-id: r8203
2003-06-01 00:45:08 +00:00
Max Horn
ac02e3d0d0 cleanup
svn-id: r8194
2003-05-31 21:42:33 +00:00
Max Horn
7ffb40e61b cleanup
svn-id: r8193
2003-05-31 21:25:14 +00:00
Max Horn
bd08b33f83 begone, evil typo!
svn-id: r8190
2003-05-31 20:45:41 +00:00
Max Horn
1c0da0a89c apply V6 elevation change to V8, too
svn-id: r8186
2003-05-31 17:18:41 +00:00
Max Horn
33030f7bed fix for part of bug #630570
svn-id: r8183
2003-05-31 16:24:01 +00:00
Max Horn
f8e64d7134 renamed walk_script/talk_script -> walkScript/talkScript
svn-id: r8178
2003-05-31 14:27:47 +00:00
Max Horn
691e1f390a rewrote Actor::needBgReset related code (this could cause regressions...)
svn-id: r8126
2003-05-30 00:55:21 +00:00
Max Horn
01ac371c6a don't hardcode 50 here, use _numNewNames
svn-id: r8057
2003-05-28 19:55:05 +00:00
Max Horn
b7fe6df587 copy&paste mistake
svn-id: r8049
2003-05-28 14:09:55 +00:00
Max Horn
03609cc465 cleanup; added hackish fix for bug #744441
svn-id: r8048
2003-05-28 14:01:54 +00:00
Max Horn
2885a8a84e tightened hack condition a bit
svn-id: r8027
2003-05-26 22:37:36 +00:00
Max Horn
c70713ea4a workaround for bug #743363
svn-id: r7980
2003-05-26 01:01:47 +00:00
Max Horn
6bcf19b62d brutally remove all o6_kernelSetFunctions subop stubs - we need to find out the places where they are actually called, and with how many params, if we ever want to implement them
svn-id: r7937
2003-05-25 11:52:30 +00:00
Max Horn
35877f0d30 workaround bug #742979
svn-id: r7933
2003-05-25 11:18:57 +00:00
Max Horn
0d2ddf2381 work around for comi script calling o6_getActorRoom(255)
svn-id: r7912
2003-05-24 23:08:03 +00:00
Max Horn
2efa2e1c67 cleanup
svn-id: r7892
2003-05-24 17:04:54 +00:00
Max Horn
f75c148c8c corrected FIXME
svn-id: r7891
2003-05-24 16:45:49 +00:00
Max Horn
41df21ed6b temporary work around for bug #742676 (game won't exit anymore, but behaviour is incorrect)
svn-id: r7889
2003-05-24 16:09:29 +00:00
Max Horn
94f0b7f4a7 some more derefActorSafe -> derefActor changes; found out why in COMI o6_getActorRoom is called with param 0
svn-id: r7860
2003-05-23 13:42:12 +00:00
Max Horn
c333b6d6ec replaced many unsafe uses of derefActorSafe by derefActor; replaced derefActorSafe/assert pairs by derefActor (gives better error message); replaced various derefActorSafe/if(a!=0) pairs by derefActor (in cases where the deref should never fail, ever, except due to a bug in ScummVM)
svn-id: r7859
2003-05-23 13:24:41 +00:00
Jamieson Christian
c6568530bd Revamped iMuse and Player classes. Player now uses MidiParser to parse its data, which will allow it to parse other MIDI formats. To receive parsed data, Player now derives from MidiDriver to act as a "fake MIDI driver".
Miscellaneous upgrades and fixes to MidiParser, including the Smart Jump (which could not be tested before iMuse started making use of the MidiParser).

*** THIS IS A BIG UPGRADE! EXTENSIVE REGRESSION TESTING IS NEEDED! ***

This has been tested through the intros and a number of other scenes from MI2, FOA and S&M.

NOTE! This upgrade introduces savegame format version V19. Earlier version savegames will load, but the music will simply start over from the beginning. Only V19 and later games will properly restore the position of the music! Don't say you weren't warned....

svn-id: r7849
2003-05-23 04:19:47 +00:00
Max Horn
c78664cbc9 renamed talkFrame1/talkFrame2 to talkStartFrame/talkStopFrame
svn-id: r7819
2003-05-22 09:58:33 +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
34eee8b33b cleanup
svn-id: r7756
2003-05-20 23:05:34 +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
Jamieson Christian
5a89820f0d Fixed VC++ warnings
svn-id: r7690
2003-05-19 15:40:34 +00:00
Jonathan Gray
243bcc74d3 sync local changes, fix pickOneOf
svn-id: r7668
2003-05-19 04:29:41 +00:00
Max Horn
7171c5bcd4 cleanup
svn-id: r7646
2003-05-18 21:03:57 +00:00