aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/soundcmd.cpp
AgeCommit message (Collapse)Author
2009-12-31SCI/new music code: The loop selector for each music score is no longer ↵Filippos Karapetis
cached, but read directly from the sound object svn-id: r46792
2009-12-31SCI/new music code: Slight cleanupFilippos Karapetis
svn-id: r46791
2009-12-30SCI/newmusic: cmdSendMidi / removed weird midiCmd code - fixes lsl5 des ↵Martin Kiewitz
revers records piano session svn-id: r46783
2009-12-30SCI/newmusic: fix loop logicMartin Kiewitz
svn-id: r46774
2009-12-30SCI/new sound code:Filippos Karapetis
- call cmdDisposeHandle() instead of soundKill when a track is being replaced - Added information about cmdReverb svn-id: r46766
2009-12-29SCI/newmusic: fixed fading (fixes gk1 demo, park area)Martin Kiewitz
svn-id: r46730
2009-12-29SCI/newmusic: Removed playlist-feature from cmdResumeHandle cause that is ↵Martin Kiewitz
sci0 only svn-id: r46714
2009-12-29SCI/newmusic: dont do pause/resume on the whole playlist prior sci1late ↵Martin Kiewitz
(soundversion) svn-id: r46713
2009-12-29Reverted rev #46647 - the title music in Codename: Iceman works correctly againFilippos Karapetis
svn-id: r46701
2009-12-29Better checking for the cmdMuteSound and cmdVolume special casesFilippos Karapetis
svn-id: r46699
2009-12-29SCI/new music code: cmdPauseHandle/cmdResumeHandle now work for SCI0 gamesFilippos Karapetis
svn-id: r46697
2009-12-28SCI/newmusic: Added pausecounter cause sierra sci also does thisMartin Kiewitz
svn-id: r46693
2009-12-28SCI/new music code: Implemented cmdSendMidi, and removed access to _argc ↵Filippos Karapetis
from sound commands svn-id: r46692
2009-12-28SCI/newmusic: Accept object 0:0 in cmdPauseHandle, pause the whole playlist ↵Martin Kiewitz
then (fixes castle of dr. brain during intro) svn-id: r46690
2009-12-28SCI: Start objectifying MusicEntryMax Horn
svn-id: r46687
2009-12-28SCI: Make some code comply to our naming conventionsMax Horn
svn-id: r46685
2009-12-28SCI/new sound code:Filippos Karapetis
- Made the SciMusic class private, and added wrapper functions for invoking specific methods of SciMusic from outside the SoundCommandParser class - Many SCI games keep creating and destroying sound effects constantly (i.e. many times per second). Therefore, another scheme has been devised, which replaces the mutex that was in place. Whenever a sound command is run which operates on a specific object in the play list, we disallow onTimer() from kicking in. This isn't ideal, but it does stop random deadlocks because of locked mutexes without any noticeable side effects svn-id: r46681
2009-12-28SCI/new music code: Added a workaround for a music-related game bug in ↵Filippos Karapetis
Castle of Dr. Brain svn-id: r46678
2009-12-27SCI/new music code:Filippos Karapetis
- Switched to Common::StackLock for mutexes - Renamed Music::stopAll() -> Music::clearPlayList() - Implemented a better Music::stopAll method, which stops all sounds with proper signals, instead of destroying them - Renamed the SCI0 command cmdGetPlayNext -> cmdStopAllSounds and implemented it svn-id: r46665
2009-12-27SCI/newmusic: fixed warningMartin Kiewitz
svn-id: r46663
2009-12-27Fixed priority bugFilippos Karapetis
svn-id: r46652
2009-12-27Removed _hasNodePtrFilippos Karapetis
svn-id: r46650
2009-12-27cmdGetPolyphony always returns true in SCI0, according to specsFilippos Karapetis
svn-id: r46647
2009-12-27SCI/new music code:Filippos Karapetis
- Implemented sound muting - Now saving/loading the master music volume svn-id: r46643
2009-12-27SCI/new music code: Filippos Karapetis
- Removed a lot of accessors to the music list, and protected the 2 which are used now with mutexes - Rewrote the music list save/load code to be methods of the SciMusic class svn-id: r46623
2009-12-26- Made the music playlist privateFilippos Karapetis
- Removed some leaks - Fixed the destruction of the music playlist - Made mutexes more sane - Removed some dead code - Cleanup svn-id: r46578
2009-12-25Remove extra debug output which sneaked in.Eugene Sandulenko
svn-id: r46562
2009-12-25- Introduced a new version in the sound version detection routine, as SCI0 ↵Filippos Karapetis
early games had different sound than SCI0 late ones - Changed sound-related debug output from printf's into debugC calls svn-id: r46560
2009-12-25Adjusted volume clippingFilippos Karapetis
svn-id: r46555
2009-12-25Limit volume range to 0 - 255Filippos Karapetis
svn-id: r46554
2009-12-25SCI/newmusic: find slot again after destroying it fixes kq6cd, lb2cd, added ↵Martin Kiewitz
debug output svn-id: r46553
2009-12-25Fixed variable capitalizationFilippos Karapetis
svn-id: r46552
2009-12-25Fix compilation.Johannes Schickel
svn-id: r46551
2009-12-25SCI/newmusic: ignore vol selector for games prior sci1late, fixes amiga ↵Martin Kiewitz
music in sq3 svn-id: r46547
2009-12-25Slight code readability cleanupFilippos Karapetis
svn-id: r46545
2009-12-24SCI: new music code / signals now almost correctly triggeredMartin Kiewitz
svn-id: r46532
2009-12-24Obtain channel mask from music drivers. Also, added a warning in cmdReverb() ↵Filippos Karapetis
to indicate that it's a stub function svn-id: r46531
2009-12-23SCI/new music code: Song handles are now unique (as SCI0 relies on them, ↵Filippos Karapetis
rather than on nodePtr) svn-id: r46512
2009-12-23Fixed compilationFilippos Karapetis
svn-id: r46511
2009-12-23SCI/new music code: Some fixes for SCI0 music, and removed a duplicate enumFilippos Karapetis
svn-id: r46510
2009-12-23SCI/new music code: Added a sanity check to avoid changing some selectors ↵Filippos Karapetis
that don't exist in SCI0 svn-id: r46505
2009-12-23SCI/new music code: Removed the checks for the nodePtr selector, as we ↵Filippos Karapetis
already have equivalent sanity checks (so that it's easier to add SCI0 functionality, which doesn't have a nodePtr selector) svn-id: r46504
2009-12-23SCI: new music code / variable-names changed to make it more verboseMartin Kiewitz
svn-id: r46502
2009-12-23SCI/new music code: Do not cache the signal selector, as it needs to be ↵Filippos Karapetis
always updated, so that animations can be synced properly by the game scripts. Fixes KQ6 svn-id: r46496
2009-12-22SCI/new music code:Filippos Karapetis
- Reverted the code to use local copies of certain sound object selectors, like what was done before - Simplified and fixed the SCI1.1 digital sound effect playing code - Removed some duplicate code - Renamed some sound commands svn-id: r46487
2009-12-22Silenced some warnings to protect DrMcCoy from incoming BorgFilippos Karapetis
svn-id: r46482
2009-12-22Initial implementation of music fading in the new music code. Added warnings ↵Filippos Karapetis
to all unimplemented/stub sound commands svn-id: r46481
2009-12-22Fixed looping sounds in the new sound codeFilippos Karapetis
svn-id: r46477
2009-12-22Some bugfixes to the new music codeFilippos Karapetis
svn-id: r46473
2009-12-21Some updates to the new music codeFilippos Karapetis
svn-id: r46467