Commit Graph

2022 Commits

Author SHA1 Message Date
Jonathan Gray
af979a4a7a oops
svn-id: r8472
2003-06-14 13:26:11 +00:00
Jonathan Gray
3fc2d76452 another leak
svn-id: r8471
2003-06-14 13:13:17 +00:00
Jonathan Gray
ab40e0cfc9 fix leaks
svn-id: r8470
2003-06-14 12:50:14 +00:00
Max Horn
e5d02f1774 init _2byteFontPtr
svn-id: r8469
2003-06-14 12:24:42 +00:00
Max Horn
f4a31da513 runHook -> runInventoryScript, VAR_HOOK_SCRIPT -> VAR_INVENTORY_SCRIPT
svn-id: r8468
2003-06-14 12:23:30 +00:00
Max Horn
aa83d4fd31 cleanup
svn-id: r8467
2003-06-14 11:52:34 +00:00
Torbjörn Andersson
54453b64bf Format string/argument mismatch fix.
svn-id: r8464
2003-06-14 08:58:56 +00:00
Torbjörn Andersson
c1880ad522 Format string/argument mismatch fixes.
svn-id: r8463
2003-06-14 08:57:56 +00:00
Torbjörn Andersson
6c1a5573af Cast %c error() parameters to byte before printing, like we do elsewhere.
svn-id: r8461
2003-06-13 18:09:18 +00:00
Torbjörn Andersson
423ccef9a2 Hack to avoid bad actor crash in o5_walkActorToActor() when using the camel
in the FOA "wits" path. We have a number of these hacks now...

svn-id: r8460
2003-06-13 17:35:44 +00:00
Max Horn
77aa2fe000 fix for bug #752843 (based on patch #748675)
svn-id: r8458
2003-06-13 09:24:00 +00:00
Max Horn
36c50f10f3 fix for bug #752860 (based on patch #748675)
svn-id: r8457
2003-06-13 09:11:31 +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
5054e10573 this camera movement check seems to be new in V4 (or even V5 ?)
svn-id: r8451
2003-06-12 18:18:58 +00:00
Jamieson Christian
d7b7abd93f Fixed MSVC warning
svn-id: r8449
2003-06-12 17:33:45 +00:00
Jonathan Gray
aabfc254c1 rework loom subtitle option handing
svn-id: r8448
2003-06-12 16:38:43 +00:00
Jonathan Gray
c26bdae207 hook subtitle variable up to f9 for loomcd
svn-id: r8446
2003-06-12 12:22:57 +00:00
Chris Apers
6dd9f8c003 This was missing
svn-id: r8444
2003-06-12 07:46:48 +00:00
Torbjörn Andersson
a8b61e464f The compressed box matrix would sometimes refer to the box after the last
one. This was probably harmless, but the fix seems to be trivial. I hope.

