80 Commits

Author SHA1 Message Date
Max Horn
68826c27da Get rid of Mixer::playRaw for good
svn-id: r47394
2010-01-19 22:19:43 +00:00
Max Horn
b227c660c6 Remove loop start/end params from Mixer::playRaw; convert some code from Mixer::playRaw to Mixer::playInputStream
svn-id: r47375
2010-01-19 11:20:58 +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
Fabio Battaglia
aa8a227d14 fix typo
svn-id: r46497
2009-12-23 13:34:19 +00:00
Travis Howell
9b8c088af5 Add patch #2898231 - LOOM: Sound player for PC-Engine.
svn-id: r46110
2009-11-23 23:17:15 +00:00
Travis Howell
ff78169680 Correct error in CD music table for PCE version of Loom.
svn-id: r45359
2009-10-24 12:33:18 +00:00
Travis Howell
a5c97673eb The CD music was hard coded in PCE version of Loom.
svn-id: r45356
2009-10-24 03:52:38 +00:00
Travis Howell
01057a75f4 Fix bug #2879796 - Reversed Ventriloquists.
svn-id: r45143
2009-10-16 02:02:09 +00:00
Norbert Lange
917d4b78b3 Merge with trunk
svn-id: r43701
2009-08-24 17:51:47 +00:00
Johannes Schickel
b33b90ecd0 Made AGOS, DRASCULA, GOB, GROOVIE, MADE, SCUMM and TINSEL properly stop CD audio playback on engine quit. (This only problem affected playback from CD, not from ripped audio files)
svn-id: r43512
2009-08-18 15:31:26 +00:00
Norbert Lange
0836cf6d9b merged from trunk (Amiga LoK supposedly completeable!)
fixed a bug I introduced in one of the last cleanups

