Commit Graph

188 Commits

Author SHA1 Message Date
Paweł Kołodziejski
f02d38ce5a a little updated opcode: openFile and deleteFile
svn-id: r10221
2003-09-13 12:37:21 +00:00
Max Horn
ff225c470c cleanup
svn-id: r10179
2003-09-11 22:00:36 +00:00
Max Horn
81f10baa68 cleanup
svn-id: r10169
2003-09-11 10:32:15 +00:00
Max Horn
deb4f6b786 cleanup; fix for bug #795942 (COMI: text display off screen) and #785760 (COMI: Lockup/crash on Skull Island)
svn-id: r10144
2003-09-09 20:54:19 +00:00
Max Horn
d875bb69fe fix for bug #782086 (COMI: a long walk)
svn-id: r10143
2003-09-09 19:30:25 +00:00
Max Horn
1dbab0237f cleanup/refactoring
svn-id: r10070
2003-09-07 19:28:45 +00:00
Jonathan Gray
018d2ee6b1 add some stub cases for later humongous games, queue loading and a decodeParseString case
svn-id: r9985
2003-09-03 08:55:24 +00:00
Jonathan Gray
876fe0ac8a add readINI stub (a HEv7 op)
svn-id: r9894
2003-08-28 15:23:23 +00:00
Jonathan Gray
9d450bc9ce assert that string variable actually exists before we start doing comparisons against the string
svn-id: r9696
2003-08-15 03:15:41 +00:00
Bertrand Augereau
03524d071e Explicitly stated a bit masking to please VC.NET2003 runtime small types conversion checks.
svn-id: r9674
2003-08-13 23:07:05 +00:00
Torbjörn Andersson
2973317f1d Fix for bug #787841 ("SAM: Crash when using retriever on Max"). For
whatever reason, o6_walkActorToObj() was trying to find the coordinates for
an object that was marked as being in the inventory.

svn-id: r9664
2003-08-13 16:38:02 +00:00
Jamieson Christian
1615278ecc Upgraded IMuse::doCommand() to support more than 8 parameters.
V6 scripts can specify up to 16 parameters to be passed to
doCommand(). In most cases 8 or fewer parameters were used,
but occasional uses of 9 or 10 parameters resulted in
incorrect iMuse behavior due to lost doCommand() data.

ImTrigger was also upgraded to support 8 parameters instead
of 4, since the incorrect behavior that was observed involved
the use of triggered commands that required more than 4
parameters. Since ImTrigger data is not currently being saved
(which is bad), we do not at this time have to go to another
savegame format to support the additional ImTrigger data
(which is good).

This fix corrects a problem in the Tunnel of Love. When the
"execution scene" music finishes and the hidden door opens,
the Tunnel of Love music is supposed to start up again. In
ScummVM, it never would, do to the loss of parameters for a
trigger-based "Parameter Fade" command.

A bit of miscellaneous cleanup has also been made.

svn-id: r9579
2003-08-06 18:20:15 +00:00
Max Horn
becd70d243 cleanup: encapsulate some more members of class Actor, and rename newDirection -> targetFacing (since it corresponds to the future value of 'facing'; the distinction between 'facing' and 'direction' is extremly fuzzy)
svn-id: r9175
2003-07-24 17:44:00 +00:00
Max Horn
a62e49d0d4 added a FIXME
svn-id: r9121
2003-07-22 16:05:40 +00:00
Paweł Kołodziejski
ec2b0cca04 improved stampObject opcode for FT mine field, still layers? problem
svn-id: r9099
2003-07-20 21:01:06 +00:00
Paweł Kołodziejski
25dbf529ab some changes for stampObject opcode to be more similiar dissassembly
svn-id: r9098
2003-07-20 20:42:58 +00:00
Max Horn
59346f5c9a oops, this was a serious bug: message referred to buf_output (and was used by buf_output[300],) even after buf_output was out of scope
svn-id: r9046
2003-07-15 21:33:57 +00:00
Max Horn
c74e2eb4d7 factored out some duplicate code into a new method translateTextAndPlaySpeech; removed some completely useless code (why compute 'pointer' when we then throw away the result?)
svn-id: r9045
2003-07-15 21:30:53 +00:00
Max Horn
bb87787314 fix for bug #769744 (COMI: Trying to append to a nonexistant stream)
svn-id: r9025
2003-07-14 21:37:45 +00:00
Max Horn
963ecad362 debug/warning/error all automatically output a newline
svn-id: r8991
2003-07-13 16:22:17 +00:00
Paweł Kołodziejski
1ec23e5f3a implemented missing puttputt actor opcode 218. this opcode is strange (based of disassembly)
svn-id: r8821
2003-07-06 23:19:03 +00:00
Paweł Kołodziejski
bb756317b3 added comment for missing puttputt actor opcode
svn-id: r8810
2003-07-06 17:15:42 +00:00
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