aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound_adlib.cpp
AgeCommit message (Collapse)Author
2010-08-24KYRA: Cleanup.Johannes Schickel
svn-id: r52340
2010-05-17Some more enforcement of our formatting conventions in KYRA too.Johannes Schickel
svn-id: r49069
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-04-11Fix bug #2985387 "KYRA1: Crash at the end of game".Johannes Schickel
svn-id: r48617
2010-01-12Rename all "Adlib" uses to "AdLib" to match the real name of the sound card ↵Johannes Schickel
/ company. Check this for reference: http://en.wikipedia.org/wiki/Ad_Lib,_Inc. http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card) This commit does not touch "adlib" and "ADLIB" uses! Also it does not update all the SCUMM detection entries, which still use "Adlib". svn-id: r47279
2010-01-08Switch Mixer::playInputStream to use DisposeAfterUse::FlagMax Horn
svn-id: r47182
2010-01-02Use Common::StackLock.Johannes Schickel
svn-id: r46870
2010-01-01Merge update_nop1 and update_nop2.Johannes Schickel
svn-id: r46860
2010-01-01- Fix out of bounds array access.Johannes Schickel
- Add some asserts in output related functions svn-id: r46859
2010-01-01- Add some assertsJohannes Schickel
- Renamed snd_unkOpcode3 to snd_stopChannel - Cleanup svn-id: r46855
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-05-29Formatting.Johannes Schickel
svn-id: r40991
2009-05-27- Moved Sound implementation declarations to the newly added file sound_intern.hJohannes Schickel
- Added support for PC Speaker sound in all Kyra1, Kyra2 and Lands of Lore - Slight cleanup svn-id: r40939
2009-05-18Add support for music in the LoL intro demo.Johannes Schickel
svn-id: r40706
2009-04-29Cleanup.Johannes Schickel
svn-id: r40200
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-11-03Preliminary support for loading via GMM for KYRA engine.Johannes Schickel
svn-id: r34885
2008-08-02Added a member function loadSoundFile to Sound which accepts a filename ↵Johannes Schickel
string instead of a filename list id. svn-id: r33527
2008-07-31Committed slightly modified patch #2029395 "KYRA: Lands of Lore Intro + ↵Johannes Schickel
Character selection". svn-id: r33463
2008-05-11- Renamed KyraEngine to KyraEngine_v1Johannes Schickel
- kyra.* -> kyra_v1.* - scene.cpp -> scene_v1.cpp svn-id: r32044
2008-05-09Fixed typos.Johannes Schickel
svn-id: r31965
2008-05-07Changed kyra to use delete[] instead of delete [].Johannes Schickel
svn-id: r31925
2008-04-06Silenced MSVC warningFilippos Karapetis
svn-id: r31434
2008-04-06Implemented fadeout waiting in KyraEngine_v2::enterNewScene for AdLib.Johannes Schickel
svn-id: r31424
2008-04-04Cleaned up volume settings managment.Johannes Schickel
svn-id: r31385
2008-03-26- fixed multiple voices playing at once (see bug #1926547 "HoF: Right mouse ↵Johannes Schickel
button messes up gameplay"). - fixed crash while uninitializing AdLib driver svn-id: r31252
2008-01-03Committed slightly modified patch #1862758 "KYRA: audio data assignment patch".Johannes Schickel
svn-id: r30198
2007-12-09Added a hack to allow adjustment of Adlib volume. (see bug #1497961 "KYRA1: ↵Johannes Schickel
music/sfx volume settings not working") svn-id: r29808
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-04-15Formatting/Cleanup.Johannes Schickel
svn-id: r26511
2007-04-01made _vm/_engine usage consistent. (_engine -> _vm all over the place now).Johannes Schickel
svn-id: r26342
2007-02-20Patch #1663933 (Kill premix channel) with a few tiny additional tweaks by meMax Horn
svn-id: r25752
2007-02-17Only set up the Kyra 1 triggers for Kyra 1, not Kyra 2.Torbjörn Andersson
svn-id: r25650
2007-02-16Added support for Kyrandia 2 ADL files.Johannes Schickel
svn-id: r25634
2007-01-29- adds support for FM-Towns SFX (thanks to Florian Kagerer for his source)Johannes Schickel
- gets rid of GameFlags::hasAudioCD svn-id: r25258
2007-01-26little parameter reodering.Johannes Schickel
svn-id: r25201
2006-08-15- adding LPGL headers to adlib sound specific filesJohannes Schickel
- stating about dual license of adlib sound specific files svn-id: r23708
2006-08-03Committed my own patch #1533833 (minus one line that was left over from anTorbjörn Andersson
earlier experimental version) after discussing it with LordHoto. This works around a bug in the "Pool of Sorrow" Adlib data which caused the channels to drift more and more out of sync for each time the music looped. The patch forces the channels involved to jump in sync. As with all such workarounds, it may cause regressions. But it shouldn't. svn-id: r23659
2006-07-26Removed unnecessary #includeTorbjörn Andersson
svn-id: r23598
2006-06-02Fix for bug # 1497961 ("KYRA1: in-game "Music" option not working").Johannes Schickel
svn-id: r22844
2006-05-28- makes Screen::getPagePtr privateJohannes Schickel
- introduces Screen::getCPagePtr and Screen::getPageRect (which should ease the introduction of dirty rect handling) - moves KyraEngine::loadBitmap to Screen svn-id: r22716
2006-05-28Commits Chriliths patch for fixing Kyra on PalmOS.Johannes Schickel
svn-id: r22708
2006-05-12- little cleanupsJohannes Schickel
- adds kyra3 dummies svn-id: r22425
2006-04-29Moved the AudioCDManager as well as class AudioStream and its (standard) ↵Max Horn
subclasses to namespace Audio svn-id: r22231
2006-04-12Fixing mismatch between format strings and data on some systemsMax Horn
svn-id: r21827
2006-04-12sizeof(void *) != sizeof(int) for a large number of systems.Jonathan Gray
Fix a lot of debug/error statements that were using %d/%x for the result of pointer arithmetic. As C++ apparently has no format string for ptrdiff_t use %lu/%lx as appropriate. svn-id: r21824
2006-03-26Cleaned up update_playRhythmSection(). It's almost possible to understand whatTorbjörn Andersson
it's intended to do now. Renamed _unkOutputByte2 to _vibratoAndAMDepthBits. It's a pretty terrible name, but that's what it is: the two most significant bits of the Adlib BD register. Renamed _rhythmSection to _rhythmSectionBits for consistency: It's the five least significant bits of the Adlib BD register. (The remaining bit is the rhythm on/off bit. I don't think we store that one in any variable.) svn-id: r21463
2006-03-25I believe that the purpose of updateCallback45() is to add a signed value to aTorbjörn Andersson
channel's unsigned tempo. Rewrote the function to make this clearer, and renamed it update_changeChannelTempo(). svn-id: r21448
2006-03-25More renamings:Torbjörn Andersson
unk11 -> durationRandomness updateCallback12() -> update_setupNoteAndDuration() updateCallback26() -> update_setupDuration() updateCallback44() -> update_setDurationRandomness() svn-id: r21447