aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/videoplayer.cpp
AgeCommit message (Collapse)Author
2013-08-03GOB: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03GOB: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2012-06-07GOB: Add a way to reopen currently opened IMD/VMD videosSven Hesse
This is a workaround for how Lost in Time behaves in combination with changes I made to the DataIO code for running Urban Runner on low-memory devices. Urban Runner's intro are far to big to have them copied into memory for these devices, so I made the DataIO code return a SafeSeekableSubReadStream into the opened archive stream instead. Unfortunately, Lost in Time might not close a video file when it closes the data file which it was originally in, especially when loading a saved game. Since the video player needs to be able to gaplessly continue a video and there does not, by itself, close the video if not requested by the scripts, this leads to reading out of an already closed stream in certain cases. So, to worka round this issues, the video player tries to reopen each currently opened video after a data archive was closed, to make sure that that video is still available. If not, the video is closed.
2011-09-08GOB: Made some static data const.Johannes Schickel
2011-09-08JANITORIAL: Fix some formatting glitches in gob, hugo and toonStrangerke
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-17GOB: Do not access Surface::bytesPerPixel anymore.Johannes Schickel
2011-02-07VIDEO: Rename VideoDecoder::load() to loadStream()Max Horn
svn-id: r55810
2011-02-02GOB: Close the just ended live video, not the first oneSven Hesse
svn-id: r55734
2011-02-02GOB: Remove the vidMode parameter from Video::initSurfDescSven Hesse
svn-id: r55727
2011-01-29GOB: Remove unnecessary semicolonTorbjörn Andersson
svn-id: r55609
2011-01-24GOB: Wait for the exact moment of the video sound's endSven Hesse
This should fix all cut-off sound issues in Urban Runner svn-id: r55503
2011-01-23VIDEO: Move video classes to Video:: namespaceEugene Sandulenko
svn-id: r55479
2011-01-23GOB: Pass engine pause to the VideoPlayer and decodersSven Hesse
Entering the GMM or the debug console during a video will not mess up audio/video sync anymore. svn-id: r55466
2011-01-22GOB: Hacking in multiple live videosSven Hesse
Needed for Bambou. The narrator voice and the "Do you want to quit?" voices are live videos that should continue while the live video buttons are playing. svn-id: r55443
2011-01-22GOB: Extend the good-measure wait to all videos with soundSven Hesse
Fixes a glitch in Bambou, where the intro movie is cut off to soon. svn-id: r55432
2011-01-22GOB: Don't blit dirty rectangles while playing a live videoSven Hesse
This fixes the inventory list flickering in live videos :) svn-id: r55430
2011-01-22GOB: Force live videos onto the backSurfaceSven Hesse
Fixes some inventory list uglyness in live videos. It still flickers when mousing over it though, and keeps popping when mousing over the register during the hotel scene svn-id: r55429
2011-01-22GOB: Fix some of the live-video glitchynessSven Hesse
svn-id: r55421
2011-01-22GOB: Actually, startFrame == -2 seems to be the only live video flagSven Hesse
svn-id: r55418
2011-01-22GOB: Don't mess with the break key in Urban RunnerSven Hesse
To be able ESC videos, you need to switch on ESC in the settings in the right part of the menu, because the scripts needs to trigger the drawing of the last frame of the ESC'd video. Otherwise, the graphics e.g. stops mid-frame during a turn. svn-id: r55407
2011-01-20GOB: Implement looping live videosSven Hesse
Needed for the buttons in the Playtoons series svn-id: r55359
2011-01-20GOB: Don't temper with the break key for live videosSven Hesse
svn-id: r55355
2011-01-20GOB: Make blocking videos defaultSven Hesse
svn-id: r55354
2011-01-20GOB: Don't not play videos with only soundSven Hesse
svn-id: r55349
2011-01-20GOB: Reverse-blit the final frame of a live videoSven Hesse
Fixes some glitches at the end of live videos svn-id: r55347
2011-01-20GOB: Urban: Fix missing visuals at Cemetary/LabSven Hesse
Urban Runner decouples _frontSurface and _spritesArray[kFrontSurface] at that screen... *sigh* svn-id: r55346
2011-01-20GOB: Use Surface::blit() in VideoPlayer::copyFrame()Sven Hesse
svn-id: r55344
2011-01-20GOB: Make Urban Runner's "3D view" work againSven Hesse
svn-id: r55340
2011-01-19GOB: Implement "live" (non-blocking) videosSven Hesse
Many thanks to SylvainTV. :) Urban Runner might actually be completeable now. One caveat: Hotspots at that hotel sequence are a bit glitchy... svn-id: r55333
2011-01-17GOB: Fix the flow rate gauge in Urban RunnerSven Hesse
svn-id: r55275
2011-01-16GOB: Don't clobber the global paletteSven Hesse
svn-id: r55270
2011-01-16GOB: Allow true-color VMD cursorsSven Hesse
svn-id: r55264
2011-01-16GOB: Add the property switchColorModeSven Hesse
To allow the videoplayer (and ultimatively the demoplayer) to switch color modes if necessary. svn-id: r55262
2010-12-16VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointerMatthew Hoops
svn-id: r54927
2010-11-19ALL: Push down deps on stream.h from .h to .cpp filesMax Horn
svn-id: r54358
2010-10-31GOB: Clean up class DataIOSven Hesse
Removing the need for class DataStream and that handle mess. svn-id: r53984
2010-10-15GOB: Remove the now useless helper.hSven Hesse
svn-id: r53491
2010-09-30GOB: Change all drawing to use class SurfaceSven Hesse
svn-id: r52947
2010-08-08VIDEO: Use proper palettes in CoktelDecoderSven Hesse
Not just the 6 bits per color component used in VGA svn-id: r51921
2010-08-08VIDEO: Change the mixer parameter from a reference to a pointerSven Hesse
To match the other VideoDecoder classes with sound support. svn-id: r51919
2010-08-08GOB: Reactivate the Coh-Cott-workaroundSven Hesse
svn-id: r51918
2010-08-08GOB: Handle VMD subtitles againSven Hesse
svn-id: r51916
2010-08-08GOB: Partly fixing VMD slot playingSven Hesse
svn-id: r51913
2010-08-08GOB: Fix playing of slot videosSven Hesse
The actual frame content is still not there, though :P svn-id: r51911
2010-08-08GOB: Fix playing of sound VMDs with a starting frame != 0Sven Hesse
svn-id: r51910
2010-08-08VIDEO/GOB: Implement and use CoktelDecoder::getFrameCoords()Sven Hesse
svn-id: r51909
2010-08-08VIDEO: Fix compilation after the VideoDecoder::load signature change in r51725Sven Hesse
svn-id: r51900
2010-08-08VIDEO/GOB: Stubb VMDDecoderSven Hesse
svn-id: r51896
2010-08-08GOB: Adapt the remaining bits to the new VideoPlayer interfaceSven Hesse
svn-id: r51895