aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/zvision.h
diff options
context:
space:
mode:
authorrichiesams2013-07-08 16:08:16 -0500
committerrichiesams2013-08-04 13:32:08 -0500
commit76b2aa33ca129b1c7a626f1a043e5d828e72af57 (patch)
treeef6ecb4d84690b1424823a4e4c3a79265e03087e /engines/zvision/zvision.h
parentafbcca2187c7a07e6e0853bd0befdc1e9a67dce2 (diff)
downloadscummvm-rg350-76b2aa33ca129b1c7a626f1a043e5d828e72af57.tar.gz
scummvm-rg350-76b2aa33ca129b1c7a626f1a043e5d828e72af57.tar.bz2
scummvm-rg350-76b2aa33ca129b1c7a626f1a043e5d828e72af57.zip
ZVISION: Create/refactor methods for playing video.
The pixel format for videos is not the same as for the rest of the game. (Game: RGB 555, Video: RGB 565)
Diffstat (limited to 'engines/zvision/zvision.h')
-rw-r--r--engines/zvision/zvision.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/zvision/zvision.h b/engines/zvision/zvision.h
index d18319a056..ffda12ac1a 100644
--- a/engines/zvision/zvision.h
+++ b/engines/zvision/zvision.h
@@ -27,6 +27,8 @@
#include "common/random.h"
#include "common/events.h"
+#include "video/video_decoder.h"
+
#include "engines/engine.h"
#include "zvision/script_manager.h"
@@ -67,6 +69,7 @@ private:
bool _needsScreenUpdate;
+ Video::VideoDecoder *_currentVideo;
public:
uint32 getFeatures() const;
Common::Language getLanguage() const;
@@ -74,6 +77,8 @@ public:
ScriptManager *getScriptManager() const;
Common::RandomSource *getRandomSource() const;
void renderImageToScreen(const Common::String &fileName, uint32 x, uint32 y);
+ void startVideo(Video::VideoDecoder *videoDecoder);
+ void continueVideo();
private:
void initialize();