6482 Commits

Author SHA1 Message Date
Torbjörn Andersson
907485c1a2 Another untested endian fix.
svn-id: r9971
2003-09-02 15:11:19 +00:00
Travis Howell
60dd216672 Add missing verbOps cse for loomcd, needs work.
svn-id: r9970
2003-09-02 14:50:58 +00:00
Torbjörn Andersson
730e6b8c38 Use the new per-channel pausing. This allows us to play the music for the
in-game dialogs.

svn-id: r9969
2003-09-02 13:50:45 +00:00
Torbjörn Andersson
f486997822 Added per-channel pausing. Maybe I should have named the pauseChannel()
function simply pause() to be consistent with stop(), but there already is
a pause() function and I don't want to have two functions with the same
name doing different things. (The current pause() function pauses all
channels.)

svn-id: r9968
2003-09-02 13:48:20 +00:00
Torbjörn Andersson
8c61a29c29 Since soundHandleMusic[] is now an array of sound handles instead of
channel indexes, we should use stopHandle() instead of stop() to kill the
music channel.

Am I the only one who finds the distinction between channel indexes and
sound handles confusing at times? :-)

svn-id: r9967
2003-09-02 12:55:20 +00:00
Travis Howell
f90b5f06a5 This changes applies to both version 3 and 4, according to disasm.
svn-id: r9966
2003-09-02 11:24:05 +00:00
Torbjörn Andersson
5270fa2d5a Re-formatted the code to be a bit more in line with the rest of ScummVM,
and made a few (untested) endian-fixes.

svn-id: r9965
2003-09-02 09:55:11 +00:00
Torbjörn Andersson
66cdc7900e Re-formatted the code to be a bit more in line with the rest of ScummVM.
svn-id: r9964
2003-09-02 09:54:42 +00:00
Paweł Kołodziejski
5a6bce590b changed sounds volume to original volume level, and fixed sounds in bass intro
svn-id: r9963
2003-09-02 07:49:40 +00:00
Paweł Kołodziejski
f59a0633d6 fixed if check
svn-id: r9962
2003-09-02 07:18:24 +00:00
Jonathan Gray
1f29e0416c add note about FluidSynth to ALSA section
svn-id: r9961
2003-09-02 06:13:41 +00:00
Travis Howell
3f2ca2b36a Fix from Hibernatus, correct start position for sfx in Amiga maniac/zak.
svn-id: r9960
2003-09-02 03:21:14 +00:00
Travis Howell
7b26efda21 Add sound looping for Amiga zak/maniac
svn-id: r9959
2003-09-01 17:11:09 +00:00
Travis Howell
a2b1e9081c Fix from Hibernatus, indy3 has black shadows
svn-id: r9958
2003-09-01 15:40:16 +00:00
Paweł Kołodziejski
db18d4657c forgot this
svn-id: r9957
2003-09-01 14:02:45 +00:00
Paweł Kołodziejski
743a3fbdaf added sound handle stuff to mixer streams
svn-id: r9956
2003-09-01 13:43:22 +00:00
Chris Apers
e6a0261c7e The channel could be destroyed so changeVolumeAndPan can't access it in that case
svn-id: r9955
2003-09-01 10:12:28 +00:00
Travis Howell
ebf9114f68 Add v1 maniac load/save screen support
Detect save files

svn-id: r9954
2003-09-01 09:08:48 +00:00
Travis Howell
97545e41fb Add missing break
Skip auto save slot.

svn-id: r9953
2003-09-01 07:50:47 +00:00
Torbjörn Andersson
178b0d82df Another attempt at fixing the music1.clu / music2.clu thing.
svn-id: r9952
2003-09-01 06:40:07 +00:00
Paweł Kołodziejski
56ca9f03df possibly fixes for not exist id stream channel
svn-id: r9951
2003-09-01 06:23:04 +00:00
Paweł Kołodziejski
beb138d4d8 added warkaround for not exist music stream id at appendStream call
svn-id: r9950
2003-09-01 06:13:47 +00:00
Travis Howell
e9727c157e Minor cleanup of color cycle resource loading
svn-id: r9949
2003-09-01 06:11:41 +00:00
Travis Howell
db6cd68196 Add work around for color cycling been used in monkeyvga when it shouldn't.
svn-id: r9948
2003-09-01 05:07:43 +00:00
Travis Howell
c5141005e0 Add CD audio check for loomcd
Revert last change, since it wipped out intro. text.

svn-id: r9947
2003-09-01 03:08:32 +00:00
Travis Howell
b43a6f6496 Override default initial setting of subtitles enabled in loomcd
svn-id: r9946
2003-09-01 01:50:07 +00:00
Paweł Kołodziejski
82fea49671 added comments:
volume: 0 - 127
pan: (-127 <-> 0 <-> 127) (left <-> center <-> right)

