Commit Graph

9029 Commits

Author SHA1 Message Date
Travis Howell
555caf2251 Add correct actor palette color changing for HE games.
svn-id: r12419
2004-01-16 01:52:49 +00:00
Max Horn
34e1dca97e added COMI text TODO
svn-id: r12418
2004-01-15 22:41:23 +00:00
Max Horn
11425a0cdd do a better job at charset clipping; some reengineering. However, to properly fix text drawing in COMI, we need to do some major changes
svn-id: r12417
2004-01-15 22:37:48 +00:00
Gregory Montoir
968436767c got rid of timer stuff to handle display sync
svn-id: r12416
2004-01-15 21:07:17 +00:00
Max Horn
b38f773e0f fixed COMI speech behaviour
svn-id: r12415
2004-01-15 20:39:24 +00:00
Max Horn
c14e7a0259 pedantic change
svn-id: r12414
2004-01-15 20:37:26 +00:00
Max Horn
ac8243d229 use Rect in struct VerbSlot
svn-id: r12413
2004-01-15 19:25:17 +00:00
Max Horn
d45682f7c5 fix clearBit
svn-id: r12412
2004-01-15 14:53:11 +00:00
James Brown
7a148743f1 Fiddling.
svn-id: r12411
2004-01-15 14:01:57 +00:00
Max Horn
445c79dbe9 pedantic correction
svn-id: r12410
2004-01-15 13:45:57 +00:00
Gregory Montoir
391f4e92e5 reset _lastSoundIndex in car animation too
svn-id: r12409
2004-01-15 13:08:24 +00:00
Travis Howell
ffe0854734 Update issues
svn-id: r12408
2004-01-15 10:54:47 +00:00
Travis Howell
4c4968839a Set these to zero just to be safe.
svn-id: r12407
2004-01-15 10:14:17 +00:00
Paweł Kołodziejski
69c935a26e fix overload algo position music
svn-id: r12406
2004-01-15 08:01:28 +00:00
Paweł Kołodziejski
ea69029982 song scene now works better
svn-id: r12405
2004-01-15 07:02:29 +00:00
Paweł Kołodziejski
feb0b79e08 or rather like that
svn-id: r12404
2004-01-15 06:46:31 +00:00
Paweł Kołodziejski
5d9c4bfd1e position should be based on data offset
svn-id: r12403
2004-01-15 06:37:00 +00:00
Travis Howell
d09aea9318 This should be zeroed too.
svn-id: r12402
2004-01-15 06:36:58 +00:00
Travis Howell
9854ab9344 Add correct fix for puttputt
svn-id: r12401
2004-01-15 06:25:57 +00:00
Travis Howell
5a876510e7 *** empty log message ***
svn-id: r12400
2004-01-15 04:47:55 +00:00
Travis Howell
ea0b9e5434 Hack only needs to check for insane values now.
svn-id: r12399
2004-01-15 04:46:07 +00:00
Travis Howell
19707c748f Only stop walkScript if it is been used.
svn-id: r12398
2004-01-15 03:03:00 +00:00
Travis Howell
6752f57473 Use simpler checks
HE games used old directions style

svn-id: r12397
2004-01-15 02:59:51 +00:00
Travis Howell
b99db76958 Need to know where this occurs
svn-id: r12396
2004-01-14 23:51:22 +00:00
Paweł Kołodziejski
6a85ab6af5 synced with local sources:
- comi music implementation(not finished),
- reorganized comi tables,
- some fixes for handling hookId

svn-id: r12395
2004-01-14 22:07:24 +00:00
Paweł Kołodziejski
89318f10fe fixed bundle decompression for some case
svn-id: r12394
2004-01-14 21:46:58 +00:00
Torbjörn Andersson
9b13e872b3 I found and fixed a nasty fade-up bug in BS2. I don't know if the same
situation could happen in BS1, but it's better to be safe than sorry, so
here are the same changes, as applied to the BS1 music code.

svn-id: r12393
2004-01-14 18:39:24 +00:00
Torbjörn Andersson
4980331ecf I accidentally introduced a bug when I changed the fading that would cause
fading-up music to distort and eventually deteriorate into white noise.

This was because I allowed _fade to be set on channels that weren't playing
and because I only checked _fade for equality when deciding when to stop
the fading. It should work much better now, I think.

svn-id: r12392
2004-01-14 18:33:30 +00:00
Paweł Kołodziejski
6ca6f13c6d forgot it
svn-id: r12391
2004-01-14 16:47:49 +00:00
Paweł Kołodziejski
ee3c512277 fix - stop played song when new
hack - for completable comi song scene

