aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/music.cpp
AgeCommit message (Collapse)Author
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-03SCI: Show object names in the songlib console commandmd5
2011-04-03SCI: Fixed bug #3266480 and partially fixed bug #3041738md5
Hopefully, this will fix some of the oddities happening because of music fading
2011-03-23ENGINES: Use Common::StackLock in more placesMax Horn
2011-03-03SCI: Always clear looping and hold before jumpToTick() is calledmd5
Fixes a crash in LSL3 Amiga
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-27SCI: Renamed SCI_VERSION_1_EGA to SCI_VERSION_1_EGA_ONLYmd5
This renaming allows us to better distinguish that this version is for games that only had an EGA version, and avoid confusion with newer SCI1 game releases with EGA graphics (e.g. KQ5 EGA). The only game with this SCI version is QFG2, a SCI1 EGA game with a parser. Also, added some games for each SCI version.
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-01-15SCI: Bugfix for r55246: Don't send init commands when resuming a soundFilippos Karapetis
svn-id: r55247
2011-01-15SCI: Fixed bug #3034974 - "SCI: Music out of tune after loading a save"Filippos Karapetis
svn-id: r55246
2010-12-07SCI: Removed the system strings code and replaced it with a much more ↵Filippos Karapetis
simplified version, thus greatly simplifying handling of system strings svn-id: r54805
2010-11-26SCI: Added a define to turn off channel remapping (for debugging)Filippos Karapetis
svn-id: r54496
2010-11-25SCI: Initialize global reverb correctly. Fixes bug #3118700 - "SCI KQ5: ↵Filippos Karapetis
Assertion in midi.cpp" (regression from r54478) svn-id: r54481
2010-11-25SCI: implemented reverb handling and related functionalityFilippos Karapetis
svn-id: r54478
2010-11-24SCI: Some renaming and added several TODOs concerning reverbFilippos Karapetis
svn-id: r54461
2010-11-24SCI/SOUND: Applied patch #3117577 - "SCI: MT-32 plays "warble" of notes when ↵Filippos Karapetis
music resumes", with some slight modifications This is only used by SCI for now, but it is probably correct to apply this for all engines, thus an appropriate TODO has been added svn-id: r54460
2010-11-24SCI: Moved handling of special reverb value 127 outside of the MIDI driverFilippos Karapetis
svn-id: r54459
2010-11-24SCI: Added a getReverb() accessor to the SciMusic classFilippos Karapetis
svn-id: r54456
2010-10-19SCI: fixing possible deadlock inside clearPlaylistMartin Kiewitz
thx to ajax16384 svn-id: r53613
2010-10-07SCI: Fix for bug #3083151 - "QFG3: Long pause while loading specific savegame"Filippos Karapetis
svn-id: r53060
2010-09-17SCI: Add CMS driver for SCI1-SCI1.1.Johannes Schickel
svn-id: r52781
2010-09-09SCI: Fix last MIDI channel number for adlib driverWalter van Niftrik
svn-id: r52662
2010-09-08SCI: dont remap to channel 9 (fix real mt32)Martin Kiewitz
svn-id: r52634
2010-09-06SCI: fix regression of r52569Martin Kiewitz
fade in/out of samples svn-id: r52604
2010-09-05SCI: ignore kDoSound volume changes on samplesMartin Kiewitz
svn-id: r52569
2010-09-05SCI: sierra sci ignores vol for kDoSound samplesMartin Kiewitz
now "score" is halfway playing, but it's cut so only "s" is played. Needs to get further investigated svn-id: r52568
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-31SCI: renaming fb01-enable to "native_fb01"Martin Kiewitz
svn-id: r52471
2010-08-31SCI: forgot one rename of "enable_fb01"Martin Kiewitz
svn-id: r52470
2010-08-18SCI: Only perform queuing of song signals for SCI0, where we handle the ↵Filippos Karapetis
updating of song queues ourselves. Newer games handle signaling on their own, thus we shouldn't interfere with this. Fixes bug #3045913 - "PHARKAS CD: Crash at the start menu" (a regression from rev #52043) svn-id: r52195
2010-08-12SCI: queuing signal, if signal not passed to scriptsMartin Kiewitz
fixes laura bow 1 when knocking at the door in the attic, scripts wait for 0xb in that case, sound resource sets 0xb and then immediately ends. This resulted in the scripts only getting the termination signal, so they waited endlessly. (bug #3042981) svn-id: r52043
2010-08-11SCI: not pausing kDoSound samples anymoreMartin Kiewitz
but pausing looped samples only fixes "I'm melting" sample in sq1 death (bug #3038048) added detailed comment about this change svn-id: r51985
2010-08-03SCI: not error()ing out on no free channelsMartin Kiewitz
instead we just ignore such channels. I'm not sure how sierra sci behaved in that case, they ignored channels as well, but maybe they removed them from earlier music svn-id: r51715
2010-07-29SCI: midi hold behaviour fixedMartin Kiewitz
we shouldnt react on hold midi data when no actual hold was called, fixes eq2/amulet problem (bug #3035392) svn-id: r51482
2010-07-27SCI: Fix PCjr soundMatthew Hoops
svn-id: r51369
2010-07-18SCI: Rename the Amiga music drivers to AmigaMac to reflect its current purpose.Matthew Hoops
svn-id: r51006
2010-07-18SCI: Add initial support for SCI0 Mac and SCI1 Amiga/Mac sound.Matthew Hoops
SCI1 sound is pretty much done, but envelope support is still not 100% complete. SCI0 Mac sound is not complete, but sounds "ok" for now. Much thanks to Walter, who did a ton of work on this. svn-id: r51001
2010-07-18SCI: change to r50995 - better stop fading when stop is calledMartin Kiewitz
svn-id: r50996
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-09SCI: fixing regression of r50414 - we set volume to standard levels inside ↵Martin Kiewitz
initCommands since then, so if we set the actual needed volume before calling that it will get ignored - fixes lsl1demo svn-id: r50766
2010-07-09SCI: added currently commented-out pauseSound implementation for some sci0 ↵Martin Kiewitz
games, allowing integer for that subfunction svn-id: r50759
2010-06-29SCI: Rewrap yet more commentsMax Horn
svn-id: r50505
2010-06-28SCI: ignoring set signal on tick 0 directly in parseNextEvent instead of ↵Martin Kiewitz
filtering, also now ignoring channel volume changes on tick 0 (fixes lsl5 fading of sound 274, almost at the end), fixing also fading in gk1 and enabling fading in sci32 again svn-id: r50463
2010-06-27SCI: tell midiparser that he lost ownership of channels in case we take them ↵Martin Kiewitz
away svn-id: r50405
2010-06-26SCI: dont call midiparser->stop() if paused sound gets stoppedMartin Kiewitz
svn-id: r50310
2010-06-25SCI: set MDT_PREFER_GM instead od MDT_PREFER_MT32Florian Kagerer
svn-id: r50289
2010-06-25AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either ↵Florian Kagerer
select MDT_PREFER_MT32 or MDT_PREFER_GM svn-id: r50288
2010-06-22SCI: removing unneeded capacity uint from r50143Martin Kiewitz
svn-id: r50147