From 570b9e2c9dd9bb13ef01fae5e7deb8e038d7067f Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 18 May 2006 22:46:34 +0000 Subject: - 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 --- engines/kyra/wsamovie.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'engines/kyra/wsamovie.h') 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; -- cgit v1.2.3