diff options
author | Paul Gilbert | 2016-04-08 23:01:02 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-04-08 23:01:02 -0400 |
commit | 09a3ca07287b77d4abd5713b6c34548ebd8b84a8 (patch) | |
tree | a1296a53ed0079d4542464a80e3b496e9b3002fe /engines/titanic/support/video_surface.h | |
parent | e3d02532f7a64f194a802e29abef4b03eb6395b4 (diff) | |
download | scummvm-rg350-09a3ca07287b77d4abd5713b6c34548ebd8b84a8.tar.gz scummvm-rg350-09a3ca07287b77d4abd5713b6c34548ebd8b84a8.tar.bz2 scummvm-rg350-09a3ca07287b77d4abd5713b6c34548ebd8b84a8.zip |
TITANIC: Implement movie loading
Diffstat (limited to 'engines/titanic/support/video_surface.h')
-rw-r--r-- | engines/titanic/support/video_surface.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/engines/titanic/support/video_surface.h b/engines/titanic/support/video_surface.h index d39dea627b..335215d1df 100644 --- a/engines/titanic/support/video_surface.h +++ b/engines/titanic/support/video_surface.h @@ -93,9 +93,11 @@ public: virtual void loadJPEG(const CResourceKey &key) = 0; /** - * Loads a movie file specified by the resource key + * Loads a movie file specified by the resource key. + * @param key Resource key for movie to load + * @param destroyFlag Immediately destroy movie after decoding first frame */ - virtual void loadMovie() = 0; + virtual void loadMovie(const CResourceKey &key, bool destroyFlag = false) = 0; /** * Lock the surface for direct access to the pixels @@ -241,9 +243,11 @@ public: virtual void loadJPEG(const CResourceKey &key); /** - * Loads a movie file specified by the resource key + * Loads a movie file specified by the resource key. + * @param key Resource key for movie to load + * @param destroyFlag Immediately destroy movie after decoding first frame */ - virtual void loadMovie(); + virtual void loadMovie(const CResourceKey &key, bool destroyFlag = false); /** * Lock the surface for direct access to the pixels |