Commit graph

106 commits

Author SHA1 Message Date
Max Horn
1c4167f080 pulled out arisme's recent changes to pauseMode, they are not correct as they break pause mode for all systems that use real MIDI drivers (see bug #584684). If you need a mute music mode, then add an according function to iMUSE/mixer but don't abuse pause mode, please
svn-id: r4615
2002-07-22 12:44:57 +00:00
James Brown
8de1ace6c7 Apply patch from Torbj�rn Andersson to make MP3_CDMUSIC mixer use
music_volume instead of sfx_volume.

svn-id: r4611
2002-07-21 06:55:33 +00:00
Nicolas Bacca
74041e2120 Fixed Monkey Island 2 freeze when sound is paused
svn-id: r4608
2002-07-20 07:57:22 +00:00
Paweł Kołodziejski
4e0747f46b DIG:fix for codec 10,
codecs are OK, now :)

svn-id: r4607
2002-07-20 05:04:06 +00:00
Paweł Kołodziejski
ec07adbf49 DIG: implemented music codec 12,
not really tested yet

svn-id: r4604
2002-07-19 20:10:56 +00:00
Paweł Kołodziejski
d5e5f054b3 DIG: implemented music codec 11,
12 coming soon.
not really tested yet

svn-id: r4603
2002-07-19 18:52:50 +00:00
Paweł Kołodziejski
d65204a24c implemented codec 10 in the dig music, 11, 12 coming soon.
not really tested yet

svn-id: r4602
2002-07-19 17:00:27 +00:00
Max Horn
e3ea2d3ad4 This warning is driving me nuts, so disabling it for now
svn-id: r4569
2002-07-16 14:15:27 +00:00
Max Horn
aec2530529 got rid of some g_scumm uses
svn-id: r4482
2002-07-07 21:27:06 +00:00
Max Horn
46a4188135 endian fix for Putt-Putt sound playback
svn-id: r4457
2002-07-04 11:18:25 +00:00
Max Horn
01dfd26a37 added some hackish support for the DIGI SFX format used in Putt-Putt demo
svn-id: r4451
2002-07-02 21:28:57 +00:00
Lionel Ulmer
4387c22d30 Small warning fix + double inclusion protection (can always be useful
:) ).

svn-id: r4395
2002-06-02 20:28:09 +00:00
Paweł Kołodziejski
4aabb0378c The Dig: stereo samples and mixer
svn-id: r4359
2002-05-19 20:38:53 +00:00
Paweł Kołodziejski
c9a53bcf76 The Dig: 16 bit samples and mixer
svn-id: r4358
2002-05-19 15:20:18 +00:00
Max Horn
17319703a9 added support for Mac1 sounds resources (appear in MI1/MacOS version). Still needs some work but is usable. Now if I could figure out Mac0...
svn-id: r4346
2002-05-17 21:58:59 +00:00
Nicolas Bacca
b3684d05ae Fixed evil filename overflow
svn-id: r4339
2002-05-15 19:29:36 +00:00
James Brown
4670fee821 Misc. fixes
svn-id: r4338
2002-05-15 10:25:00 +00:00
Max Horn
885f043a7f remove config-file.h from scumm.h (for me this means only 5 instead of 31 files have to be recompiled whenever config-file.h changes
svn-id: r4335
2002-05-14 23:50:09 +00:00
Max Horn
b529d80ed7 added #include "actor.h", some minor tweaks
svn-id: r4332
2002-05-14 23:32:34 +00:00
Max Horn
fe4230bcbf refactored parts of actor.cpp: many methods are now members of class Actor instead of class Scumm. This is still work in progress!
svn-id: r4319
2002-05-14 19:11:20 +00:00
James Brown
a592de4333 Remove SCUMM dependancies from SDL.C - This fixes a regular crash in Simon due to the autosaver.
This changes the OSystem interface. Porters beware.

svn-id: r4318
2002-05-14 18:14:16 +00:00
James Brown
4466f1555b The DIG SFX support - thanks to aquadran
svn-id: r4303
2002-05-13 08:25:58 +00:00
Nicolas Noble
16e004832f Closing bug #555104
svn-id: r4299
2002-05-12 21:39:19 +00:00
James Brown
cf46277a7f Revert incorrect endian fixes.
If there's something wrong here, it's with the MKID_BE define in scummsys.h, not this code.

svn-id: r4250
2002-05-09 03:51:51 +00:00
Ruediger Hanke
9687c60621 Big endian fixes
svn-id: r4249
2002-05-08 20:50:07 +00:00
James Brown
e2df4d2b3b Added rate detection for The Dig - solves problems with other language versions.
svn-id: r4226
2002-05-07 11:48:34 +00:00
James Brown
21e14b44c5 Add raw PCM part to dig .bun decompressor.
svn-id: r4219
2002-05-06 15:32:32 +00:00
Max Horn
2f2d4527ef cleaning up the mess drigo left... <sigh>
svn-id: r4215
2002-05-05 20:04:26 +00:00
Enrico Rolfi
38d048b86b Fixed some things for Macintosh ports
svn-id: r4212
2002-05-05 19:06:51 +00:00
James Brown
46f7c4d543 Add more Dig compatability, fix Dig sounds due to Endian.
svn-id: r4201
2002-05-05 17:44:39 +00:00
Lionel Ulmer
4c605357cf Added the 'MKID' macro the the ids to make big endian people happy.
svn-id: r4199
2002-05-05 07:52:17 +00:00
James Brown
9f699a21a1 Make the bundle parser code a little cleaner :)
svn-id: r4198
2002-05-05 02:28:35 +00:00
James Brown
eeda732b36 Fix Dig bundle 'clicking'
svn-id: r4197
2002-05-05 01:54:06 +00:00
Lionel Ulmer
ab0401242e Change the 'poperty' call to be 64-bits clean.
Porters, please check that I did not break anything while updating
your ports. Thanks :-)

