Commit Graph

2010 Commits

Author SHA1 Message Date
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
Max Horn
55d3168c59 adhere to our coding style conventions; removed some unneccessary code
svn-id: r8376
2003-06-07 00:45:32 +00:00
Max Horn
4303edcbbd make SmushFont inherit from NutRenderer (TODO: drawChar stuff should be unified, too)
svn-id: r8375
2003-06-07 00:33:46 +00:00
Max Horn
033c264ea5 Loom unification
svn-id: r8373
2003-06-07 00:16:22 +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
Max Horn
00b53b5e81 set _version to detector value
svn-id: r8367
2003-06-06 23:56:56 +00:00
Max Horn
04db5c12ab make version public
svn-id: r8366
2003-06-06 23:55:00 +00:00
Torbjörn Andersson
229c5bb328 I have no idea if this is right, but at least sound seems to be working
again in Maniac Mansion, Zak and EGA Loom.

svn-id: r8365
2003-06-06 23:22:59 +00:00
Max Horn
4b227da824 Preparations for removing GF_AFTER_V? flags
svn-id: r8364
2003-06-06 22:51:33 +00:00
Max Horn
15d58d9f52 hook for V2 costumes (based on a brief glimpse at the costume resources; however I haven't yet looked at the rest of the format, so this would just crash if you enabled it right now)
svn-id: r8363
2003-06-06 22:35:23 +00:00
Torbjörn Andersson
2d74732afb Always reset the VAR_GAME_LOADED variable (if it's available). This seems
to fix bug #740148, at least partially.

svn-id: r8362
2003-06-06 21:59:56 +00:00
Jochen Hoenicke
ce0352eab2 Added a fix for music_timer in V3 games.
svn-id: r8361
2003-06-06 21:56:37 +00:00