Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-01-04 | Code optimization: removed unneeded string comparisons when executing a ↵ | Filippos Karapetis | |
sound command (including cmdUpdateCues, which is executed very often) svn-id: r46983 | |||
2010-01-04 | SCI/newmusic: fadeout in sci0 (not stopping music yet), revert of ↵ | Martin Kiewitz | |
SoundResource changes svn-id: r46972 | |||
2010-01-04 | SCI/new music: Resolved another possible deadlock when pausing all sounds | Filippos Karapetis | |
svn-id: r46971 | |||
2010-01-03 | SCI/newmusic: support for SCI0 fading, doesnt work yet because channels[] is ↵ | Martin Kiewitz | |
currently not correctly filled out inside SoundResource class - because it wasnt previously needed svn-id: r46963 | |||
2010-01-03 | Fixed regression from commit #46950 (fixes KQ6CD, Pharkas CD, and others) | Filippos Karapetis | |
svn-id: r46955 | |||
2010-01-03 | SCI/newmusic: this fix will make qfg1vga character selection music work | Martin Kiewitz | |
svn-id: r46950 | |||
2010-01-03 | SCI/new music code: Only reference the mixer for music slots which actually ↵ | Filippos Karapetis | |
contain digital audio data svn-id: r46939 | |||
2010-01-03 | SCI/new music code: Proper handling of disposed sounds when loading a saved ↵ | Filippos Karapetis | |
game. Also, addressed a possible mutex issue with cmdPauseSound svn-id: r46937 | |||
2010-01-03 | SCI/new music code: | Filippos Karapetis | |
- sounds are no longer stopped in cmdUpdateCues if their signal is set - cmdSetSoundVolume no longer throws a warning if it can't find the associated sound (in some games, it's called before the actual sound is loaded) - removed unused parameters to the SciMusic() class and to MusicEntry::onTimer() - removed a hack to get the sound loop selector svn-id: r46923 | |||
2010-01-02 | SCI/new music code: Fixed sound patch loading when restoring a saved game | Filippos Karapetis | |
svn-id: r46896 | |||
2010-01-02 | Properly fixed cmdUpdateCues() for SCI0, removing a hack | Filippos Karapetis | |
svn-id: r46895 | |||
2010-01-02 | SCI/new music code: Improve midi hold handling a bit. Still broken. | Willem Jan Palenstijn | |
svn-id: r46893 | |||
2010-01-02 | SCI/newmusic: fading signal handling changed... fixes lsl1demo and gk1demo | Martin Kiewitz | |
svn-id: r46891 | |||
2010-01-02 | Notify the game scripts when fading effect is done | Filippos Karapetis | |
svn-id: r46888 | |||
2010-01-02 | SCI/new music code: don't stop a music track if the fading effect has just ↵ | Filippos Karapetis | |
finished. Fixes the music in GK1 (demo and full) svn-id: r46887 | |||
2010-01-02 | SCI/new music code: Properly implemented cmdSetSoundHold, with the help of ↵ | Filippos Karapetis | |
wjp and waltervn svn-id: r46886 | |||
2010-01-02 | SCI/new music code: cleaned up cmdUpdateCues and changed the SCI reverb(?) ↵ | Filippos Karapetis | |
SysEx in parseNextEvent() to a NOP for now, till its sorted out svn-id: r46885 | |||
2010-01-02 | SCI/new music code: hopefully fixed a race condition | Filippos Karapetis | |
svn-id: r46882 | |||
2010-01-02 | SCI/new music code: Fix for a music related crash in SCI0 games (the sound ↵ | Filippos Karapetis | |
object can get deleted while polling it) svn-id: r46881 | |||
2010-01-02 | SCI/new music code: Implemented cmdSetSoundHold. Larry now exits the limo ↵ | Filippos Karapetis | |
normally in LSL5 svn-id: r46880 | |||
2010-01-02 | SCI/newmusic: now clipping volume in cmdFadeSound | Martin Kiewitz | |
svn-id: r46876 | |||
2010-01-02 | SCI/newmusic: set default volume on MusicEntry creation, use volume selector ↵ | Martin Kiewitz | |
sci1late (soundversion) only svn-id: r46875 | |||
2010-01-02 | SCI/new music code: Implemented cmdSetSoundPriority | Filippos Karapetis | |
svn-id: r46873 | |||
2010-01-02 | Changed wording from "handle" to "sound", as we're dealing with sound ↵ | Filippos Karapetis | |
objects, not handles. Also, made the warnings thrown when a slot couldn't be found more verbose. Finally, changed the logic of when warnings should be thrown in cmdSetSoundLoop svn-id: r46871 | |||
2010-01-01 | SCI/newmusic: removed TODO | Martin Kiewitz | |
svn-id: r46858 | |||
2010-01-01 | SCI/newmusic: changed setting volume from fade logic, implemented updating ↵ | Martin Kiewitz | |
loop selector for sound fx svn-id: r46856 | |||
2010-01-01 | SCI: fix build | Martin Kiewitz | |
svn-id: r46854 | |||
2010-01-01 | SCI/newmusic: changed fade volume setting for digital fx to onTimer() again, ↵ | Martin Kiewitz | |
because setting it in updateCues() wont work right. We are processing fading effectively in there any way, added TODO for working approach svn-id: r46853 | |||
2010-01-01 | SCI/newmusic: now clips volume against MUSIC_VOLUME_MAX (127) instead of the ↵ | Martin Kiewitz | |
mixer max volume (which would be wrong of course), adjusts volume when setting sample channel volume svn-id: r46850 | |||
2010-01-01 | SCI: volume for sci0 now set to 127, now using constant instead of value | Martin Kiewitz | |
svn-id: r46849 | |||
2010-01-01 | SCI/new music code: The MIDI driver is now reset whenever the game's VM ↵ | Filippos Karapetis | |
respawns, like what the old music code does. Fixes the MIDI music in KQ5CD, Lonbgow and perhaps others svn-id: r46843 | |||
2010-01-01 | SCI/newmusic: set speech soundtype for audio resources played by kDoSound, ↵ | Martin Kiewitz | |
cmdVolume is supposed to set music and sfx volume only - this whole fixes volume issues in lb2cd and others svn-id: r46842 | |||
2010-01-01 | SCI/newmusic: adding debug output to setVolume | Martin Kiewitz | |
svn-id: r46841 | |||
2010-01-01 | SCI: syncing loop selector... again... fixes qfg1 ending... again... now ↵ | Martin Kiewitz | |
sci0 only svn-id: r46835 | |||
2010-01-01 | SCI/new music code: Moved processing of digital sound effects outside the ↵ | Filippos Karapetis | |
MIDI worker thread. Some cleanup svn-id: r46834 | |||
2010-01-01 | SCI/newmusic: doing version check before looking for audio resource | Martin Kiewitz | |
svn-id: r46831 | |||
2010-01-01 | SCI/newmusic: added fade and loop capability to samples (looping doesnt work ↵ | Martin Kiewitz | |
yet), fixes lsl1 doll inflation endless loop svn-id: r46820 | |||
2010-01-01 | SCI/new music code: | Filippos Karapetis | |
- Resolved a deadlock with the mixer, and added appropriate mutexes (a result of the fact that SCI mixes MIDI and digital audio in the same list) - Fixed sound playing when loading games, by properly resetting the MIDI driver - Reverted savegame version to 14 - the changes in versions 15 and 16 don't have any effect on the currently enabled old music code, and the new music code is disabled by default, and is still prone to changes - Now saving/loading signal, loop and hold for each sound, as well as reverb - Added stub code for setting reverb and channel hold - The signal, loop and hold values of each song are cached, like in SSCI and like what happens in Greg's SCI implementation. This allows a clear separation of the engine code from the rest of the engine. Reverted commits 46792 and 46797 - Removed duplicate song list accessing code - Song cues are now updated in kAnimate for SCI0, like the old music code does, to compensate for the fact that SCI0 didn't poll for music changes via cmdUpdateCues, like what SCI01 and newer do - Cleanup svn-id: r46812 | |||
2009-12-31 | SCI/new music code: removed some hacks | Filippos Karapetis | |
svn-id: r46793 | |||
2009-12-31 | SCI/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-31 | SCI/new music code: Slight cleanup | Filippos Karapetis | |
svn-id: r46791 | |||
2009-12-30 | SCI/newmusic: cmdSendMidi / removed weird midiCmd code - fixes lsl5 des ↵ | Martin Kiewitz | |
revers records piano session svn-id: r46783 | |||
2009-12-30 | SCI/newmusic: fix loop logic | Martin Kiewitz | |
svn-id: r46774 | |||
2009-12-30 | SCI/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-29 | SCI/newmusic: fixed fading (fixes gk1 demo, park area) | Martin Kiewitz | |
svn-id: r46730 | |||
2009-12-29 | SCI/newmusic: Removed playlist-feature from cmdResumeHandle cause that is ↵ | Martin Kiewitz | |
sci0 only svn-id: r46714 | |||
2009-12-29 | SCI/newmusic: dont do pause/resume on the whole playlist prior sci1late ↵ | Martin Kiewitz | |
(soundversion) svn-id: r46713 | |||
2009-12-29 | Reverted rev #46647 - the title music in Codename: Iceman works correctly again | Filippos Karapetis | |
svn-id: r46701 | |||
2009-12-29 | Better checking for the cmdMuteSound and cmdVolume special cases | Filippos Karapetis | |
svn-id: r46699 | |||
2009-12-29 | SCI/new music code: cmdPauseHandle/cmdResumeHandle now work for SCI0 games | Filippos Karapetis | |
svn-id: r46697 |