aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/video_surface.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-07-10 11:36:04 -0400
committerPaul Gilbert2016-07-15 19:27:40 -0400
commitfd954a8e0b41370ae68f3b409295676de207313d (patch)
tree4a31e192231af9e4fa6eba44072e1e70ad7b98ab /engines/titanic/support/video_surface.h
parent6c56d5aa11db1401bc0a2277776ec43128174bc2 (diff)
downloadscummvm-rg350-fd954a8e0b41370ae68f3b409295676de207313d.tar.gz
scummvm-rg350-fd954a8e0b41370ae68f3b409295676de207313d.tar.bz2
scummvm-rg350-fd954a8e0b41370ae68f3b409295676de207313d.zip
TITANIC: Added OSVideoSurface flipVertically
Diffstat (limited to 'engines/titanic/support/video_surface.h')
-rw-r--r--engines/titanic/support/video_surface.h31
1 files changed, 29 insertions, 2 deletions
diff --git a/engines/titanic/support/video_surface.h b/engines/titanic/support/video_surface.h
index 3521be6336..c8cfb78cd4 100644
--- a/engines/titanic/support/video_surface.h
+++ b/engines/titanic/support/video_surface.h
@@ -224,7 +224,10 @@ public:
*/
virtual void addMovieEvent(int eventId, CGameObject *obj) = 0;
- virtual void proc39(int v1, int v2) = 0;
+ /**
+ * Set the movie frame rate
+ */
+ virtual void setMovieFrameRate(double rate) = 0;
/**
* Return any movie range info associated with the surface's movie
@@ -232,6 +235,11 @@ public:
virtual const CMovieRangeInfoList *getMovieRangeInfo() const = 0;
/**
+ *
+ */
+ virtual void flipVertically(bool needsLock = true) = 0;
+
+ /**
* Loads the surface's resource if there's one pending
*/
virtual bool loadIfReady() = 0;
@@ -250,6 +258,11 @@ public:
virtual bool proc45();
/**
+ * Duplicates movie frame info
+ */
+ virtual void *dupMovieFrameInfo() const = 0;
+
+ /**
* Frees the underlying surface
*/
virtual int freeSurface() { return 0; }
@@ -452,7 +465,10 @@ public:
*/
virtual void addMovieEvent(int frameNumber, CGameObject *obj);
- virtual void proc39(int v1, int v2);
+ /**
+ * Set the movie frame rate
+ */
+ virtual void setMovieFrameRate(double rate);
/**
* Return any movie range info associated with the surface's movie
@@ -460,6 +476,11 @@ public:
virtual const CMovieRangeInfoList *getMovieRangeInfo() const;
/**
+ *
+ */
+ virtual void flipVertically(bool needsLock = true);
+
+ /**
* Loads the surface's resource if there's one pending
*/
virtual bool loadIfReady();
@@ -476,6 +497,12 @@ public:
virtual void transPixelate();
/**
+ * Duplicates movie frame info
+ */
+ virtual void *dupMovieFrameInfo() const;
+
+
+ /**
* Frees the underlying surface
*/
virtual int freeSurface();