svn-id: r8441
2003-06-12 06:53:05 +00:00
Max Horn
0503b553df some walk fixes
svn-id: r8439
2003-06-11 21:45:47 +00:00
Max Horn
17a5a69c04 fixed createBoxMatrix for small header games (bug #752844)
svn-id: r8438
2003-06-11 21:34:34 +00:00
Torbjörn Andersson
cff68f81fd Updated comment.
svn-id: r8428
2003-06-10 11:19:00 +00:00
Torbjörn Andersson
c2ef3a1afb CHARSET_1() should only care about talk sound effects, not ordinary ones,
when deciding whether or not to call stopTalk(). Otherwise some looping
sound effects can keep an actor talking forever.

This should fix bug #645976 ("SAM: Sam talks forever inside BOTs diner")

svn-id: r8427
2003-06-10 06:41:16 +00:00
Torbjörn Andersson
5813724a33 Fixed text-positioning regressions in the Full Throttle intro and in The
Dig's "Spacetime Six" movie.

Also rewrote drawStringCentered() to be more like drawStringAbsolute(). It
makes sense to me, but let me know if it causes any new regressions.

svn-id: r8415
2003-06-09 12:24:05 +00:00
Max Horn
b7ddc7bc57 allow quit during smush playback; cleanup
svn-id: r8411
2003-06-09 01:32:36 +00:00
Max Horn
35ef32cf4b cleanup
svn-id: r8408
2003-06-09 01:06:29 +00:00
Max Horn
54e4ac9746 better (proper? hm...) code to deal with turning of subtitles in V7/V8 games
svn-id: r8407
2003-06-09 00:51:09 +00:00
Max Horn
c04f39304b don't incorrectly treat SO_PRINT_WRAP like SO_PRINT_MUMBLE; rather just ignore it
svn-id: r8406
2003-06-09 00:46:32 +00:00
Max Horn
18a4fc7df6 Fix for bug #746850 (this change was originally meant to 'fix' turning of subtitles in V7/8 games; however this is a totally wrong way to achieve that)
svn-id: r8405
2003-06-09 00:40:53 +00:00
Max Horn
cc41d96b77 cleanup
svn-id: r8404
2003-06-09 00:35:32 +00:00
Max Horn
f034b339cd reimplemented createBoxMatrix; this is much cleaner and easier to understand than the original code (IMHO); in a few cases it gives slightly different results (because the old code didn't always find the shortest path), but that shouldn't cause any problems
svn-id: r8403
2003-06-08 17:59:09 +00:00
Torbjörn Andersson
ab7f8b3378 Fixed recent regression (too many blast texts) in The Dig's end credits and
made the text scroll off the screen instead of just vanishing at the top.
(The latter also applies to Full Throttle's end credits.)

svn-id: r8402
2003-06-08 15:17:14 +00:00
Max Horn
a1caf1f9f9 forgot to check this one in
svn-id: r8400
2003-06-08 12:56:42 +00:00
Max Horn
f8ec8a9903 cleanup
svn-id: r8399
2003-06-08 12:49:34 +00:00
Max Horn
be9e6e85db added quit event
svn-id: r8398
2003-06-08 12:11:14 +00:00
Max Horn
083f4c4845 never call exit(), always go thrugh OSystem::quit()
svn-id: r8397
2003-06-08 11:54:35 +00:00
Max Horn
faadbcafa7 cleanup; got rid of the split function and rather work in place (so instead of allocating dozens of small goblets of memory, we only need to duplicate the string once); fixed some text positioning bugs (but again, to get a real accurate implementation, I'll need to study screen shots of the Dig/FT/COMI videos and compare them to our results)
svn-id: r8388
2003-06-08 00:39:08 +00:00
Max Horn
f273c4195b cleanup
svn-id: r8387
2003-06-07 23:12:46 +00:00
Max Horn
3f39f7d909 cleanup and a few fixes for text positioning (but am not sure if it's fully correct now either; will have to compare smush subtitles we generate with those from the LEC engine)
svn-id: r8386
2003-06-07 22:58:29 +00:00
Max Horn
15d5ceffbd case 9 was drawStringCentered but should have been drawStringWrapCentered; cleanup
svn-id: r8385
2003-06-07 22:57:27 +00:00
Max Horn
209cd912cf cleanup
svn-id: r8384
2003-06-07 22:56:47 +00:00
Max Horn
fedc3b7e62 Fix for bug #654286: ZAK256: Ending credits are illegible
svn-id: r8383
2003-06-07 18:26:51 +00:00
Paweł Kołodziejski
70210d5d3a fix set costumes for v1
svn-id: r8382
2003-06-07 14:02:07 +00:00
Torbjörn Andersson
b6b6fb52e5 CD Loom and EGA Loom should not use the same dissolve effect, so I've
reverted that part of the Loom unification and clarified the comments
slightly.

I also slowed down the CD Loom dissolve a bit. It's still faster than the
default behaviour, but I think it looks better this way. (Feel free to
change that back again if you don't agree.)

svn-id: r8381
2003-06-07 11:59:56 +00:00
Paweł Kołodziejski
395ab54ea9 some changes for v1 costumes
svn-id: r8380
2003-06-07 10:44:54 +00:00
Jochen Hoenicke
f1b3e170e9 This should be the right check for header_len.
I first thought that old games did not have GF_SMALL_HEADER.

svn-id: r8379
2003-06-07 09:48:10 +00:00
Paweł Kołodziejski
0c85e713ac init costumes for v1 games
svn-id: r8378
2003-06-07 04:24:57 +00:00
Max Horn
49b9a8fc9d follow our coding conventions
svn-id: r8377
2003-06-07 00:49:36 +00:00