diff options
author | Filippos Karapetis | 2009-01-07 21:19:00 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-01-07 21:19:00 +0000 |
commit | 2772a7aaf13b83f8bdb5c27bd0b519127950de20 (patch) | |
tree | a451f67fafdf6641b601b281bf9088820f13e63e /engines/cruise/cruise_main.h | |
parent | 1395d3ba639ac543dc8f982aafb99781cdb4afbb (diff) | |
download | scummvm-rg350-2772a7aaf13b83f8bdb5c27bd0b519127950de20.tar.gz scummvm-rg350-2772a7aaf13b83f8bdb5c27bd0b519127950de20.tar.bz2 scummvm-rg350-2772a7aaf13b83f8bdb5c27bd0b519127950de20.zip |
Further merging of the SMK and DXA players (the FLIC player is not done yet):
- 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
Diffstat (limited to 'engines/cruise/cruise_main.h')
0 files changed, 0 insertions, 0 deletions