svn-id: r4196
2002-05-04 09:55:10 +00:00
Lionel Ulmer
bcae301bf7 Finally easier than what I thought... Removed the last 'float' from
the sound code :-)

People with LoomCD and MP3 tracks should test that I did not break
anything.

svn-id: r4186
2002-05-03 21:37:49 +00:00
Lionel Ulmer
aa09cbf8fe Fixed a 'file descriptor' leak in the MP3 tracks caching
system. Rewrote a bit the call to the MAD timer API.

svn-id: r4185
2002-05-03 21:11:16 +00:00
Nicolas Bacca
cdb1af9ad2 Start of volume support + mixer pause
svn-id: r4169
2002-05-01 22:36:15 +00:00
Lionel Ulmer
7fa28ffec2 Removed ScummVM's private alloc / free / realloc functions. If I break
something, just yell :-)

svn-id: r4160
2002-05-01 17:16:47 +00:00
Lionel Ulmer
75f0674e46 Fix the AUTOFREE problem on TheDig sounds. 'Proper' fix may come later
if I get answers on my -devel post :-)

svn-id: r4159
2002-05-01 12:57:12 +00:00
Ruediger Hanke
d1ba5f354f Fixes for Dig sound on big endian systems
svn-id: r4157
2002-05-01 11:39:21 +00:00
James Brown
4924ecd7da Added missing Dig smush codecs. Dig movies are now perfect, graphically.
Thanks Aquadran.

svn-id: r4139
2002-04-30 07:40:56 +00:00
James Brown
4d5a8492fb Fix compile issue.
svn-id: r4133
2002-04-29 10:42:53 +00:00
Ruediger Hanke
991d988b23 Fix compile error (old-style ANSI for scoping)
svn-id: r4132
2002-04-29 09:28:47 +00:00
James Brown
eefae397da Oops, bundle audio is UNSIGNED.
svn-id: r4131
2002-04-29 08:37:11 +00:00
James Brown
5f9bd8343c Small inSANE patch for the dig, and start of Dig Audio support.
It seems to crash using AUTOFREE for some reason. Can someone Valgrind/Purify this for me?

svn-id: r4129
2002-04-29 08:28:27 +00:00
Lionel Ulmer
c134803976 MI1 CD audio should work better now. Still a bit flaky but should be
better than before :-)

svn-id: r4128
2002-04-28 14:01:40 +00:00
Lionel Ulmer
35d305ce64 MP3 CD tracks should now be working properly.
Ludde, maybe you should check if Simon is still working OK as now the
change of the sound playing handle is 'asynchronous' (ie if you call
'stop' on a sound, the handle will NOT be put to NULL right away, but
at the next 'mix' thread call). Maybe we should completely remove this
handle stuff and always use instead the index returned by the
'play_XXX' functions.

svn-id: r4101
2002-04-27 07:42:14 +00:00
Lionel Ulmer
f24777a998 Remove useless debug code.
svn-id: r4094
2002-04-26 17:22:58 +00:00
Lionel Ulmer
8fccbb0612 Fixed one memory overwrite problem in MP3-CD support. First pass at
some code clean-up. More ahead (once I understand better the code :-) ).

svn-id: r4093
2002-04-26 17:11:05 +00:00
James Brown
b065d233d1 Commit MI1/Indy4/etc crash fix :)
svn-id: r4081
2002-04-26 02:53:40 +00:00