aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
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-27SCI/new music code:Filippos Karapetis
- Implemented sound muting - Now saving/loading the master music volume svn-id: r46643
2009-12-27Renamed gameName -> gameId, to keep the same vocabulary everywhereFilippos Karapetis
svn-id: r46635
2009-12-27SCI/newmusic: moving commented assertMartin Kiewitz
svn-id: r46632
2009-12-27SCI/newmusic: now playing sample data for sci0 games (this also fixes sq3 ↵Martin Kiewitz
amiga freezing during pot exit) svn-id: r46631
2009-12-27Really fixed compilationFilippos Karapetis
svn-id: r46630
2009-12-27SCI/newmusic: now adding digital sample data as separate channel for sci0 ↵Martin Kiewitz
games (not yet playing) svn-id: r46629
2009-12-27Hopefully fixed compilationFilippos Karapetis
svn-id: r46628
2009-12-27Changed some commentsFilippos Karapetis
svn-id: r46624
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-27SCI32: Partially implemented kOnMe. Now the main menu in GK1 worksFilippos Karapetis
svn-id: r46614
2009-12-27Turned some unimplemented debug related kernel functions into dummy functionsFilippos Karapetis
svn-id: r46613
2009-12-27Silenced a chatty console debug messageFilippos Karapetis
svn-id: r46612
2009-12-27SCI/new music code: split the MidiParser class into a separate fileFilippos Karapetis
svn-id: r46611
2009-12-27The state selector is only available in SCI0 gamesFilippos Karapetis
svn-id: r46610
2009-12-27Now using m_kiewitz's picture code to show pictures in SCI32. Also took some ↵Filippos Karapetis
bits off a similar patch from clone2727. The Sierra logo screen and the menu screen in GK1 should now be shown fully! svn-id: r46609
2009-12-26SCI/newmusic: added state change to sample play as wellMartin Kiewitz
svn-id: r46607
2009-12-26SCI/newmusic: Update state when music is done playing (fixes sq3)Martin Kiewitz
svn-id: r46606
2009-12-26SCI: Added #ifdefs for sci32 picture format codeMartin Kiewitz
svn-id: r46605
2009-12-26SCI: added TODO priority map of sci32 picturesMartin Kiewitz
svn-id: r46604
2009-12-26SCI: support for "no compression" pictures in sci32Martin Kiewitz
svn-id: r46603