diff options
author | Travis Howell | 2009-05-16 05:34:16 +0000 |
---|---|---|
committer | Travis Howell | 2009-05-16 05:34:16 +0000 |
commit | bce47e7eb68d62476fd2fcd6cc4ec1bf33618d51 (patch) | |
tree | 2acd4be22f7831560177835c0ca2397b6de9d5d7 /graphics | |
parent | e994b94c814ece7285228598c408b9939e2d3398 (diff) | |
download | scummvm-rg350-bce47e7eb68d62476fd2fcd6cc4ec1bf33618d51.tar.gz scummvm-rg350-bce47e7eb68d62476fd2fcd6cc4ec1bf33618d51.tar.bz2 scummvm-rg350-bce47e7eb68d62476fd2fcd6cc4ec1bf33618d51.zip |
Add initial support for DOS non-interactive demos of The Feeble Files.
svn-id: r40619
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/video/dxa_player.cpp | 2 | ||||
-rw-r--r-- | graphics/video/smk_player.cpp | 2 | ||||
-rw-r--r-- | graphics/video/video_player.h | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/graphics/video/dxa_player.cpp b/graphics/video/dxa_player.cpp index d297e58727..d7fd970e26 100644 --- a/graphics/video/dxa_player.cpp +++ b/graphics/video/dxa_player.cpp @@ -157,6 +157,8 @@ bool DXADecoder::loadFile(const char *fileName) { #endif _videoInfo.currentFrame = 0; + _videoInfo.frameOffs = _fileStream->pos(); + return true; } diff --git a/graphics/video/smk_player.cpp b/graphics/video/smk_player.cpp index 16d5c9f73d..4b5a502ec4 100644 --- a/graphics/video/smk_player.cpp +++ b/graphics/video/smk_player.cpp @@ -473,6 +473,8 @@ bool SmackerDecoder::loadFile(const char *fileName) { _palette = (byte *)malloc(3 * 256); memset(_palette, 0, 3 * 256); + _videoInfo.frameOffs = _fileStream->pos(); + return true; } diff --git a/graphics/video/video_player.h b/graphics/video/video_player.h index 2ffce6f9a9..6a49448c56 100644 --- a/graphics/video/video_player.h +++ b/graphics/video/video_player.h @@ -154,6 +154,7 @@ protected: uint32 frameCount; int32 frameRate; int32 frameDelay; + uint32 frameOffs; uint32 currentFrame; uint32 startTime; } _videoInfo; |