svn-id: r43291
2009-08-11 22:35:56 +00:00
Matthew Hoops
753f6cf587 Provide a better detection method for Indy3 Mac sound effects. This fixes sounds such as the music that plays when Indy uses the whip on the hook in the giant cork. This also is a proper fix for bug #1852635 -- Sound 54 is actually not a sound effect.
svn-id: r43235
2009-08-10 23:01:11 +00:00
Norbert Lange
0350a1598d merge with trunk
svn-id: r43134
2009-08-08 19:09:30 +00:00
Max Horn
d91d68a9ca SCUMM: Fix verb/sentence handling in Indy3 mac (there, a double click must be used to trigger a verb/sentence)
svn-id: r42907
2009-07-29 20:35:50 +00:00
Max Horn
2205541e86 SCUMM: Enable looping in Indy3Mac sound effects
svn-id: r42898
2009-07-29 18:35:34 +00:00
Norbert Lange
bb64bf008d merge with trunk
svn-id: r42574
2009-07-17 21:23:54 +00:00
Max Horn
cbea1a1193 Added more GCC_PRINTF attributes, and fixed resulting warnings in format strings
svn-id: r42054
2009-07-03 10:40:49 +00:00
Norbert Lange
e3a5da7b7e engines/scumm/*: enabled choosing of the colorpalette, by setting RenderMode to EGA the "old" palette will be used
tfmx/tfmxplayer.cpp: removed some unused stuff
sound/mods/tfmx.cpp: emulating the way MI initialises new macro-programms. (Difference might not be audible at all)

svn-id: r41976
2009-06-30 17:41:24 +00:00
Norbert Lange
62202a9de5 Removed alot of the debug-output
created a class player_v4a to hook TFMX Playback into Scumm. Monkey Island has sound, but no sfx yet

svn-id: r41480
2009-06-12 20:10:27 +00:00
Eugene Sandulenko
cda17beff5 Patch #1365914: "SCUMM: CMS support." Disabled by default. Still plenty to do.
svn-id: r41282
2009-06-06 18:21:49 +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
Travis Howell
4131d3d07f Fix sound noise regression in CD32 version of Simon the Sorcerer 1.
svn-id: r36236
2009-02-07 05:05:14 +00:00
Travis Howell
4e15c8df35 Fix bug #1925322 - DIG: Subtitle speed affects speech when subtitles are off.
svn-id: r35820
2009-01-11 06:15:30 +00:00
Max Horn
6837416556 Made Engine::_timer protected
svn-id: r35543
2008-12-25 20:53:59 +00:00
Christopher Page
45525e7d18 SCUMM: Fixed a memory leak in the SCUMM engine
svn-id: r32680
2008-06-12 19:43:54 +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
Travis Howell
a525b5bdd5 Allow mixed Adlib/MIDI mode in VGA version of SOMI.
svn-id: r31483
2008-04-11 08:13:47 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Max Horn
3c5d0b1afb Enhanced support for Indy3 Mac sounds (added functionality disabled for now)
svn-id: r29976
2007-12-24 15:36:50 +00:00
Max Horn
d973d3736c cleanup; workaround for bug #1852635 (INDY3 Mac: Crash When Playing Sound 54)
svn-id: r29975
2007-12-24 14:40:39 +00:00
Max Horn
138263ec03 cleanup
svn-id: r29974
2007-12-24 14:20:53 +00:00
Gregory Montoir
c0920e0224 don't use str functions with binary data, should fix bug #1845760
svn-id: r29752
2007-12-07 23:39:19 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Travis Howell
feb07bb1d8 Fix disabling speech in FOA.
svn-id: r28439
2007-08-04 05:56:38 +00:00
Max Horn
f4c0b853cc Fixed sound factory messup caused by my previous commit
svn-id: r28111
2007-07-15 19:24:00 +00:00
Max Horn
a7e0fbe1a8 Fix for bug #1734064 (FOA: Speech volume can not be set) -- we played speech as SFX, not speech, in many SCUMM games
svn-id: r27253
2007-06-09 18:09:12 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Paweł Kołodziejski
ae7c640671 fixed warnings
svn-id: r26506
2007-04-15 15:40:24 +00:00
Max Horn
2447752a51 Reverted my roomoffs changes (broke the Loom intro), and instead added the constant RES_INVALID_OFFSET to indicate an invalid room offset
svn-id: r26353
2007-04-01 15:58:34 +00:00
Max Horn
a08feb9f70 Got rid of some 0xFFFF -> 0xFFFFFFFF conversions and similiar nonsense by using a clever technique called 'signed ints' for room offsets (and this won't cause any regressions; any you may encounter are merely the products of a deranged imagination)
svn-id: r26331
2007-03-31 14:00:34 +00:00
Travis Howell
8e70329ce3 Fix level selection in PC Engine version of Loom.
svn-id: r25954
2007-03-03 23:02:54 +00:00
Torbjörn Andersson
60e0f7624a As Fingolfin pointed out, we no longer need two different CD timer intervals
for Loom and everything else. Adjusted the value, taking advantage of the
greater timer resolution, and clarified which two scenes need to be tested if
we ever want to adjust this value further.

svn-id: r25731
2007-02-19 21:09:23 +00:00
Travis Howell
abd20d59fa Move SCUMM version checks for settings up monst.er.sou file, to higher level.
svn-id: r25716
2007-02-19 09:46:45 +00:00
Travis Howell
dadaf08b29 Reduce amount of attempts to open various speech filenames.
svn-id: r25644
2007-02-17 01:23:52 +00:00
Max Horn
7b7c27bc0c SCUMM: Fix opening of *.tlk files
svn-id: r25643
2007-02-17 01:21:00 +00:00
Max Horn
6899e72be9 Got rid of GF_DIGI_IMUSE and GF_NEW_CAMERA
svn-id: r25454
2007-02-10 02:05:59 +00:00
Max Horn
cb49cbdd45 * Reimplemented Mixer::pauseAll to simply invoke pause on all channels
(implying change of semantics)
* Reordered the params of Mixer::playRaw (the SoundType now comes first, not last)
* Removed Mixer::isPaused
* Removed Mixer::getSoundElapsedTimeOfSoundID
* Added some doxygen comments to the Mixer

svn-id: r25356
2007-02-03 19:05:53 +00:00
Torbjörn Andersson
e61526555c More whitespace.
svn-id: r24682
2006-11-12 02:34:09 +00:00
Max Horn
9edf1e6a1a cleanup
svn-id: r24407
2006-10-21 12:44:10 +00:00