aboutsummaryrefslogtreecommitdiff
path: root/engines/access/video.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/access/video.h')
-rw-r--r--engines/access/video.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/engines/access/video.h b/engines/access/video.h
index a87c90ccb8..7fa1ad2d27 100644
--- a/engines/access/video.h
+++ b/engines/access/video.h
@@ -31,13 +31,29 @@
namespace Access {
+enum VideoFlags { VIDEOFLAG_NONE = 0, VIDEOFLAG_BG = 1 };
+
class VideoPlayer: public Manager {
+ struct VideoHeader {
+ int _frameCount;
+ int _width, _height;
+ VideoFlags _flags;
+ };
private:
ASurface *_vidSurface;
Resource *_videoData;
+ VideoHeader _header;
+ byte *_startCoord;
int _frameCount;
- int _width, _height;
- int _flags;
+ int _xCount;
+ int _scanCount;
+ int _vidFrame;
+ int _frameSize;
+ bool _videoEnd;
+
+ void getFrame();
+
+ void playVideo();
public:
VideoPlayer(AccessEngine *vm);
~VideoPlayer();