aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/video
AgeCommit message (Collapse)Author
2017-09-03SCI32: Fix closing a Robot when its Plane has been destroyed alreadyColin Snover
This can happen during game restores in at least Lighthouse, which has a Robot on the menu screen whose plane is deleted prior to a call to kRestoreGame32 (which closes the Robot).
2017-08-04SCI32: Always initialize RobotDecoder::_syncFrameColin Snover
This flag previously was only being initialized in Robot files with audio. This means the flag was incorrectly carried to Robots without audio, and if the first Robot played by the game had no audio, it would be a garbage read. (This latter thing happens at the beginning of Lighthouse.)
2017-04-23SCI32: Remove unused code branchColin Snover
2017-04-23SCI32: Serialize Robots in SCI3Colin Snover
This is necessary for at least Lighthouse, which maintains the state of Robots across save games.
2017-04-22SCI32: Fix bad interpolation of Robot audio samplesColin Snover
Previously, this code was interpolating samples if the previous block had missing samples, instead of interpolating when samples are missing in the upcoming block of samples.
2017-04-22SCI32: Add and divide instead of performing two divisionsColin Snover
This should make things trivially faster, and matches more accurately how the original engine worked.
2017-01-11SCI32: Fix null references in Robot decoderColin Snover
Failing to reduce the size of the ScreenItem arrays causes other parts of the decoder (like RobotDecoder::getFrameSize) to try reading ScreenItems that were already destroyed and nulled out in the list. (In SSCI, the screen item count was held in a separate property instead of being part of the screen item list.)
2017-01-09SCI32: Enable playback of stereo audioColin Snover
2016-10-09SCI32: Clarify some identifiersColin Snover
transparentColor -> skipColor displace -> origin scaledWidth -> xResolution scaledHeight -> yResolution
2016-09-29SCI32: Clean up scaling flagsColin Snover
2016-08-25SCI32: Remove the warning about already opened robot filesFilippos Karapetis
This happens all the time in Phantasmagoria, with no ill side-effects
2016-08-22SCI32: Document the games that use Robot videosFilippos Karapetis
2016-08-19SCI32: Implement kRobotColin Snover
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-17SCI: Skip some still unsupported robot files in RAMAFilippos Karapetis
2013-08-03SCI: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03SCI: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-08-16VIDEO: Merge AdvancedVideoDecoder into VideoDecoderMatthew Hoops
2012-07-22SCI: Rewrite RobotDecoder to use the AdvancedVideoDecoder APIMatthew Hoops
2012-07-22VIDEO: Merge the three Fixed* VideoTrack classesMatthew Hoops
Avoids diamond inheritance, which makes it impossible to downcast without rtti
2012-07-21SCI: Switch SEQDecoder to using the new FixedDurationVideoTrack subclassMatthew Hoops
2012-07-21VIDEO: Add getWidth()/getHeight()/getPixelFormat() functions to VideoTrackMatthew Hoops
The default implementations of those functions in AdvancedVideoDecoder now call into them.
2012-07-20SCI: Move the SEQ code to the new VideoDecoder APIMatthew Hoops
2012-06-15SCI: Also skip a robot video in the Lighthouse demoFilippos Karapetis
2012-06-15SCI: Skip playing of the unsupported robot video 1003 in RAMAFilippos Karapetis
2012-05-28VIDEO: Add volume/balance control to VideoDecoderMatthew Hoops
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-17SCI: Prefer Surface::create taking a PixelFormat over the one taking a byte ↵Johannes Schickel
depth.
2011-02-24SCI: Fixed video playing in the PQ:SWAT demomd5
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-08SCI: Some work on robot videosFilippos Karapetis
- The size of the videos is now calculated when they are loaded (this helps remove some nasty hacks and constant memory reallocations and simplifies the code) - Some work on frame placement (e.g. in robot 1305, Phantasmagoria) svn-id: r55830
2011-02-08SCI: Fix Mac robot palettes againMatthew Hoops
My fix from r55796/r55797 was erroneously removed in r55801. svn-id: r55824
2011-02-07VIDEO: Rename VideoDecoder::load() to loadStream()Max Horn
svn-id: r55810
2011-02-07SCI: Unified the SEQ and robot palette code, and fixed the include safeguard ↵Filippos Karapetis
of the SEQ decoder svn-id: r55803
2011-02-07SCI: Converted the robot decoder into a regular video decoder, and decoupled ↵Filippos Karapetis
it from the SciEngine class - Robot videos are now shown in frameOut(), like they should, and kRobot(sync) is only used for syncing with the game scripts - Hooked video playing into the "play_video" console command svn-id: r55801
2011-01-23VIDEO: Move video classes to Video:: namespaceEugene Sandulenko
svn-id: r55479
2011-01-23GRAPHICS: Move graphics/video/ to video/. Step 1/2Eugene Sandulenko
svn-id: r55473
2010-12-16VIDEO: Make VideoDecoder::getPalette() return a const byte pointerMatthew Hoops
svn-id: r54928
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-08-08SCI: Remove the now useless Sci::VMDDecoder wrapperSven Hesse
svn-id: r51923
2010-08-04GRAPHICS: Change signature of VideoDecoder::load()Max Horn
Now takes a pointer to a stream, instead of a reference. The rational is that in all instances, callers have a pointer (and dereference it to call load), and all load implementations turn the reference back into a pointer. svn-id: r51725
2010-08-04SCI: Silence valgrind warning (thanks to syke for pointing out)Matthew Hoops
svn-id: r51717
2010-05-18Committing the rest of the VideoDecoder Rewrite from patch #2963496.Matthew Hoops
svn-id: r49079
2010-05-17Change VideoDecoder::getCurFrame() to mean the last frame drawn instead of ↵Matthew Hoops
the next frame to draw. This is patch 1 from patch #2963496 (VideoDecoder Rewrite). svn-id: r49063
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541