diff options
author | Johannes Schickel | 2006-05-18 22:46:34 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-05-18 22:46:34 +0000 |
commit | 570b9e2c9dd9bb13ef01fae5e7deb8e038d7067f (patch) | |
tree | 49899896302b373b50927ca563a84eaa9922b96f /engines/kyra/vqa.cpp | |
parent | fac7a13cf5c2dd128f5f5b46f3d9c52a534a2322 (diff) | |
download | scummvm-rg350-570b9e2c9dd9bb13ef01fae5e7deb8e038d7067f.tar.gz scummvm-rg350-570b9e2c9dd9bb13ef01fae5e7deb8e038d7067f.tar.bz2 scummvm-rg350-570b9e2c9dd9bb13ef01fae5e7deb8e038d7067f.zip |
- load fonts for kyra3
- adds screen dim tables for kyra3
- adds palette / screen backup for the vqa player
- small changes in the vqa player to use the Kyra::Screen functions
- adds (partially implemented/unimplemented) main menu drawing/handling functions (nothing to see yet)
svn-id: r22528
Diffstat (limited to 'engines/kyra/vqa.cpp')
-rw-r--r-- | engines/kyra/vqa.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/vqa.cpp b/engines/kyra/vqa.cpp index 23fee5db6e..b7e3e780db 100644 --- a/engines/kyra/vqa.cpp +++ b/engines/kyra/vqa.cpp @@ -35,6 +35,7 @@ #include "sound/mixer.h" #include "kyra/sound.h" #include "kyra/wsamovie.h" +#include "kyra/screen.h" namespace Kyra { @@ -43,8 +44,7 @@ VQAMovie::VQAMovie(KyraEngine *vm, OSystem *system) : Movie(vm) { } VQAMovie::~VQAMovie() { - if (_opened) - close(); + close(); } void VQAMovie::initBuffers() { @@ -613,7 +613,7 @@ void VQAMovie::displayFrame(int frameNum) { _partialCodeBookSize = 0; } - _system->copyRectToScreen(_frame, _header.width, _x, _y, _header.width, _header.height); + _vm->screen()->copyBlockToPage(_drawPage, _x, _y, _header.width, _header.height, _frame); } void VQAMovie::play() { @@ -712,7 +712,7 @@ void VQAMovie::play() { _system->delayMillis(10); } - _system->updateScreen(); + _vm->screen()->updateScreen(); } // TODO: Wait for the sound to finish? |