aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/introproc_fta2.cpp
AgeCommit message (Collapse)Author
2009-01-11Committed a modified version of wjp's patch for the video player:Filippos Karapetis
- Split the video player from the video decoders. It's now possible to have one video player for multiple decoders - Added the palette weight calculation from the BS1 engine into VideoPlayer::setPalette. It's now possible to find the values of the white and black colors via getWhite() and getBlack() (useful for subtitle overlays) - Adapted FTA2's movie playing code to the new changes to video player - Fixed a slight bug in the DXA decoder (_videoinfo.startTime was not initialized) svn-id: r35816
2009-01-07Further merging of the SMK and DXA players (the FLIC player is not done yet):Filippos Karapetis
- Added a new class, VideoPlayer(), from which both the SMK and the DXA player inherit. This class provides generic functions and public methods for the inherited video classes. Default implementations have been made for these public methods, and the virtual ones can be overriden in inherited classes - There is now a default implementation of the function that sets the video palette - A basic video player for inherited classes has been added with method playVideo(). This is able to play a fullscreen non-interactive video, which can be skipped with events set by the caller. Postprocessing methods, which draw upon each frame (e.g. subtitles) can be done by implementing performPostProcessing() - The FTA2 movie player now uses the new playVideo() method - The new video player code is compatible with the old one (i.e. no changes to the existing engine code are necessary), but it's now possible to reduce engine code for video playing considerably svn-id: r35772
2009-01-06Cleanup, and follow code formatting convention (indentation) for switch ↵Filippos Karapetis
statements svn-id: r35754
2009-01-03TypoFilippos Karapetis
svn-id: r35705
2009-01-03Simplified the Smacker video playing code for FTA2Filippos Karapetis
svn-id: r35704
2009-01-02- Split the IHNM script functions into a different fileFilippos Karapetis
- Added two new defines, ENABLE_IHNM and ENABLE_SAGA2 (enabled by default), which can be used to remove the parts of the SAGA engine which are specific to IHNM and SAGA 2 games. Hopefully, this will reduce the size of the engine even more for platforms with little memory (e.g. the Nintendo DS) svn-id: r35672
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-22logicalWidth -> widthFilippos Karapetis
logicalHeight -> height svn-id: r35488
2008-12-22Correct comment.Travis Howell
svn-id: r35483
2008-12-22Added Smacker support for the introduction and ending videos of FTA2Filippos Karapetis
svn-id: r35482
2008-12-21Added some more stubs for FTA2Filippos Karapetis
svn-id: r35475