aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx
AgeCommit message (Collapse)Author
2009-10-26Fixed some cppcheck warnings.Torbjörn Andersson
svn-id: r45391
2009-10-22Fixed signed/unsigned issues with the property() function of the Adlib driverFilippos Karapetis
svn-id: r45332
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-17SCI: Add FIXMEWillem Jan Palenstijn
svn-id: r45204
2009-10-17SCI: Fix delete/free mismatchesWillem Jan Palenstijn
svn-id: r45196
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-10-12SCI: commenting out music warningsMartin Kiewitz
svn-id: r44990
2009-10-10SCI: Adlib: Add support for loading patch data from adl.drvWalter van Niftrik
svn-id: r44859
2009-10-08Change doxygen inline comments from "//!" to "///" as proposed on -develMax Horn
svn-id: r44802
2009-10-01SCI: Add some fixmes noted by salty-horse.Willem Jan Palenstijn
svn-id: r44513
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
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-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-09-01SCI: Fix relative cues in SCI1.Walter van Niftrik
svn-id: r43871
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-08-16SCI: Stage 1 of the game detection overhaul. The end goal is to autodetectWalter van Niftrik
as much as possible. All SCI_VERSION_* information was removed from detection.cpp (much of it was incorrect anyway). svn-id: r43449
2009-08-15SCI: Added enum for map and volume versions. Removed res_version setting fromWalter van Niftrik
detection.cpp (should be detectable). Cleanup. svn-id: r43390
2009-07-11SCI: don't let TimerSongIterator loop forever, and don't immediatelyWillem Jan Palenstijn
signal completion when starting it. This fixes a sync issue with the departing spaceship at the start of SQ4CD (after the intro). svn-id: r42385
2009-07-11Applied patch 2818733 - "SCI: Timer iterator for audio resources played via ↵Filippos Karapetis
doSound" svn-id: r42375
2009-07-07Silenced the very chatty song iterator console messages by converting them ↵Filippos Karapetis
to appropriate debug messages svn-id: r42240
2009-07-06Fixed compilationFilippos Karapetis
svn-id: r42168
2009-07-06Replaced sciprintf() calls with printf, DebugPrintf, warning and error callsFilippos Karapetis
svn-id: r42167
2009-07-05When creating a CleanupSongIterator, transfer death listeners to itWillem Jan Palenstijn
svn-id: r42113
2009-07-04When morphing a TeeSongIterator, transfer death listeners to remaining childWillem Jan Palenstijn
svn-id: r42112
2009-07-01Fixed some more warnings observed on buildbotMax Horn
svn-id: r42010
2009-07-01- Added GCC_PRINTF attribute to several funcs where it makes senseMax Horn
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings - removed duplicate prototypes for some funcs - fixed some "increases required alignment of target type" warnings svn-id: r42009
2009-06-12SCI: Moved audio code from AudioResource to the sfx core.Walter van Niftrik
svn-id: r41486
2009-06-07SCI: C++ified the song iterator code a little bit moreMax Horn
svn-id: r41360
2009-06-07SCI: Moved resource36 handling into resource manager.Walter van Niftrik
svn-id: r41349
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-07Init _opl to 0. This prevents a crash on exit when the Adlib driver is ↵Filippos Karapetis
closed, if the game music driver doesn't support music for the currently playing game (e.g. Christmas 1998) svn-id: r41339
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-30Moved the "songlib" command to console.cpp and removed the non-working ↵Filippos Karapetis
"set_vismap" command - we can view the different maps with "show_map", but it doesn't make much sense to redirect the game's graphics output to another screen map on demand svn-id: r41048
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