Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-09-13 | should have been an int32 | Oliver Kiehl | |
svn-id: r10220 | |||
2003-09-13 | endian fix | Oliver Kiehl | |
svn-id: r10219 | |||
2003-09-13 | fix LE bug | Oliver Kiehl | |
svn-id: r10215 | |||
2003-09-13 | YAEB | Max Horn | |
svn-id: r10205 | |||
2003-09-13 | cleanup | Max Horn | |
svn-id: r10204 | |||
2003-09-12 | cleanup | Max Horn | |
svn-id: r10197 | |||
2003-09-12 | endian fixes | Oliver Kiehl | |
svn-id: r10192 | |||
2003-09-10 | disable code because it crashes | Oliver Kiehl | |
svn-id: r10160 | |||
2003-09-10 | added refCon parameter to timer class | Max Horn | |
svn-id: r10156 | |||
2003-09-09 | HACK: Display instructions during the cutscenes, so that the user won't | Torbjörn Andersson | |
think ScummVM has hung or something. svn-id: r10138 | |||
2003-09-09 | Reworked the last commit a bit, so that PlaySmacker() doesn't need to know | Torbjörn Andersson | |
as much about the text handling functions. svn-id: r10137 | |||
2003-09-09 | In PlaySmacker(), make sure there really is a text sprite to draw. | Torbjörn Andersson | |
svn-id: r10136 | |||
2003-09-09 | Our ServiceWindows() never returns RDERR_APPCLOSED, and we always behave as | Torbjörn Andersson | |
if we have the focus, so there's no need to check. svn-id: r10130 | |||
2003-09-09 | Added a WaitForFade() function, to replace numerous while-loops scattered | Torbjörn Andersson | |
througout the code. svn-id: r10127 | |||
2003-09-09 | Clarified some comments in PlaySmacker(). At this point it should be fairly | Torbjörn Andersson | |
trivial to actually play the Smacker voice-overs, but I think the sound code needs a bit more cleaning up first. (I'm pretty sure it isn't alignment-safe, and it might not be endian-safe either.) svn-id: r10123 | |||
2003-09-08 | Cleanup. | Torbjörn Andersson | |
svn-id: r10104 | |||
2003-09-08 | Updated comment. | Torbjörn Andersson | |
svn-id: r10100 | |||
2003-09-08 | Added some code to display the subtitles for the Smacker movies, when | Torbjörn Andersson | |
available, since they are separate from the Smacker files themselves. Next step will be to play the voice-over sounds as well, and to make sure subtitles settings etc. are taken into account (if they aren't already). svn-id: r10099 | |||
2003-09-08 | Complete rewrite of the in-game dialogs (quit, restart, settings, save and | Torbjörn Andersson | |
load). The new code is smaller, hopefully a bit easier to read and doesn't use up all the CPU time. Of course, it may some new and exciting bugs too. ;-) svn-id: r10079 | |||
2003-09-07 | more endian fixes | Max Horn | |
svn-id: r10058 | |||
2003-09-07 | some endian fixes | Max Horn | |
svn-id: r10056 | |||
2003-09-05 | moved the sound ID param in playRaw before volume/pan | Max Horn | |
svn-id: r10023 | |||
2003-09-05 | Added FIXME comment about DipMusic(). | Torbjörn Andersson | |
svn-id: r10010 | |||
2003-09-05 | Cleanup. | Torbjörn Andersson | |
svn-id: r10009 | |||
2003-09-05 | This fixes another music-related crash for me. I guess it's our | Torbjörn Andersson | |
implementation of music fade-out that makes it a bad thing to close the music cluster file prematurely. svn-id: r10007 | |||
2003-09-05 | Removed unused function, StartMusicFadeDown(). | Torbjörn Andersson | |
svn-id: r10004 | |||
2003-09-05 | Cleaned up UpdateCompSampleStreaming() and re-enabled music fading. We | Torbjörn Andersson | |
currently don't fade music that ends because we reached the end of the musical cue, though. Only music that ends because it's being replaced by another cue. svn-id: r10003 | |||
2003-09-05 | comment unused label | Jonathan Gray | |
svn-id: r9995 | |||
2003-09-04 | Added locking to the music code. I'm not really the right person to do this | Torbjörn Andersson | |
but at least it doesn't seem to do any harm. Disabled the sound FX "garbage collection" in FxServer(). I'm not really convinced it's necessary at all, and even if it is, doing it from a separate thread it just begging for trouble. I've modified OpenFx() slightly to deal with this, but I may still have introduced regressions. Temporarily disabled the "goto label1" hack, since it seems to be the main reason for ScummVM crashing if I allow a piece of music to finish on its own (i.e. when not terminating it prematurely by triggering another piece of music). svn-id: r9990 | |||
2003-09-03 | Added FIXME comment about how we probably need locking for FxServer() and | Torbjörn Andersson | |
the functions which access data manipulated by FxServer(). For instance, FxServer() may free bufferFx[i], which sounds potentially unhealthy to me. svn-id: r9989 | |||
2003-09-03 | Removed fxLooped[], fxCached[] and musCounter[]. They were written to, but | Torbjörn Andersson | |
never read. svn-id: r9984 | |||
2003-09-03 | fixed music fading out. it's "goto" hack. | Paweł Kołodziejski | |
originaly dsound has 3 seconds buffer fillled with data enought for fading this hack continue play music for time while fading is going svn-id: r9983 | |||
2003-09-03 | more cleanup | Paweł Kołodziejski | |
svn-id: r9982 | |||
2003-09-03 | some cleanup code | Paweł Kołodziejski | |
svn-id: r9981 | |||
2003-09-03 | fixed interval of fxServer func (why i saw before 1000 miliseconds?), moved ↵ | Paweł Kołodziejski | |
init sound data to class sound svn-id: r9980 | |||
2003-09-02 | Unless I'm gravely mistaken, StreamCompMusic() should always create a new | Torbjörn Andersson | |
stream, in which case the warning about the sound handle being 0 is bogus. svn-id: r9973 | |||
2003-09-02 | Moved the sound initialisation to the Sword2Sound constructor to avoid | Torbjörn Andersson | |
warning messages about uninitialised sound handles. svn-id: r9972 | |||
2003-09-02 | Another untested endian fix. | Torbjörn Andersson | |
svn-id: r9971 | |||
2003-09-02 | Use the new per-channel pausing. This allows us to play the music for the | Torbjörn Andersson | |
in-game dialogs. svn-id: r9969 | |||
2003-09-02 | Since soundHandleMusic[] is now an array of sound handles instead of | Torbjörn Andersson | |
channel indexes, we should use stopHandle() instead of stop() to kill the music channel. Am I the only one who finds the distinction between channel indexes and sound handles confusing at times? :-) svn-id: r9967 | |||
2003-09-01 | added sound handle stuff to mixer streams | Paweł Kołodziejski | |
svn-id: r9956 | |||
2003-09-01 | possibly fixes for not exist id stream channel | Paweł Kołodziejski | |
svn-id: r9951 | |||
2003-09-01 | added warkaround for not exist music stream id at appendStream call | Paweł Kołodziejski | |
svn-id: r9950 | |||
2003-08-31 | added mixer features: volume and pan control per channel | Paweł Kołodziejski | |
svn-id: r9944 | |||
2003-08-31 | When a fading music channel is freed to make room for new music, or when a | Torbjörn Andersson | |
music channel has faded out, destroy the channel immediately. Don't wait for the mixer to finish it off. This seems to fix a problem where the mixer would eventually run out of slots if you left the Quit dialog showing for too long. Unfortunately I don't know if it fixes the "out of slots" errors I encountered once during normal play. Oh well, time will tell... svn-id: r9942 | |||
2003-08-31 | No longer assume that all sound effects are 22 kHz. Some are 11 kHz. | Torbjörn Andersson | |
svn-id: r9939 | |||
2003-08-31 | Cleaned up StreamCompMusic(), including some untested endian-fixes. | Torbjörn Andersson | |
This should also fix the bug where music sometimes didn't start playing. svn-id: r9938 | |||
2003-08-31 | fix compilation | Jonathan Gray | |
svn-id: r9934 | |||
2003-08-30 | BS2 crashed because it passed a buffer of uneven length to the mixer. This | Torbjörn Andersson | |
is the only place I can think of where this could have happened, so I've added a paranoid check to ensure the buffer length is even. Let's see how that works out... svn-id: r9933 | |||
2003-08-30 | fixed not cleared sound handle for music | Paweł Kołodziejski | |
svn-id: r9931 |