svn-id: r12390
2004-01-14 16:46:19 +00:00
Paweł Kołodziejski
dd2262b187 fixed crash on exit when using imuse digital
svn-id: r12389
2004-01-14 16:00:24 +00:00
Gregory Montoir
b1141ae717 bumped Cutaway::_personFace array size, as during intro Cutaway::_personFaceCount max value is 12
svn-id: r12388
2004-01-14 15:51:54 +00:00
Travis Howell
4bc769c33b Confirmed a few vars from disasm, good gusses.
svn-id: r12387
2004-01-14 15:20:07 +00:00
Travis Howell
d66de098fc Add/update comments
svn-id: r12386
2004-01-14 14:36:19 +00:00
Gregory Montoir
6c78f2a6b8 - tweaked a bit walking functions to make persons stop walking when a cutaway is canceled
- removed unpack to bob frame 2 (as it is never used)
- changed some error() calls to assert()
- minor cleanups

svn-id: r12385
2004-01-14 14:34:05 +00:00
Travis Howell
9f8caa6889 These two case are the same, checked samnmax disasm.
svn-id: r12384
2004-01-14 13:44:31 +00:00
Travis Howell
1230c0b083 No code is missing in this case.
svn-id: r12383
2004-01-14 13:41:15 +00:00
Oliver Kiehl
f496e49815 * /execute/ the binary too. don't only compile it
* actually 0.3.2 is sufficient. no need for 0.4.0

svn-id: r12382
2004-01-14 13:23:16 +00:00
Torbjörn Andersson
f75c122b94 Increased the delay I added to interpolation frames from 0 to 10. This will
probably make the scrolling less smooth (I don't yet know how much), but it
does seem to fix bug .

svn-id: r12381
2004-01-14 10:58:09 +00:00
Travis Howell
d295d8bc21 ??ZZ
ZZZZ

Fix another valgrind warning, I hope this is right spot.

svn-id: r12380
2004-01-14 10:48:36 +00:00
Travis Howell
d1d5d98494 
Valgrind warning fix from Endy

svn-id: r12379
2004-01-14 10:40:54 +00:00
Gregory Montoir
b218cb93fe cleanup
svn-id: r12378
2004-01-14 10:40:25 +00:00
James Brown
8cc0b7163c Move SCUMM debugger init later on. With this _numVariables is set, so theoretically the Debugger's scumm_vars[] array should work again. Although it
doesn't, for some reason I have yet to look into.

svn-id: r12377
2004-01-14 10:02:33 +00:00
Travis Howell
7bd3a50049 Add better method.
svn-id: r12376
2004-01-14 10:01:39 +00:00
Travis Howell
f6f3ea8da3 Add missing code for samnmax screen saver, fixes bug
svn-id: r12375
2004-01-14 09:54:45 +00:00
Torbjörn Andersson
15738c13d3 I wanted to Valgrind the cutscene code, so I had to fix the warnings about
uninitialized values. Now the only warnings I got were from libmpeg2
itself, and I don't know how serious that is.

I've also added some code - disabled by default - to allow the cutscenes to
run with libmpeg 0.3.1, since that's what I've got on my Linux box. It
appears to work on that one, though I only have the "eye" cutscene on it
yet.

Ogg Vorbis playback is still broken for me under Windows, though. I wonder
if it is because I don't have the very latest Ogg Vorbis libraries on it
(since I didn't manage to compile them under MinGW). But surely the file
format hasn't changed in any important way...?

svn-id: r12374
2004-01-14 08:14:25 +00:00
Torbjörn Andersson
2fb7d4c553 Changed the music fading so that the volume is increased when ABS(_fading)
grows larger, both when fading up and down. This fixes the problem where
the volume would "jump" when changing the fading "direction" of a stream.

svn-id: r12373
2004-01-14 08:09:03 +00:00
Torbjörn Andersson
b17d77eae9 Changed the music fading so that volume is increased when ABS(_fading)
grows larger, both when fading up or down. This fixes the problem where the
volume would "jump" when changing the fading "direction" of a stream.

Also changed the logic for deciding which music stream to stop if both
streams are playing and a third stream is started. Before it always tried
to pick the one that was fading down. Now it will pick the one with the
lowest volume, assuming that the more faded a stream is the lower its
volume.

Together, this should fix some abrupt music changes at the watchman's hut,
where it would sometimes start two music streams in rapid succession.

svn-id: r12372
2004-01-14 08:06:56 +00:00
Jonathan Gray
4746920c74 fix path specifiers
svn-id: r12371
2004-01-14 06:47:23 +00:00
Jonathan Gray
d48891b9cd number implies version
svn-id: r12370
2004-01-14 06:27:28 +00:00