aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/movie.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-10 15:39:20 -0400
committerPaul Gilbert2016-07-10 16:10:51 -0400
commit91336a86115f600e626c333441aa1369b435ab92 (patch)
tree78b9b7ebb30f8992c1dc621a6b5cb3e0592f7df7 /engines/titanic/support/movie.h
parent8e5f7a9453deff3436fc937292a0ff825acd7454 (diff)
downloadscummvm-rg350-91336a86115f600e626c333441aa1369b435ab92.tar.gz
scummvm-rg350-91336a86115f600e626c333441aa1369b435ab92.tar.bz2
scummvm-rg350-91336a86115f600e626c333441aa1369b435ab92.zip
TITANIC: Implement playing a range of frames within movie
Diffstat (limited to 'engines/titanic/support/movie.h')
-rw-r--r--engines/titanic/support/movie.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/titanic/support/movie.h b/engines/titanic/support/movie.h
index d88c7b0be9..a871af6fc7 100644
--- a/engines/titanic/support/movie.h
+++ b/engines/titanic/support/movie.h
@@ -52,12 +52,12 @@ public:
/**
* Plays the movie
*/
- virtual void play(int v1, CVideoSurface *surface) = 0;
+ virtual void play(uint flags, CVideoSurface *surface) = 0;
/**
* Plays the movie
*/
- virtual void play(int v1, int v2, int v3, bool v4) = 0;
+ virtual void play(uint startFrame, uint endFrame, int v3, bool v4) = 0;
virtual void proc10() = 0;
virtual void proc11() = 0;
@@ -89,6 +89,7 @@ class OSMovie : public CMovie {
private:
Video::VideoDecoder *_video;
CVideoSurface *_videoSurface;
+ int _endFrame;
/**
* Decodes the next frame
@@ -104,12 +105,12 @@ public:
/**
* Plays the movie
*/
- virtual void play(int v1, CVideoSurface *surface);
+ virtual void play(uint flags, CVideoSurface *surface);
/**
* Plays the movie
*/
- virtual void play(int v1, int v2, int v3, bool v4);
+ virtual void play(uint startFrame, uint endFrame, int v3, bool v4);
virtual void proc10();
virtual void proc11();