248 Commits

Author SHA1 Message Date
Paweł Kołodziejski
ddd97c96da fix/workaround for bug: 1120625
svn-id: r16779
2005-02-12 15:00:16 +00:00
Paweł Kołodziejski
ac72fcd63d return null if sound is not found
svn-id: r16737
2005-02-06 10:09:37 +00:00
Paweł Kołodziejski
292eaa08b0 added support for *.map files version 2
svn-id: r16709
2005-01-30 20:45:02 +00:00
Nicolas Bacca
83e9ca19df Fix mp3/vorbis detection
svn-id: r16681
2005-01-28 23:30:51 +00:00
Max Horn
abd12dd1b6 Use class Mutex instead of MutexRef
svn-id: r16679
2005-01-28 22:05:51 +00:00
Paweł Kołodziejski
6feb7ae90f more proper checks
svn-id: r16667
2005-01-28 15:04:37 +00:00
Torbjörn Andersson
d25ac7c951 Indentation
svn-id: r16666
2005-01-28 14:55:52 +00:00
Paweł Kołodziejski
912c669977 added error message for lack of library support
svn-id: r16663
2005-01-28 14:42:47 +00:00
Paweł Kołodziejski
ac06b41894 fixed restoration of sounds params after cross non/compressed bundles
svn-id: r16660
2005-01-28 11:51:57 +00:00
Paweł Kołodziejski
ad7cc6cef4 add checks for mad and vorbis define
svn-id: r16659
2005-01-28 11:43:25 +00:00
Paweł Kołodziejski
e891988298 double check
svn-id: r16658
2005-01-28 11:21:38 +00:00
Paweł Kołodziejski
9171951cf9 ah, forgot that
svn-id: r16657
2005-01-28 11:16:21 +00:00
Paweł Kołodziejski
730aad6a86 added support for mp3 compressed bundles
svn-id: r16656
2005-01-28 11:03:34 +00:00
Paweł Kołodziejski
a5a02d3f43 clear compressed entries before restore for compatibility with old savegames
svn-id: r16655
2005-01-28 10:58:02 +00:00
Paweł Kołodziejski
46c2a49e86 fix for shadowed variable
svn-id: r16646
2005-01-27 16:48:30 +00:00
Paweł Kołodziejski
d1713410f2 fix for shadowed variable
svn-id: r16643
2005-01-27 12:08:09 +00:00
Paweł Kołodziejski
55aa56dbdc fix for compressed bun sounds
svn-id: r16641
2005-01-26 14:11:27 +00:00
Paweł Kołodziejski
065a27daab added support for compressed bun files
svn-id: r16639
2005-01-25 22:21:26 +00:00
Paweł Kołodziejski
beb5395d54 fixed volume channel in fade track
svn-id: r16638
2005-01-25 21:36:01 +00:00
Max Horn
ec79a9a768 A little more moving around #include's (last one for today ;-)
svn-id: r16534
2005-01-10 22:51:42 +00:00
Max Horn
cffd917165 system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
svn-id: r16527
2005-01-10 22:06:49 +00:00
Max Horn
32f0dbdcb2 Moving AppendableAudioStream into SCUMM engine, as it is only used there
svn-id: r16494
2005-01-09 03:15:59 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
f15f517bb4 Add 'speech' sound type to mixer; make use of that in iMuse Digital
svn-id: r16331
2004-12-27 01:32:40 +00:00
Max Horn
67b311713d Added 'sound types' to the mixer - for now, only plain (for the premixer), SFX and music; volume is now controlled based on the sound type
svn-id: r16330
2004-12-27 00:27:00 +00:00
Max Horn
10dd548b85 Changed parameter order of SoundMixer::playInputStream to match that of playRaw
svn-id: r15950
2004-11-28 23:02:28 +00:00
Max Horn
1ae87c0fbb Trying to cleanup the volume control mess inside the SCUMM engine: renamed MusicEngine::setMasterVolume to setMusicVolume; fixed iMuse to use the correct method for setMusicVolume (previously modified the iMuse internal volume control); hooked up the volume control of various other music engines; added ScummEngine::setupVolume method which can be called whenever volume settings change, and which gurantees that those are handled uniformly
svn-id: r15944
2004-11-28 21:24:02 +00:00
Torbjörn Andersson
ecc7b79a44 Initialize variable to avoid warning and possibly undefined behaviour.
svn-id: r15879
2004-11-25 07:09:30 +00:00
Max Horn
147a09bcf5 (Partial) fix for bug #1035690 (COMI: cannon shooting uses a lot of performance) -- remember, busy waiting is almost always bad, esp. when waiting for another thread...
svn-id: r15875
2004-11-24 10:00:02 +00:00
Max Horn
666d7d106d Some code transformations (no functional change)
svn-id: r15874
2004-11-24 09:47:32 +00:00
Max Horn
eb9404beb8 This is really an IMA codec...
svn-id: r15776
2004-11-10 01:44:46 +00:00
Eugene Sandulenko
3ebaf08d6c Fix compilation.
svn-id: r15598
2004-10-17 21:34:37 +00:00
Max Horn
ea9d53be79 cleanup
svn-id: r15597
2004-10-17 19:40:34 +00:00
Max Horn
86113ad042 Fix doxygen warning
svn-id: r15452
2004-10-07 21:18:54 +00:00
Max Horn
ce8c99bf62 Rename remaining OSystem methods to match our coding guidelines
svn-id: r15332
2004-09-28 20:19:37 +00:00
Max Horn
61b7e2155a Fix doxygen warnings
svn-id: r15277
2004-09-25 23:26:46 +00:00
Paweł Kołodziejski
9baf06c9fa workaround for decode bundle bug (it overloaded memory)
svn-id: r15165
2004-09-18 13:24:02 +00:00
Torbjörn Andersson
dc461ca770 Fixed some other cases where the number of parameters to our message-
printing functions didn't agree with the format strings.

