Commit Graph

182 Commits

Author SHA1 Message Date
Joel Teichroeb
93632681c0 SCUMM: Fix spelling of length 2012-04-04 21:23:14 -07:00
Eugene Sandulenko
78f1ea7690 OSYSTEM: extended installTimerProc() with timer ID parameter 2011-08-06 11:28:35 +01:00
athrxx
636a28c0dd SCUMM: fix crash in digital iMuse games when using RTL and restarting
(static array were not reset to NULL after being freed and therefore didn't get reallocated on restart)
2011-07-03 14:40:57 +02:00
Max Horn
82343f6649 SCUMM: Remove some unused var warnings (see bug #3293800) 2011-05-14 23:50:43 +02:00
Max Horn
b37463fe59 SCUMM: Move class ResourceManager to its own header 2011-05-13 11:47:08 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
4ab51a8b26 SCUMM: Typo 2011-04-14 09:26:50 +02:00
Max Horn
1759209b3b SCUMM: Use shared ADPCM data tables 2011-04-13 12:48:58 +02:00
Max Horn
9c2ff87db7 SCUMM: Fix bug #3187622 (COMI: incorrect decoding of audio codec 13/15) 2011-04-13 11:49:25 +02:00
Max Horn
b52b6b8d2b SCUMM: Resolve some code duplication 2011-04-13 11:49:25 +02:00
Max Horn
29962bfc73 SCUMM: Move ADPCM decoder into separate function 2011-04-13 11:49:24 +02:00
Max Horn
0ce2ca4e00 COMMON: Replace MKID_BE by MKTAG
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
2011-04-12 16:53:15 +02:00
dhewg
d83a83ef50 JANITORIAL: Remove/comment unused vars
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-29 21:57:56 +02:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
54e0390752 SCUMM: Replace Common::File uses by SeekableReadStream and SearchMan
svn-id: r54434
2010-11-23 22:25:10 +00:00
Max Horn
2180b2d6b5 COMMON: Split common/stream.h into several headers
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn
a1840bd573 AUDIO: Rename Mixer::playInputStream to playStream
svn-id: r48637
2010-04-12 09:14:17 +00:00
Johannes Schickel
ef70f6996b Fix another mismatching new[] call (note that this needs to be replaced by malloc, since else MemoryReadStream will try to use free on an new[] allocated block.)
svn-id: r48162
2010-03-04 17:46:18 +00:00
Johannes Schickel
fe35d372da - Rename FlacStream to FLACStream.
- Rename makeFlacStream to makeFLACStream.

svn-id: r47846
2010-02-03 09:42:11 +00:00
Max Horn
1565f14bc1 Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
svn-id: r47579
2010-01-26 22:48:45 +00:00
Max Horn
7ab85cd035 SCUMM: Get rid of some redundant enum vals in iMuse digitial
svn-id: r47436
2010-01-22 14:11:33 +00:00
Max Horn
dc5e08e623 Move raw audio flags from sound/mixer.h to sound/raw.h
svn-id: r47395
2010-01-19 22:30:33 +00:00
Max Horn
f0a0ed8f9e Get rid of Mixer::FLAG_REVERSE_STEREO; also change SCUMM's iMuse Digital emulation to reverse stereo again, as it once seems to have been intended
svn-id: r47374
2010-01-19 11:19:53 +00:00
Max Horn
557bb394de Get rid of Mixer::FLAG_AUTOFREE.
Also fix several recently introduced new/delete vs. malloc/free mismatches.

svn-id: r47369
2010-01-19 00:56:29 +00:00
Max Horn
7ec2da968c Switch most AudioStream factories to use DisposeAfterUse::Flag
svn-id: r47334
2010-01-16 21:36:08 +00:00
Max Horn
c489259353 Switch SCUMM from AppendableAudioStream to QueuingAudioStream
svn-id: r47183
2010-01-08 22:10:19 +00:00
Johannes Schickel
5243157eb1 Adapt digital iMuse to use SeekableAudioStream::seek, instead of ryling on the deprecated FLAC, Vorbis and MP3 interface.
svn-id: r47064
2010-01-06 00:01:27 +00:00
Johannes Schickel
81a94a0644 - Put the new factories for MP3, Vorbis and FLAC in place.
- Marked the loop factories with loop related parameters as deprecated.

svn-id: r47061
2010-01-05 23:59:28 +00:00
Paweł Kołodziejski
227e4e65df fix for bug #2820389
svn-id: r44274
2009-09-23 13:22:12 +00:00
Paweł Kołodziejski
e6580be475 not need continue checks after found
svn-id: r44272
2009-09-23 13:04:51 +00:00
Travis Howell
122ff32d75 Remove excess spaces.
svn-id: r44029
2009-09-11 10:13:54 +00:00
Torbjörn Andersson
01886d3e52 Added some more information to the "Compressed sound ... invalid" error. Maybe
this will help in determining what's causing bug #2830364. (It sounds like a
bad data file, but who knows...)

svn-id: r42974
2009-08-01 15:42:42 +00:00
Travis Howell
cff307e55d Fix bug #2821986 - COMI: setting to 'subtitles only' does not disable speech.
svn-id: r42548
2009-07-17 00:25:27 +00:00
Torbjörn Andersson
0999534749 The error() and warning() functions add ! and newline automatically. (I didn't
look at debug() and debugC(), since I'm really bored with this now. :-)

svn-id: r41061
2009-05-31 10:02:16 +00:00
Max Horn
7d5f3e1714 Turned some static tables into static const tables; added some FIXME comments to global static vars that should be removed (many more exist in SCI, Tinsel, and some other engines)
svn-id: r40908
2009-05-26 11:30:21 +00:00
Max Horn
432e7917a5 SCUMM: Switched opcode tables to use Common::Functor0 (a bit like Kyra does it)
svn-id: r39956
2009-04-16 09:26:37 +00:00
Paweł Kołodziejski
5062401423 fixed 'if' statement as should be/was.
svn-id: r39745
2009-03-29 19:09:23 +00:00
Max Horn
6f4b567124 SCUMM: Split intern.h into multiple headers
svn-id: r39567
2009-03-20 16:33:58 +00:00
Paweł Kołodziejski
cffe7b8379 fixed radio chatter sfx
svn-id: r35804
2009-01-10 17:08:29 +00:00
Paweł Kołodziejski
5fc53e262e - added initial radio chatter sfx, still not fully correct
- remove obsolete mixerStreamRunning track variable

svn-id: r35801
2009-01-10 13:04:33 +00:00
Max Horn
6837416556 Made Engine::_timer protected
svn-id: r35543
2008-12-25 20:53:59 +00:00
Paweł Kołodziejski
b422f0ba73 shutup valgrind warning
svn-id: r33206
2008-07-22 15:24:39 +00:00
Max Horn
a49a3c6aaa cleanup
svn-id: r33135
2008-07-20 16:27:12 +00:00
Max Horn
dadb771cdc Remove reference to kPlainSoundType
svn-id: r32960
2008-07-08 10:29:35 +00:00
Jordi Vilalta Prat
38a8aa516e Allow static and dynamic plugins to be used at the same time
svn-id: r31888
2008-05-06 03:00:26 +00:00
Paweł Kołodziejski
e640155089 revert stateId == 4 part of code to previous ignore action to fix bug #1881415
svn-id: r30868
2008-02-15 14:14:04 +00:00
Paweł Kołodziejski
f8fe01b9fd silency ignored, we handle it differently
svn-id: r30793
2008-02-05 08:16:52 +00:00
Torbjörn Andersson
7aac83007d Fixed typo in debug message.
svn-id: r30691
2008-01-28 21:54:44 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00