diff options
author | Filippos Karapetis | 2009-01-06 17:44:41 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-01-06 17:44:41 +0000 |
commit | a930f402727940bb5778980d031b6cc66263f3a0 (patch) | |
tree | 170f30e81c7a6ed69627c7ecd906f9d57a19ff10 /graphics/video/smk_player.h | |
parent | fa1d881ad44a515e57b87ba27b325d1eeb4a750b (diff) | |
download | scummvm-rg350-a930f402727940bb5778980d031b6cc66263f3a0.tar.gz scummvm-rg350-a930f402727940bb5778980d031b6cc66263f3a0.tar.bz2 scummvm-rg350-a930f402727940bb5778980d031b6cc66263f3a0.zip |
An attempt to unify the different video players (FLIC player is not finished yet) - step 1
svn-id: r35757
Diffstat (limited to 'graphics/video/smk_player.h')
-rw-r--r-- | graphics/video/smk_player.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/graphics/video/smk_player.h b/graphics/video/smk_player.h index 62db02edd9..93f4457f2b 100644 --- a/graphics/video/smk_player.h +++ b/graphics/video/smk_player.h @@ -108,6 +108,11 @@ public: */ void closeFile(); + /** + * Returns if a video file is loaded or not + */ + bool videoIsLoaded() { return (_fileStream != NULL); } + protected: /** * Set RGB palette, based on current frame @@ -130,10 +135,6 @@ protected: */ bool decodeNextFrame(); - Common::SeekableReadStream *_fileStream; - - byte *_image; - private: void unpackPalette(); // Possible runs of blocks @@ -188,6 +189,9 @@ private: BigHuffmanTree *_MClrTree; BigHuffmanTree *_FullTree; BigHuffmanTree *_TypeTree; + + Common::SeekableReadStream *_fileStream; + byte *_videoFrameBuffer; }; } // End of namespace Graphics |