diff options
author | Paul Gilbert | 2016-06-29 22:05:06 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:26:02 -0400 |
commit | 8ea5d533294193a4d220316152cec59580bbf10c (patch) | |
tree | 82e567f58e70c7fce694bc18d8ce04969545df5b /engines/titanic/support/movie.h | |
parent | 5ccc0a66da38d23520234e7060efaf966d3345b9 (diff) | |
download | scummvm-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/movie.h')
-rw-r--r-- | engines/titanic/support/movie.h | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/engines/titanic/support/movie.h b/engines/titanic/support/movie.h index da3285547d..2d7bdc9c6d 100644 --- a/engines/titanic/support/movie.h +++ b/engines/titanic/support/movie.h @@ -23,9 +23,11 @@ #ifndef TITANIC_MOVIE_H #define TITANIC_MOVIE_H +#include "common/list.h" #include "video/video_decoder.h" #include "titanic/core/list.h" #include "titanic/core/resource_key.h" +#include "titanic/support/movie_range_info.h" namespace Titanic { @@ -72,7 +74,7 @@ public: virtual void playClip(const Rect &rect, uint startFrame, uint endFrame) = 0; virtual void proc11() = 0; - virtual void proc12(const CString &name, int flags, CGameObject *obj) = 0; + virtual void proc12(int v1, int v2, int frameNumber, int flags, CGameObject *obj) = 0; /** * Stops the movie @@ -82,7 +84,12 @@ public: virtual void proc14() = 0; virtual void setFrame(uint frameNumber) = 0; virtual void proc16() = 0; - virtual void proc17() = 0; + + /** + * Return any movie range info associated with the movie + */ + virtual const Common::List<CMovieRangeInfo *> getMovieRangeInfo() const = 0; + virtual void proc18() = 0; /** @@ -139,7 +146,7 @@ public: virtual void playClip(const Rect &rect, uint startFrame, uint endFrame); virtual void proc11(); - virtual void proc12(const CString &name, int flags, CGameObject *obj); + virtual void proc12(int v1, int v2, int frameNumber, int flags, CGameObject *obj); /** * Stops the movie @@ -154,7 +161,12 @@ public: virtual void setFrame(uint frameNumber); virtual void proc16(); - virtual void proc17(); + + /** + * Return any movie range info associated with the movie + */ + virtual const Common::List<CMovieRangeInfo *> getMovieRangeInfo() const; + virtual void proc18(); /** |