GCC will find a couple of other things to warn about if these functions
are labelled as printf()-style functions, but those were less important, I
think.

svn-id: r15081
2004-09-12 18:21:21 +00:00
Chris Apers
7988660bda On PalmOS too
svn-id: r15026
2004-09-12 11:07:32 +00:00
Paweł Kołodziejski
9032d086af added error info for bundle mgr bug
svn-id: r14893
2004-09-04 14:27:16 +00:00
Paweł Kołodziejski
3a19ca1be3 fixde bug IMUSE+DEBUG
svn-id: r14892
2004-09-04 13:13:23 +00:00
Paweł Kołodziejski
23e294e10c added comment for insane hack
svn-id: r14891
2004-09-04 12:35:19 +00:00
Max Horn
3e75807fa8 more cleanup
svn-id: r14816
2004-08-28 14:33:34 +00:00
Max Horn
13356dfa17 Reduce code duplication
svn-id: r14815
2004-08-28 14:19:56 +00:00
Max Horn
98bcae943d Cleaning up code a bit while trying to understand it...
svn-id: r14814
2004-08-28 14:06:36 +00:00
Travis Howell
057ea5cba8 Fix compile
svn-id: r14745
2004-08-25 07:23:48 +00:00
Paweł Kołodziejski
5b7f8b5e78 added comment for insane hack and not tested fix for deadlock bug imuse + debugger
svn-id: r14742
2004-08-25 07:03:38 +00:00
Max Horn
bf7eae7932 Added another sanity assert (I got one crash in this sport while using a memory debugger -- likely a thread race condition
svn-id: r14635
2004-08-16 22:24:24 +00:00
Max Horn
41288cb8e0 Init _compInput (prevents bad free)
svn-id: r14506
2004-08-07 18:17:09 +00:00
Torbjörn Andersson
963aa6085d Valgrind complained about an uninitialized value. This appears to fix it,
and anyway it won't hurt.

svn-id: r14279
2004-07-19 15:26:07 +00:00