diff options
-rw-r--r-- | engines/tony/gfxcore.h | 6 | ||||
-rw-r--r-- | engines/tony/inventory.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/tony/gfxcore.h b/engines/tony/gfxcore.h index ff6c6b3dca..06073609ea 100644 --- a/engines/tony/gfxcore.h +++ b/engines/tony/gfxcore.h @@ -220,7 +220,7 @@ public: virtual ~RMGfxSourceBuffer16(); // Initialization - void create(int dimx, int dimy); + virtual void create(int dimx, int dimy); int getBpp(); virtual void draw(CORO_PARAM, RMGfxTargetBuffer &bigBuf, RMGfxPrimitive *prim); @@ -263,7 +263,7 @@ public: virtual ~RMGfxSourceBuffer8(); // Initialization - void create(int dimx, int dimy); + virtual void create(int dimx, int dimy); int getBpp(); virtual void draw(CORO_PARAM, RMGfxTargetBuffer &bigBuf, RMGfxPrimitive *prim); @@ -424,7 +424,7 @@ public: RMGfxSourceBuffer4(int dimx, int dimy); // Initialization - void create(int dimx, int dimy); + virtual void create(int dimx, int dimy); int getBpp(); virtual void draw(CORO_PARAM, RMGfxTargetBuffer &bigBuf, RMGfxPrimitive *prim); diff --git a/engines/tony/inventory.h b/engines/tony/inventory.h index 9b460f390d..ee7bf115c7 100644 --- a/engines/tony/inventory.h +++ b/engines/tony/inventory.h @@ -101,7 +101,7 @@ public: /** * Initialization and closing */ - void init(); + virtual void init(); void close(); void reset(); |