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, 16 insertions, 4 deletions
diff --git a/engines/access/video.h b/engines/access/video.h
index 7fa1ad2d27..20e5cfc10e 100644
--- a/engines/access/video.h
+++ b/engines/access/video.h
@@ -47,20 +47,32 @@ private:
int _frameCount;
int _xCount;
int _scanCount;
- int _vidFrame;
int _frameSize;
bool _videoEnd;
void getFrame();
-
- void playVideo();
+public:
+ int _videoFrame;
+ bool _soundFlag;
+ int _soundFrame;
public:
VideoPlayer(AccessEngine *vm);
~VideoPlayer();
+ /**
+ * Start up a video
+ */
void setVideo(ASurface *vidSurface, const Common::Point &pt, FileIdent &videoFile, int rate);
- void freeVideo();
+ /**
+ * Decodes a frame of the video
+ */
+ void playVideo();
+
+ /**
+ * Frees the data for a previously loaded video
+ */
+ void closeVideo();
};
} // End of namespace Access