aboutsummaryrefslogtreecommitdiff
path: root/graphics/module.mk
diff options
context:
space:
mode:
authorFilippos Karapetis2009-01-07 21:19:00 +0000
committerFilippos Karapetis2009-01-07 21:19:00 +0000
commit2772a7aaf13b83f8bdb5c27bd0b519127950de20 (patch)
treea451f67fafdf6641b601b281bf9088820f13e63e /graphics/module.mk
parent1395d3ba639ac543dc8f982aafb99781cdb4afbb (diff)
downloadscummvm-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 'graphics/module.mk')
-rw-r--r--graphics/module.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/module.mk b/graphics/module.mk
index ea755ac7bd..75aea2b7da 100644
--- a/graphics/module.mk
+++ b/graphics/module.mk
@@ -21,7 +21,8 @@ MODULE_OBJS := \
video/dxa_player.o \
video/flic_player.o \
video/mpeg_player.o \
- video/smk_player.o
+ video/smk_player.o \
+ video/video_player.o
ifndef DISABLE_SCALERS
MODULE_OBJS += \