aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/core.cpp
AgeCommit message (Collapse)Author
2009-12-20Moved all of the sound iterator code in its own directory, and added a ↵Filippos Karapetis
slight hack to the SoundCommandParser constructor svn-id: r46430
2009-12-18Moved the interface class for the the custom SCI MIDI drivers together with ↵Filippos Karapetis
the actual driver implementation code svn-id: r46414
2009-11-26SCI: Turn SfxPlayer::_mutex from a pointer into a plain memberMax Horn
svn-id: r46157
2009-11-14Removed unused codeFilippos Karapetis
svn-id: r45901
2009-11-14Removed sfx/misc.hFilippos Karapetis
svn-id: r45885
2009-11-05SCI: Converted FreeSCI Amiga sound driver. Some cleanup.Walter van Niftrik
svn-id: r45682
2009-11-04Applied patch #2891230 - "SCI sfx: fix song iterators from not getting freed"Filippos Karapetis
svn-id: r45670
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-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-22Applied a modified version of patch #2881486 - "Add volume changing to SCI"Filippos Karapetis
svn-id: r45329
2009-10-18Introduced new type Common::DisposeAfterUse::FlagMax Horn
svn-id: r45233
2009-10-18Mark an old change made for SQ4 in updateMultiSong() in rev. #39347 as a ↵Filippos Karapetis
workaround svn-id: r45231
2009-10-16Moved sci_ffs() inside iterator.cpp, the only place where it's actually ↵Filippos Karapetis
used, and removed tools.*. Also, removed all the unused includes to tools.h from several places svn-id: r45176
2009-10-13SCI: Doxygenify comments in class SfxPlayerMax Horn
svn-id: r45039
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-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-09-06SCI: Rename player -> s_player and made it static; allocate MemoryReadStream ↵Max Horn
in two cases on the stack, for simplicity svn-id: r43979
2009-09-02Some renaming:Filippos Karapetis
getresourceManager -> getResourceManger resourceManager -> resMan segmentManager ->segMan svn-id: r43908
2009-08-25- Simplified the parameters of some functionsFilippos Karapetis
- Replaced some EngineState parameters - The SCI version is now obtained from the resource manager or the segment manager, thereby simplifying several functions - Plugged 2 leaks in the fallback detector - Renamed the segment manager and resource manager to "segmentManager" and "resourceManager" in all places, for consistency svn-id: r43722
2009-08-21Truly fix endianness in the SOL decoder. Raw sounds are always in little ↵Matthew Hoops
endian order and now compressed are outputted to little endian too (and therefore the little endian mixer flag is always set). svn-id: r43576
2009-08-20Fix 16-bit SOL audio on little endian systems. Fixes the white noise in the ↵Matthew Hoops
Gabriel Knight demo. svn-id: r43569
2009-07-01Fixed some more warnings observed on buildbotMax Horn
svn-id: r42010
2009-06-12SCI: Moved audio code from AudioResource to the sfx core.Walter van Niftrik
svn-id: r41486
2009-06-07SCI: Simplified SongLibrary code a bitMax Horn
svn-id: r41345
2009-06-07SCI: Objectified Song struct 'a bit'Max Horn
svn-id: r41344
2009-06-07SCI: Objectified SongLibraryMax Horn
svn-id: r41343
2009-06-07SCI: Renamed various song/songlib related structs and membersMax Horn
svn-id: r41342
2009-06-05CleanupFilippos Karapetis
svn-id: r41202
2009-05-31Removed script_error_flag and script_debug_flag, which were used to error ↵Filippos Karapetis
out if something went wrong and open the debugger console. Changed all the places where they were used to error() out instead, as ScummVM's debugger console can open on error() svn-id: r41073
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-05-31Typo.Johannes Schickel
svn-id: r41054
2009-05-30SCI: Added constructor&destructor to SfxStateMax Horn
svn-id: r41047
2009-05-30SCI: Made vocab_version static again (a global static var is bad, but a ↵Max Horn
really global var is worse); also clarified some FIXME comments that we want to avoid *any* non-const global var, no matter whether it is static or not svn-id: r41045
2009-05-30Removed the "sfx_debuglog" command. Sound debug messages are now shown if ↵Filippos Karapetis
kDebugLevelSound is specified svn-id: r41039
2009-05-30Removed/replaced BREAKPOINTFilippos Karapetis
svn-id: r41025
2009-05-29SCI: Converted several fprintf(stderr) calls to warning/error (the remaining ↵Max Horn
fprintf calls should probably be replaced by suitable debug/debugC/debugN invocations) svn-id: r40993
2009-05-28SCI: Turned SfxState into a proper class (i.e., convert the sfx_ funcs to ↵Max Horn
member methods) svn-id: r40973
2009-05-28SCI: Merged NewPlayer and SfxPlayerMax Horn
svn-id: r40968
2009-05-28SCI: Merged SfxPlayer/NewPlayer code into sfx/core.cppMax Horn
svn-id: r40965
2009-05-28SCI: Renamed sfx_state_t -> SfxState, preparing it to become a class eventuallyMax Horn
svn-id: r40958
2009-05-28SCI: Some SFX player cleanupMax Horn
svn-id: r40956
2009-05-26Fixed a crash when exiting, a regression from the latest music driver changesFilippos Karapetis
svn-id: r40922
2009-05-26SCI: removed realtime and polled player, as well as the sfx/device dir, ↵Max Horn
after discussion with Walter svn-id: r40913
2009-05-26SCI: Turned sfx_player_t into a class SfxPlayer, and converted the existing ↵Max Horn
players to subclasses of that svn-id: r40912
2009-05-25Objectified the AudioResource code (used for speech and digitized music in ↵Filippos Karapetis
CD talkie games) svn-id: r40880
2009-05-12SCI: cleanupMax Horn
svn-id: r40518
2009-05-12SCI: Replaced SFX_OK/SFX_ERROR by Common::Error, and got rid of sfx/sfx.hMax Horn
svn-id: r40517
2009-04-25WIP (still non-working) code for speech sync in CD talkie games (like e.g. ↵Filippos Karapetis
KQ5 CD and SQ4 CD), taken from Greg's SCI implementation. svn-id: r40142
2009-04-15SCI: Added a new song player (work-in-progress).Walter van Niftrik
svn-id: r39953