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/wsamovie.h | |
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/wsamovie.h')
-rw-r--r-- | engines/kyra/wsamovie.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/engines/kyra/wsamovie.h b/engines/kyra/wsamovie.h index eb1058d504..ba803317d7 100644 --- a/engines/kyra/wsamovie.h +++ b/engines/kyra/wsamovie.h @@ -101,6 +101,12 @@ public: void setX(int x) { _x = x + _xAdd; } void setY(int y) { _y = y + _yAdd; } + + int xAdd() const { return _xAdd; } + int yAdd() const { return _yAdd; } + + int width() const { return _width; } + int height() const { return _height; } protected: KyraEngine_v3 *_vm3; @@ -115,15 +121,16 @@ public: VQAMovie(KyraEngine *vm, OSystem *system); ~VQAMovie(); + // Only the first parameter is used. + void open(const char *filename, int offscreen, uint8 *palette); + void close(); + int frames() { return _opened ? _header.numFrames : -1; } + // should not be used (maybe don't use Movie as a baseclass then?) void displayFrame(int frameNum); - // Only the first parameter is used. - virtual void open(const char *filename, int offscreen, uint8 *palette); - void close(); void play(); - protected: OSystem *_system; |