diff options
Diffstat (limited to 'engines/kyra/wsamovie.h')
-rw-r--r-- | engines/kyra/wsamovie.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/kyra/wsamovie.h b/engines/kyra/wsamovie.h index a1e0562f60..bc5d723bbd 100644 --- a/engines/kyra/wsamovie.h +++ b/engines/kyra/wsamovie.h @@ -42,6 +42,9 @@ public: virtual bool opened() { return _opened; } + virtual int width() const = 0; + virtual int height() const = 0; + virtual int open(const char *filename, int offscreen, uint8 *palette) = 0; virtual void close() = 0; @@ -62,6 +65,9 @@ public: WSAMovie_v1(KyraEngine_v1 *vm); virtual ~WSAMovie_v1(); + int width() const { return _width; } + int height() const { return _height; } + virtual int open(const char *filename, int offscreen, uint8 *palette); virtual void close(); @@ -115,9 +121,6 @@ public: int xAdd() const { return _xAdd; } int yAdd() const { return _yAdd; } - int width() const { return _width; } - int height() const { return _height; } - void setWidth(int w) { _width = w; } void setHeight(int h) { _height = h; } protected: |