aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/video_surface.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-06-29 22:05:06 -0400
committerPaul Gilbert2016-07-15 19:26:02 -0400
commit8ea5d533294193a4d220316152cec59580bbf10c (patch)
tree82e567f58e70c7fce694bc18d8ce04969545df5b /engines/titanic/support/video_surface.h
parent5ccc0a66da38d23520234e7060efaf966d3345b9 (diff)
downloadscummvm-rg350-8ea5d533294193a4d220316152cec59580bbf10c.tar.gz
scummvm-rg350-8ea5d533294193a4d220316152cec59580bbf10c.tar.bz2
scummvm-rg350-8ea5d533294193a4d220316152cec59580bbf10c.zip
TITANIC: Added CGameObject saving, and movie range info methods
Diffstat (limited to 'engines/titanic/support/video_surface.h')
-rw-r--r--engines/titanic/support/video_surface.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/engines/titanic/support/video_surface.h b/engines/titanic/support/video_surface.h
index 2b66b269e7..e5d904f6d6 100644
--- a/engines/titanic/support/video_surface.h
+++ b/engines/titanic/support/video_surface.h
@@ -28,6 +28,7 @@
#include "titanic/support/font.h"
#include "titanic/support/direct_draw.h"
#include "titanic/support/movie.h"
+#include "titanic/support/movie_range_info.h"
#include "titanic/support/rect.h"
#include "titanic/core/list.h"
#include "titanic/core/resource_key.h"
@@ -166,7 +167,7 @@ public:
*/
virtual void playMovie(uint startFrame, uint endFrame, int v3, bool v4) = 0;
- virtual void proc35(const CString &name, int flags, CGameObject *owner) = 0;
+ virtual void proc35(int v1, int v2, int frameNumber, int flags, CGameObject *owner) = 0;
/**
* Stops any movie currently attached to the surface
@@ -183,6 +184,11 @@ public:
virtual void proc39(int v1, int v2) = 0;
/**
+ * Return any movie range info associated with the surface's movie
+ */
+ virtual const Common::List<CMovieRangeInfo *> getMovieRangeInfo() const = 0;
+
+ /**
* Loads the surface's resource if there's one pending
*/
virtual bool loadIfReady() = 0;
@@ -335,7 +341,7 @@ public:
*/
virtual void playMovie(uint startFrame, uint endFrame, int v3, bool v4);
- virtual void proc35(const CString &name, int flags, CGameObject *owner);
+ virtual void proc35(int v1, int v2, int frameNumber, int flags, CGameObject *owner);
/**
* Stops any movie currently attached to the surface
@@ -352,6 +358,11 @@ public:
virtual void proc39(int v1, int v2);
/**
+ * Return any movie range info associated with the surface's movie
+ */
+ virtual const Common::List<CMovieRangeInfo *> getMovieRangeInfo() const;
+
+ /**
* Loads the surface's resource if there's one pending
*/
virtual bool loadIfReady();