diff options
author | Filippos Karapetis | 2010-12-22 13:51:35 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-12-22 13:51:35 +0000 |
commit | 430dc10c4944922894e32d1b29852794c9f27b7b (patch) | |
tree | 453c0baa131529aa341edf71db48a64d6a2c8742 /engines/sci/console.cpp | |
parent | 5a3ed29a4be47cca6d0ab34b26a228317f15d817 (diff) | |
download | scummvm-rg350-430dc10c4944922894e32d1b29852794c9f27b7b.tar.gz scummvm-rg350-430dc10c4944922894e32d1b29852794c9f27b7b.tar.bz2 scummvm-rg350-430dc10c4944922894e32d1b29852794c9f27b7b.zip |
SCI: VMD video related changes
- VMD videos are now properly started from the associated play subop of the
kPlayVMD kernel call, and are now properly positioned on screen, and doubled
only if the games require them to be
- Added an enum for VMD video flags
svn-id: r55003
Diffstat (limited to 'engines/sci/console.cpp')
-rw-r--r-- | engines/sci/console.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp index 21364319b8..cad6092cff 100644 --- a/engines/sci/console.cpp +++ b/engines/sci/console.cpp @@ -226,7 +226,7 @@ void Console::preEnter() { _engine->pauseEngine(true); } -extern void playVideo(Graphics::VideoDecoder *videoDecoder); +extern void playVideo(Graphics::VideoDecoder *videoDecoder, VideoState videoState); void Console::postEnter() { if (!_videoFile.empty()) { @@ -272,7 +272,10 @@ void Console::postEnter() { } #endif - playVideo(videoDecoder); + VideoState emptyState; + emptyState.fileName = _videoFile; + emptyState.flags = kDoubled; // always allow the videos to be double sized + playVideo(videoDecoder, emptyState); #ifdef ENABLE_SCI32 // Switch back to 8bpp if we played a duck video |