aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/soundcmd.cpp
AgeCommit message (Collapse)Author
2011-12-28SCI: Rename _bMultiMidi to _useDigitalSFX and only initialize it inside ↵Filippos Karapetis
SoundCommandParser
2011-10-20SCI: The demo of GK1 has no alternate sound effects.Filippos Karapetis
This fixes the sound effect heard in the "Day 1" screen
2011-10-13SCI: Updated a comment inside processPlaySound()Filippos Karapetis
2011-10-12SCI: Fixed a long-standing bug in kDoSound(init)Filippos Karapetis
The sound handle should not be set in kDoSound(init), but in kDoSound(play). This is verified against several SCI versions, plus game scripts check if a sound slot is playing primarily by checking its handle. Fixes the sound in Shivers and probably an assortment of other sound related bugs
2011-10-10SCI: Mixed Adlib/MIDI mode for audio resources should always be enabled in SCI32Filippos Karapetis
2011-10-10SCI: Fixed menu music in GK1 when multi MIDI is disabledFilippos Karapetis
A regression from commit 9fd66de
2011-09-26SCI: Changes to the sound resource initialization codeFilippos Karapetis
- Unified the sound resource initialization code in processInitSound() and reconstructPlayList() - Now checking the "Mixed Adlib/MIDI" mode checkbox for SCI1.1 digital audio sound effects, like it's done for SCI0 - SCI1 sound effects. If it's unchecked, their MIDI counterparts will play instead, if available
2011-09-24SCI: Always reset hold when starting a new song. Fixes bug #3413589 - "SCI: ↵Filippos Karapetis
KQ6CD: Game stops responding in the catacombs" kDoSoundSetHold is always called after kDoSoundPlay. A regression from commit 4f3b85f4efc05affb7b4a7080e349360a3352048
2011-09-23SCI: Fixed bug #3413301 - "SCI: KQ6CD: Game stops responding at the bookworm"Filippos Karapetis
2011-08-25SCI: Fixed bug #3392767 - "SCI: SQ4 (English/CD/Win): Engine Abort In ↵Filippos Karapetis
Timepod Hangar" This bug only manifested in the Windows version of SQ4CD. Some Windows MIDI music tracks are missing from room 530, which messed up the animations in that scene, and led to a crash. Moved the code that obtains the song number from an object into a separate function. Also, fixed a bug in kDoSoundSetPriority().
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28SCI: Clarify comment from rev 5654e12 furtherWillem Jan Palenstijn
2011-04-28SCI: Clarified comment in rev 5654e12md5
It's a bad idea to write comments when half asleep :P
2011-04-28SCI: Added a more specific workaround for bug #3267956. This fixes bug ↵md5
#3291115 - "KQ6: Game freezes when getting paper from web"
2011-04-03SCI: Fixed fading-related bugs #3267956 and #3041738md5
2011-02-28SCI: Reverted rc7bfbc3 and fixed the actual cause of bug #3106107md5
While fast forwarding a song, disable its hold value together with any possible sound looping, so that the song won't loop forever.
2011-02-28SCI: Fixed bug #3106107 - "QFG3: Crash when saving outside palace"md5
Ignore requests to alter a song's hold value while it's being faded, and reset a song's hold value when fading starts. This ensures that the song will actually stop when fading is done and won't keep looping forever.
2011-02-25SCI: Changed the fix for the intro of Longbow (bug #3044844) into a hack for ↵md5
that scene. Fixes the freeze in LSL6 (bug #3192166). Fading in KQ5 is unaffected by this.
2011-02-24SCI: Fixed two bugs related to music fadingmd5
- bug #3037594: "KQ5: Music not fading when brigands leave temple" - bug #3044844: "LONGBOW: Intro skips each first verse of song"
2011-01-01SCI: debugC calls no longer require a debug level of 2 to show outputFilippos Karapetis
svn-id: r55086
2010-11-25SCI: implemented reverb handling and related functionalityFilippos Karapetis
svn-id: r54478
2010-11-25SCI: Added support for the alternate Windows MIDI soundtracks of the CD ↵Filippos Karapetis
versions of EcoQuest, Jones, KQ5 and SQ4 svn-id: r54476
2010-11-25SCI: Fixed digital audio at the beginning of KQ5CD and removed a hack for ↵Filippos Karapetis
the Windows version svn-id: r54466
2010-11-24SCI: Some renaming and added several TODOs concerning reverbFilippos Karapetis
svn-id: r54461
2010-11-24SCI: some changes to the way reverb is handledFilippos Karapetis
- "Invalid" SCI reverb values (127) are properly handled now - SCI kDoSound(reverb) sets the global reverb (renamed it accordingly) - kDoSound(reverb) can also return the current reverb if no parameter is sent svn-id: r54457
2010-11-19SCI: Moved the Object class in a separate fileFilippos Karapetis
svn-id: r54361
2010-09-06SCI: extending comment for prev. commitMartin Kiewitz
svn-id: r52606
2010-09-06SCI: dont play audio on kDoSound in hoyle4Martin Kiewitz
hoyle4 has garbled audio data svn-id: r52605
2010-09-06SCI: fix regression of r52569Martin Kiewitz
fade in/out of samples svn-id: r52604
2010-09-02SCI: Show a warning window regarding GM in some games.Filippos Karapetis
Sierra has released a patch adding after market General MIDI support for 8 SCI1 games (LSL1, LSL5, Hoyle 3, SQ1, SQ4, Eco1 floppy, Longbow and Fairy Tales). If the user has selected the General MIDI music driver in one of these games and no associated MIDI patch is found, show an informational dialog on game startup in order to inform the user to download Sierra's MIDI patch, together with some short instructions. svn-id: r52500
2010-09-01SCI: set master volume correctlyMartin Kiewitz
and merge it together with global volume, fixes bug #3053104) svn-id: r52484
2010-08-18SCI: Changed a warning into a debugCFilippos Karapetis
svn-id: r52183
2010-08-04SCI: Turned a warning into a debugCFilippos Karapetis
svn-id: r51738
2010-08-04SCI: fix fadeout on workaroundsMartin Kiewitz
svn-id: r51728
2010-08-02SCI: Silenced some sound related warnings. Added an empty function for ↵Filippos Karapetis
kDoSound(Restore), called when restoring games svn-id: r51661
2010-08-01SCI: kDoSound(mute) behaviour changeMartin Kiewitz
svn-id: r51589
2010-07-29SCI: Added back debug output to sound commandsFilippos Karapetis
svn-id: r51460
2010-07-22SCI: Cleanup leftovers from the FreeSCI sound codeFilippos Karapetis
svn-id: r51178
2010-07-20SCI: renaming kDoSound(resume) to resumeAfterRestoreMartin Kiewitz
kDoSound(resumeAfterRestore) is called right after restoring a saved game for sound-sci0 games, we already resume playing music inside restore, so we don't need to implement this at all svn-id: r51058
2010-07-19SCI: disabling kDoSound(StopAll)Martin Kiewitz
this call can't be right, gets called in kq1 several times and would stop background effects svn-id: r51039
2010-07-19SCI: update sample ticker when pausedMartin Kiewitz
little adjustment of r51017 svn-id: r51018
2010-07-19SCI: change kDoSound(updateCues) for samplesMartin Kiewitz
only set signal when sample was/is playing, fixes qfg2 genie intro svn-id: r51017
2010-07-18SCI: if game starts fading, stops music and later starts music again don't ↵Martin Kiewitz
resume fading - fixes lsl6 music when going in from swimming pool svn-id: r50995
2010-07-18SCI: adding obj in kDoSound debug outputMartin Kiewitz
svn-id: r50994
2010-07-16SCI: adding signatures for 4-parameter variant of kDoSound(sendMidi), needs ↵Martin Kiewitz
to get figured out how this works - fixes signature mismatch in lsl1 svn-id: r50937
2010-07-11SCI: changing signature for kDoSound(resume) it seems its called right after ↵Martin Kiewitz
restoring to resume music - which we do already automatically svn-id: r50800
2010-07-10SCI: updated debug output from kDoSoundMartin Kiewitz
svn-id: r50781
2010-07-09SCI: move comments and change selector for sci0 sound in kDoSoundPause, also ↵Martin Kiewitz
allow pausing everything even for sci1early (qfg2 is using it) svn-id: r50765
2010-07-09SCI: actually all sound-sci0 games used a completely different kDoSoundPause ↵Martin Kiewitz
logic, implement it - fixes all sorts of games not pausing when going to restore menu and more svn-id: r50760
2010-07-09SCI: added currently commented-out pauseSound implementation for some sci0 ↵Martin Kiewitz
games, allowing integer for that subfunction svn-id: r50759