aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/ksound.cpp
AgeCommit message (Collapse)Author
2010-06-22The volume subop of kDoAudio returns the previous volume in SCI2.1, but not ↵Filippos Karapetis
in earlier versions svn-id: r50141
2010-06-21In SCI32, kDoAudio subop 10 is no longer CD audio. Just stub it off for now.Matthew Hoops
svn-id: r50134
2010-06-18SCI: Rewrap some overlong commentsMax Horn
svn-id: r50012
2010-06-18Fixed invalid memory access in SQ6Filippos Karapetis
svn-id: r49986
2010-06-17Strict mode: Turned several severe errors (almost all detection related) ↵Filippos Karapetis
into errors, instead of warnings svn-id: r49972
2010-06-17Fixed wPlayAudio, and added some documentation on the 3 new kDoAudio subops. ↵Filippos Karapetis
Digital sounds in Pharkas work again svn-id: r49928
2010-06-12Added debug output to kDoAudio and some music commands. Also added a warning ↵Filippos Karapetis
when an audio stream can't be created. Finally, the debug level of the MIDI parser debug output has been raised to 4, as it's too verbose svn-id: r49605
2010-06-10kSciAudioWPlay should not actually play the song, but 'pre-load' it. We fake ↵Matthew Hoops
the pre-loading with a flag that will return 0 if the song has been called with kSciAudioWPlay. Fixes the dream sequence sound in MUMG. svn-id: r49583
2010-06-10Resolved a FIXME with getSciLanguage(), by creating a separate setter. Also, ↵Filippos Karapetis
some camelCase changes svn-id: r49568
2010-05-18Added the number of parameters passed in unknown kDoAudio subopsFilippos Karapetis
svn-id: r49083
2010-02-15SCI: Remove sound/audio.h include from engine/state.hMax Horn
svn-id: r48063
2010-02-14Moved the reference to AudioPlayer inside SciEngine (as it doesn't have a ↵Filippos Karapetis
state, per se, and is static) svn-id: r48059
2010-02-13SCI: Move language related code from EngineState to SciEngineMax Horn
svn-id: r48052
2010-02-13SCI: Move GameFeatures from EngineState to SciEngineMax Horn
svn-id: r48049
2010-02-13SCI: Get rid of EngineState::resManMax Horn
svn-id: r48048
2010-02-03Placed all the game feature detection code in a separate classFilippos Karapetis
svn-id: r47850
2010-01-31Make EngineState::getLanguage() check from the resource manager as to what ↵Matthew Hoops
language it has loaded before checking from what ScummVM has set and make kDoAudio use EngineState::getLanguage() svn-id: r47782
2010-01-31SCI: Handle -1 properly when passed as a language id to DoAudioWalter van Niftrik
svn-id: r47774
2010-01-28SCI: Make SQ6 sound work. The meaning of these extra parameters is not yet ↵Lars Skovlund
understood. svn-id: r47660
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-05Renamed /gui to /graphics and /sfx to /sound, to better illustrate their purposeFilippos Karapetis
svn-id: r47007
2010-01-01SCI: kDoAudio now also clips volume and adjusts to mixer volumeMartin Kiewitz
svn-id: r46852
2010-01-01SCI: Added TODO within kDoAudioMartin Kiewitz
svn-id: r46847
2009-12-26Case kSciAudioLanguage in kDoAudio always checks for audio capability in ↵Filippos Karapetis
SCI1.1 games, regardless of parameters. Fixes a warning in SQ4CD svn-id: r46584
2009-12-19- Started wrapping the current sound code around appropriate definesFilippos Karapetis
- Introduced a new resource type, SoundResource, used in the new music code svn-id: r46421
2009-11-14Removed sfx/misc.hFilippos Karapetis
svn-id: r45885
2009-11-12Started objectifying kDoSound()Filippos Karapetis
svn-id: r45862
2009-11-05Moved the audio related command enums inside audio.hFilippos Karapetis
svn-id: r45676
2009-11-04Fix CD Audio in JonesCD and add some comments.Matthew Hoops
svn-id: r45669
2009-11-04Moved the audio CD handling code inside the AudioPlayer class. Some cleanupFilippos Karapetis
svn-id: r45656
2009-11-04Moved the sound sync code inside the AudioPlayer classFilippos Karapetis
svn-id: r45655
2009-11-04Moved sound sync related variables inside the AudioPlayer class and fixed ↵Filippos Karapetis
compilation svn-id: r45654
2009-11-04Moved most of the code for playing sound effects and speech into a separate ↵Filippos Karapetis
class svn-id: r45653
2009-10-30Remove unused includes when INCLUDE_OLDGFX is not set. Implemented the full ↵Filippos Karapetis
screen updates that the current menu code is doing using new graphics functions (still unfinished). Some cleanup. svn-id: r45536
2009-10-25Add support for CD Audio in Jones in the Fast Lane CD and KQ6 CD.Matthew Hoops
svn-id: r45367
2009-10-22Applied a modified version of patch #2881486 - "Add volume changing to SCI"Filippos Karapetis
svn-id: r45329
2009-10-18SCI: kDoSound typo fixedMartin Kiewitz
svn-id: r45238
2009-10-18SCI: kDoSound doesnt reset nodePtr on fade anymore, fixes lsl5 endless music ↵Martin Kiewitz
loop at patti exam scene svn-id: r45237
2009-10-18SCI: Make the implicit segMan param to GET_SEL32(V) and PUT_SEL32(V) explicitMax Horn
svn-id: r45234
2009-10-13SCI: Merge some sfx related global funcs into SfxState.Max Horn
This allows us to get rid of "static SfxPlayer *s_player". svn-id: r45038
2009-10-11SCI: Fix hang in KQ6 book worm sceneWalter van Niftrik
svn-id: r44889
2009-10-04SCI: Rename EngineState::segMan to _segManMax Horn
svn-id: r44629
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-09-29- Changed the unimplemented debug SCI kernel functions (InspectObj, ↵Filippos Karapetis
ShowSends, ShowObjs, ShowFree, StackUsage and Profiler) to be dummy functions - we have our own debugger, and don't use these functions for debugging - Removed the function number parameter from all kernel functions, as it's no longer needed, and removed the FAKE_FUNCT_NR hack - Removed kUnknown() and kStub() - Dummy/unknown kernel functions are no longer invoked, and a warning is shown instead, with the paremeters passed to them Note: there is an evil hack used for debugging scripts in invoke_selector(), which probably no longer works now svn-id: r44461
2009-09-25Create a define for the special "signal" offset used throughout the engine, ↵Filippos Karapetis
and fixed the arbitrary 0 values from commit #44294, set when some math functions do invalid calculations svn-id: r44359
2009-09-24Fix warnings.Johannes Schickel
svn-id: r44304
2009-09-23- Moved the SCI version in a global variableFilippos Karapetis
- Changed all the SCI version checks to use getSciVersion() - Also made getSciVersionDesc a global function (removes some ugly accessing of the SCI engine) The fallback detector should work correctly now svn-id: r44269
2009-09-17SCI: Rename WAS_FUNCT_NR to FAKE_FUNCT_NR; turn some #defines into enumsMax Horn
svn-id: r44169
2009-09-12Made is_object() a method of the segment managerFilippos Karapetis
svn-id: r44042
2009-09-06SCI: cleanupMax Horn
svn-id: r43984