svn-id: r9945
2003-08-31 20:36:53 +00:00
Paweł Kołodziejski
2533b23a60 added mixer features: volume and pan control per channel
svn-id: r9944
2003-08-31 20:26:21 +00:00
Torbjörn Andersson
54f5caedc5 Untested (because I don't have any savegames on this computer) support for
using music1.clu and music2.clu instead of music.clu

svn-id: r9943
2003-08-31 18:09:21 +00:00
Torbjörn Andersson
e60ee06e2d When a fading music channel is freed to make room for new music, or when a
music channel has faded out, destroy the channel immediately. Don't wait
for the mixer to finish it off.

This seems to fix a problem where the mixer would eventually run out of
slots if you left the Quit dialog showing for too long.

Unfortunately I don't know if it fixes the "out of slots" errors I
encountered once during normal play. Oh well, time will tell...

svn-id: r9942
2003-08-31 17:28:36 +00:00
Jonathan Gray
b5ece53748 cleanup and make script_v2 use o5_saveLoadGame
svn-id: r9941
2003-08-31 15:39:27 +00:00
Jonathan Gray
f77faa2313 some things needed for supporting original save/load screens in v3 games, doesn't fully work but doesn't break anything either
svn-id: r9940
2003-08-31 14:58:56 +00:00
Torbjörn Andersson
3b62d9b4da No longer assume that all sound effects are 22 kHz. Some are 11 kHz.
svn-id: r9939
2003-08-31 10:45:14 +00:00
Torbjörn Andersson
155f4591c9 Cleaned up StreamCompMusic(), including some untested endian-fixes.
This should also fix the bug where music sometimes didn't start playing.

svn-id: r9938
2003-08-31 10:38:32 +00:00
Jonathan Gray
25a7c5de67 support having speech clusters named speech1.clu and speech2.clu cd.bin is needed if you want to use this scheme
svn-id: r9937
2003-08-31 03:19:43 +00:00
Travis Howell
ce23cdfe50 Update indy3
If there are any graphical glitches left, please add a bug report.

svn-id: r9936
2003-08-31 01:21:01 +00:00
Travis Howell
f28581cd89 Add note about roland update for loom/mi1 [ega]
svn-id: r9935
2003-08-31 00:34:20 +00:00
Jonathan Gray
4ea7eeb563 fix compilation
svn-id: r9934
2003-08-31 00:00:09 +00:00
Torbjörn Andersson
c54baa429b BS2 crashed because it passed a buffer of uneven length to the mixer. This
is the only place I can think of where this could have happened, so I've
added a paranoid check to ensure the buffer length is even.

Let's see how that works out...

svn-id: r9933
2003-08-30 22:17:59 +00:00
Torbjörn Andersson
f00b48b4cf Set a default music volume so that we can actually hear it. :-)
svn-id: r9932
2003-08-30 21:58:10 +00:00
Paweł Kołodziejski
7b3aae7c03 fixed not cleared sound handle for music
svn-id: r9931
2003-08-30 21:09:13 +00:00
Torbjörn Andersson
f72681b10a Made PlayingSoundHandle unsigned again, since the mixer change was
reverted.

svn-id: r9930
2003-08-30 20:36:44 +00:00
Torbjörn Andersson
dfe5d067bb Reverted previous change since the mixer change was reverted.
svn-id: r9929
2003-08-30 20:35:07 +00:00
Paweł Kołodziejski
b321a7a468 ah
svn-id: r9928
2003-08-30 20:27:48 +00:00
Paweł Kołodziejski
c684a076ee revert id handle stuff
svn-id: r9927
2003-08-30 20:25:07 +00:00
Torbjörn Andersson
e7bebcf7aa Fixed Simon 2 intro regression (and possibly others as well) caused by
recent mixer change.

svn-id: r9926
2003-08-30 20:14:30 +00:00
Torbjörn Andersson
bfee72f757 If -1 is going to be a valid value for a PlayingSoundHandle, the data type
had better be signed...

svn-id: r9925
2003-08-30 20:07:09 +00:00
Paweł Kołodziejski
9c05d44d00 added func isChannelActive for mixer, and fixed handling numbers of channel 0
svn-id: r9924
2003-08-30 18:12:49 +00:00
Paweł Kołodziejski
a2dad74da1 added sfx support, increased speech support, and music code(streaming works fine but you don't hear anything) newStream, and appendStream doesn't work but playRaw works for music
svn-id: r9923
2003-08-30 18:06:08 +00:00
Travis Howell
890c5cde04 Very basic sfx support for Amiga version of maniac/zak
svn-id: r9922
2003-08-30 15:32:57 +00:00