aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx
AgeCommit message (Collapse)Author
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
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-29SCI: Removing useless adlib-via-OSS codeMax Horn
svn-id: r40992
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-28oopsMax Horn
svn-id: r40966
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: Undo commit #40917 (SongIteratorChannel::resetSynthChannels now again ↵Max Horn
does something) svn-id: r40921
2009-05-26Fixed compilation under MSVCFilippos Karapetis
svn-id: r40917
2009-05-26SCI: Removing obsolete soft sequencer filesMax Horn
svn-id: r40914
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-26SCI: Preparing to transform sfx_player_t into a classMax Horn
svn-id: r40911
2009-05-26Turned some static tables into static const tables; added some FIXME ↵Max Horn
comments to global static vars that should be removed (many more exist in SCI, Tinsel, and some other engines) svn-id: r40908
2009-05-25SCI: Adlib: fix crash in SQ4.Walter van Niftrik
svn-id: r40886
2009-05-25Objectified the AudioResource code (used for speech and digitized music in ↵Filippos Karapetis
CD talkie games) svn-id: r40880
2009-05-24SCI: Adlib: added support for rhythm channelWalter van Niftrik
svn-id: r40874
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-23SCI: Added partial support for SCI1.1 adlib musicWalter van Niftrik
svn-id: r40800
2009-05-20removed trailing whitespacesMax Horn
svn-id: r40742
2009-05-15Fix compilationWillem Jan Palenstijn
svn-id: r40611
2009-05-15- Moved all the files out of /sci/scicore and into /sciFilippos Karapetis
- Moved /scicore/sciconsole.h into /engine, and renamed /engine/scriptconsole.cpp to /engine/sciconsole.cpp svn-id: r40608