Commit Graph
176 Commits
Author SHA1 Message Date
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
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