diff options
author | Strangerke | 2014-03-09 23:18:21 +0100 |
---|---|---|
committer | Strangerke | 2014-03-09 23:18:21 +0100 |
commit | 60980e783ef263f3ed5aa708dc3032779d3be923 (patch) | |
tree | 342fe5c111950ba500dae4ec8dc03ae7b6285b3c | |
parent | ee9c03158bdfb974e544438f393e2adb44634caf (diff) | |
download | scummvm-rg350-60980e783ef263f3ed5aa708dc3032779d3be923.tar.gz scummvm-rg350-60980e783ef263f3ed5aa708dc3032779d3be923.tar.bz2 scummvm-rg350-60980e783ef263f3ed5aa708dc3032779d3be923.zip |
TONY: Add some missing virtual keywords
-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(); |