aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/avi_surface.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-07-23 13:15:24 -0400
committerPaul Gilbert2016-07-23 13:15:24 -0400
commit9e02409ef4ece6b3184c1d745106e87f3169e6ca (patch)
tree4e500cf9c0823f1d6e969dc63a15cda7479521b4 /engines/titanic/support/avi_surface.h
parent382ba52e332a02a49343c1ba1c2aed80dfcd5c87 (diff)
downloadscummvm-rg350-9e02409ef4ece6b3184c1d745106e87f3169e6ca.tar.gz
scummvm-rg350-9e02409ef4ece6b3184c1d745106e87f3169e6ca.tar.bz2
scummvm-rg350-9e02409ef4ece6b3184c1d745106e87f3169e6ca.zip
TITANIC: Clarification and fixes for movie reverse and repeat flags
Diffstat (limited to 'engines/titanic/support/avi_surface.h')
-rw-r--r--engines/titanic/support/avi_surface.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/titanic/support/avi_surface.h b/engines/titanic/support/avi_surface.h
index 4372757bc6..77186edeb4 100644
--- a/engines/titanic/support/avi_surface.h
+++ b/engines/titanic/support/avi_surface.h
@@ -34,7 +34,7 @@ class CSoundManager;
class CVideoSurface;
enum MovieFlag {
- MOVIE_1 = 1, MOVIE_STOP_PREVIOUS = 2, MOVIE_NO_OBJECT = 4,
+ MOVIE_REPEAT = 1, MOVIE_STOP_PREVIOUS = 2, MOVIE_NO_OBJECT = 4,
MOVIE_REVERSE = 8, MOVIE_GAMESTATE = 0x10
};
@@ -69,7 +69,12 @@ protected:
/**
* Start playback at the specified frame
*/
- virtual bool startAtFrame(int frameNumber);
+ bool startAtFrame(int frameNumber);
+
+ /**
+ * Sets whether the movie is playing in reverse
+ */
+ void setReversed(bool isReversed);
/**
* Seeks to a given frame number in the video