aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/smush/smush_player.cpp
AgeCommit message (Collapse)Author
2007-02-28Changed the AppendableAudioStream code to use a queue of buffers, instead of ↵Max Horn
a fixed size wrap-around memory buffer (this reduces memory usage in some cases by 500-700k, while actually being more flexible) svn-id: r25909
2007-02-25Another Ogg > MP3 consistency reordering, this time in the SMUSH code; also ↵Max Horn
changed it to use the new compressed audio stream factories svn-id: r25843
2007-02-17cleanupGregory Montoir
svn-id: r25646
2007-02-15Clear _pauseTime in seekSan(). Hopefully, this will fix the problem withTorbjörn Andersson
pausing during the bike fight scenes in Full Throttle that was reported on the forum earlier today. svn-id: r25609
2007-02-03removed unneeded/unnecessary variables and made SmushFont table private (to ↵Gregory Montoir
ensure getFont() get called to access them) svn-id: r25352
2007-01-31reset _IACTpos when _IACTchannel is stopped (fixes memory overwrites in ↵Gregory Montoir
handleIACT during smush playback at the end of CMI demo) svn-id: r25296
2007-01-30got rid of codec37/codec47 init/deinit methods, cleanupGregory Montoir
svn-id: r25295
2007-01-30added deinitialisation of codecs at the end of smush playback. This allows ↵Gregory Montoir
to save a bit of memory (about 1Mb for CMI) during gameplay. svn-id: r25287
2007-01-27cleanup (made NutRenderer::loadFont protected, added call during ↵Gregory Montoir
initialisation of the renderer object) svn-id: r25223
2007-01-27Applied my own patch #1640913 ("Loading NUT fonts on demand"), after discussingTorbjörn Andersson
it with Fingolfin. svn-id: r25221
2007-01-21Applied my own patch #1635584 (after discussing with Fingolfin) to reduce theTorbjörn Andersson
memory usage and number of allocations made by the NUT font renderer. svn-id: r25155
2007-01-18Hopefully fixed the SAN seeking (used by Full Throttle's bike fighting) that ITorbjörn Andersson
accidentally broke when removing the timer callback from the SMUSH player. svn-id: r25120
2006-11-13Patch from bug #1584888 (SMUSH: Too dependent on accurate timers). Watch out ↵Max Horn
for regressions in SMUSH movie playback / syncing svn-id: r24709
2006-10-28SCUMM: Take advantage of the fact that Chunk now is a ReadStream subclassMax Horn
svn-id: r24546
2006-10-28SCUMM: Changed class Chunk (and subclasses) to inherit from ↵Max Horn
Common::SeekableReadStream svn-id: r24544
2006-10-28SCUMM: Got rid of smush/chunk_type.hMax Horn
svn-id: r24543
2006-10-27SCUMM: Unified some SMUSH audio channel codeMax Horn
svn-id: r24536
2006-10-25cleanupMax Horn
svn-id: r24514
2006-10-22Backend modularization: Create timer manager, savefile manager and audio ↵Max Horn
mixer in the backends for increased flexibility svn-id: r24443
2006-10-15Replaced Chunk::ChunkString by tag2strMax Horn
svn-id: r24325
2006-10-10now SmushPlayer is class created once same as SmushMixer while scumm engine ↵Paweł Kołodziejski
creation. this allow finish play smush audio track finished to the end instead immediately stopped as it was happen before svn-id: r24263
2006-10-08removed not needed anymore time measures in smush codePaweł Kołodziejski
svn-id: r24226
2006-10-08re-add missing break; removed by mistakePaweł Kołodziejski
svn-id: r24225
2006-10-08remove handleSkip code, SKIP chunk is only used by INSANE code and exist ↵Paweł Kołodziejski
only in 4 SAN files: minedriv, toranch, tovista1, tovista2 svn-id: r24221
2006-10-08small unify handleIACT functionPaweł Kołodziejski
svn-id: r24214
2006-10-07Removed 'smushMode' param from processInput and processKeyboard in favor of ↵Max Horn
a new member _smushActive of ScummEngine_v7 svn-id: r24175
2006-10-07Moved all INSANE and SMUSH related code into ScummEngine_v7 (resp. ↵Max Horn
ScummEngine_v6 in a few cases) svn-id: r24169
2006-10-07Renemaed ScummEngine::processKbd to processInput (as it also deals with the ↵Max Horn
mouse) svn-id: r24164
2006-09-23Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle ↵Max Horn
the linker dependency graph). Porters will have to update project files svn-id: r23974
2006-09-21Fix bug #1550974: "SMUSH: changing subtitle settings during SMUSH doesn't work"Eugene Sandulenko
svn-id: r23965
2006-09-17Changed ScummEngine::gdi to _gdi and allocate the Gdi object on the heap ↵Max Horn
(i.e. _gdi is a pointer now) svn-id: r23921
2006-07-14More whitespace changes.Torbjörn Andersson
svn-id: r23496
2006-06-21Add cyx's patch for bug #1035739 - SCUMM/SMUSH: Ugly palette change when ↵Travis Howell
video finishes svn-id: r23216
2006-06-17Fixed Smushplayer for Symbian OS.__SYMBIAN32__ was defined as __SYMBIA32__.Lars Persson
svn-id: r23157
2006-05-28increase buffer for comi smush audio track, that fixes bug #1479721Paweł Kołodziejski
svn-id: r22702
2006-05-25Set and show/hide mouse cursors through a "cursor manager" (analogous to theTorbjörn Andersson
recently added (cursor) palette manager) so that the cursor can be properly restored after returning from the GUI. If there's any C++ magic that can keep the backend functions from being called by anything else than these managing classes, that would probably be a good idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps there are at least some backends that will no longer need to? svn-id: r22639
2006-05-18Added player for the Kyra 3 VQA cutscenes, based on my earlier prototype. ItTorbjörn Andersson
could use some cleanup, and there are a couple of TODOs sprinkled throughout the code, but it seems to work reasonably well. Until the Kyra 3 main menu is implemented, it won't actually be used though. It uses the appendable audio stream class, which I have moved out of the SCUMM engine. svn-id: r22526
2006-04-29Moved the AudioCDManager as well as class AudioStream and its (standard) ↵Max Horn
subclasses to namespace Audio svn-id: r22231
2006-03-15Fixed typo in debug message.Torbjörn Andersson
svn-id: r21317
2006-03-05that was not what I want. it should stop audio only for immediately stop.Paweł Kołodziejski
svn-id: r21095
2006-03-05that should help for bug #1352486, smush sound tracks are not stopped ↵Paweł Kołodziejski
immediately, but outside smush when sound data are depleted in sound mixer buffer. svn-id: r21094
2006-03-03Moved ScummFile etc. to the new file.cpp / file.hMax Horn
svn-id: r21038
2006-03-01Fix for Symbian to close an open file in the right threadLars Persson
svn-id: r20996
2006-02-22Fix bug #1386333: "FT DEMO: assertion triggered when playing movie".Eugene Sandulenko
svn-id: r20812
2006-02-20Moved iMUSE code to the new directory engines/scumm/imuse/Max Horn
svn-id: r20801
2006-02-20Replaced _gameId, _version, _heversion, _features, _midi, _platform with a ↵Max Horn
simple ScummGameSettings instance: _game svn-id: r20795
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582