aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-12-29SCI/newmusic: changed pausecounter behaviour within resumeMartin Kiewitz
svn-id: r46706
2009-12-29Corrected the Russian Discworld 1 MD5 valuesPaul Gilbert
svn-id: r46704
2009-12-29Reverted rev #46647 - the title music in Codename: Iceman works correctly againFilippos Karapetis
svn-id: r46701
2009-12-29SCI/new music code: Fixed loading of saved games. Also, stopped sounds are ↵Filippos Karapetis
no longer paused svn-id: r46700
2009-12-29Better checking for the cmdMuteSound and cmdVolume special casesFilippos Karapetis
svn-id: r46699
2009-12-29Removed leftover debug outputFilippos Karapetis
svn-id: r46698
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: Added comment about weird sierra sci behaviourMartin Kiewitz
svn-id: r46691
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: Further objectify MusicEntryMax Horn
svn-id: r46689
2009-12-28Spelling: Par*r*titionMax Horn
svn-id: r46688
2009-12-28SCI: Start objectifying MusicEntryMax Horn
svn-id: r46687
2009-12-28cleanupMax Horn
svn-id: r46686
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-28Moved the OLD_PATHFINDING define inside sci.h, together with the othersFilippos Karapetis
svn-id: r46679
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-28Fixed music pausingFilippos Karapetis
svn-id: r46677
2009-12-28Create the stream dynamically in playSoundData(), to avoid a crash (spotted byTorbjörn Andersson
salty-horse) when makeWAVStream() deletes it. svn-id: r46676
2009-12-28LOL: fixed debug messageFlorian Kagerer
svn-id: r46675
2009-12-28Added a workaround for an off-by-one invalid species access bug in the LSL2 ↵Filippos Karapetis
demo svn-id: r46673
2009-12-28SCI/new music code: Implemented the "songlib" debug commandFilippos Karapetis
svn-id: r46670
2009-12-28SCI/new music code: Hanging notes now stop when a sound is paused/stoppedFilippos Karapetis
svn-id: r46669
2009-12-28SCI/new music code: Fixed a race condition when removing a sound from the ↵Filippos Karapetis
playlist svn-id: r46668
2009-12-28Added MD5 data for Russian Discworld 1Paul Gilbert
svn-id: r46667
2009-12-28SCI/new music code: Fixed music fading in SCI2 - seems like setting the ↵Filippos Karapetis
signal when fading is done isn't necessary svn-id: r46666
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-27Fix regression in SCI1/1.1 wave sound from r46660. I knew it was a bad omen ↵Matthew Hoops
to have that revision number :P svn-id: r46664
2009-12-27SCI/newmusic: fixed warningMartin Kiewitz
svn-id: r46663
2009-12-27wCompressed is still a uint16 in SCI32, so correct the vol version detection.Matthew Hoops
svn-id: r46661
2009-12-27Add support for external wave files used as audio resources in the ↵Matthew Hoops
ResourceManager. The GK1 CD main menu music now works. svn-id: r46660
2009-12-27fix resource refactor regressionAndrew Kurushin
svn-id: r46659
2009-12-27SCI/newmusic: Accept WAVE files as audio resources (needed for gk1 title ↵Martin Kiewitz
music) - requires additional resourcemanager support (or rename sfx\5.wav to 5.aud and add 8Dh 00h header) svn-id: r46658
2009-12-27Implement kPlatform subfunctions 0 and 2, and stub 1 and 3 (CD speed and CD ↵Matthew Hoops
check). This fixes the DOS version of GK1 CD to play the SEQ's instead of the AVI's. svn-id: r46656
2009-12-27SCI/newmusic: fix getting of mastervolume. cause of rounding we will ↵Martin Kiewitz
otherwise decrease mastervolume by 1 on every access resulting in no sound after a while :) (fixes lb2, sq4cd and others) svn-id: r46654
2009-12-27implemented fade in/out effectsVladimir Menshakov
svn-id: r46653
2009-12-27Fixed priority bugFilippos Karapetis
svn-id: r46652
2009-12-27SCI/newmusic: Fixed fading (fixes intro of castle of brain)Martin Kiewitz
svn-id: r46651
2009-12-27Removed _hasNodePtrFilippos Karapetis
svn-id: r46650
2009-12-27Added some currently disabled code to be used when sound fading is done ↵Filippos Karapetis
(needs testing) svn-id: r46649
2009-12-27cmdGetPolyphony always returns true in SCI0, according to specsFilippos Karapetis
svn-id: r46647
2009-12-27allowed list to be sorted with default comparatorVladimir Menshakov
svn-id: r46644
2009-12-27SCI/new music code:Filippos Karapetis
- Implemented sound muting - Now saving/loading the master music volume svn-id: r46643
2009-12-27Some more code format fixes.Johannes Schickel
svn-id: r46641
2009-12-27more code convention fixesVladimir Menshakov
svn-id: r46640
2009-12-27added whitespace to conform code conventionVladimir Menshakov
svn-id: r46639
2009-12-27replaced bubble sort with quick sortVladimir Menshakov
added distance(a, b) functions svn-id: r46638
2009-12-27Renamed gameName -> gameId, to keep the same vocabulary everywhereFilippos Karapetis
svn-id: r46635