diff options
author | Paul Gilbert | 2016-07-03 17:43:37 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:27:13 -0400 |
commit | fb06cb4dde4d612289ea1b5830f8cd1c9e1bedfc (patch) | |
tree | 0ce71b408ad206b4fb2bcaa75b2faac73d6756a0 /engines/titanic/support/movie.h | |
parent | 3f12927b77735c17eedfbe14f36607ddc6580c83 (diff) | |
download | scummvm-rg350-fb06cb4dde4d612289ea1b5830f8cd1c9e1bedfc.tar.gz scummvm-rg350-fb06cb4dde4d612289ea1b5830f8cd1c9e1bedfc.tar.bz2 scummvm-rg350-fb06cb4dde4d612289ea1b5830f8cd1c9e1bedfc.zip |
TITANIC: Added CMovieManager class
Diffstat (limited to 'engines/titanic/support/movie.h')
-rw-r--r-- | engines/titanic/support/movie.h | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/engines/titanic/support/movie.h b/engines/titanic/support/movie.h index 2d7bdc9c6d..fbbfebc845 100644 --- a/engines/titanic/support/movie.h +++ b/engines/titanic/support/movie.h @@ -47,9 +47,31 @@ class CMovie : public ListItem { protected: MovieState _state; int _field10; +protected: + /** + * Adds the movie to the active movies list + */ + void addToActiveMovies(); + + /** + * Removes the movie from the active movies list + */ + void removeFromActiveMovies(); public: int _field14; public: + static CMovieList *_activeMovies; + + /** + * Initializes statics + */ + static void init(); + + /** + * Deinitializes statics + */ + static void deinit(); +public: CMovie(); virtual ~CMovie(); @@ -90,7 +112,7 @@ public: */ virtual const Common::List<CMovieRangeInfo *> getMovieRangeInfo() const = 0; - virtual void proc18() = 0; + virtual void proc18(int v) = 0; /** * Get the current movie frame @@ -167,7 +189,7 @@ public: */ virtual const Common::List<CMovieRangeInfo *> getMovieRangeInfo() const; - virtual void proc18(); + virtual void proc18(int v); /** * Get the current movie frame |