aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/avi_surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/support/avi_surface.h')
-rw-r--r--engines/titanic/support/avi_surface.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/titanic/support/avi_surface.h b/engines/titanic/support/avi_surface.h
index 77186edeb4..53e2aae6fc 100644
--- a/engines/titanic/support/avi_surface.h
+++ b/engines/titanic/support/avi_surface.h
@@ -55,6 +55,8 @@ private:
CMovieRangeInfoList _movieRangeInfo;
int _streamCount;
Graphics::ManagedSurface *_movieFrameSurface[2];
+ bool _isReversed;
+ int _currentFrame;
private:
/**
* Render a frame to the video surface
@@ -141,7 +143,7 @@ public:
/**
* Gets the current frame
*/
- int getFrame() const;
+ int getFrame() const { return _currentFrame; }
/**
* Add a movie event
@@ -171,9 +173,9 @@ public:
Graphics::ManagedSurface *duplicateSecondaryFrame() const;
/**
- * Returns true if a frame is ready to be rendered
+ * Returns true if it's time for the next
*/
- bool isFrameReady() const;
+ bool isNextFrame() const;
};
} // End of namespace Titanic