aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/movie.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/support/movie.h')
-rw-r--r--engines/titanic/support/movie.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/engines/titanic/support/movie.h b/engines/titanic/support/movie.h
index acc647065f..caeba65584 100644
--- a/engines/titanic/support/movie.h
+++ b/engines/titanic/support/movie.h
@@ -90,6 +90,14 @@ public:
virtual void playCutscene(const Rect &drawRect, uint startFrame, uint endFrame) = 0;
/**
+ * Pauses a movie
+ * @remarks Acts a workaround for our video decoder, since some movies started
+ * as part of a scene load need to be paused until the scene is interactive,
+ * or else they get played back too quickly
+ */
+ virtual void pause() = 0;
+
+ /**
* Stops the movie
*/
virtual void stop() = 0;
@@ -189,6 +197,14 @@ public:
virtual void playCutscene(const Rect &drawRect, uint startFrame, uint endFrame);
/**
+ * Pauses a movie
+ * @remarks Acts a workaround for our video decoder, since some movies started
+ * as part of a scene load need to be paused until the scene is interactive,
+ * or else they get played back too quickly
+ */
+ virtual void pause();
+
+ /**
* Stops the movie
*/
virtual void stop();