aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2014-03-09 23:18:21 +0100
committerStrangerke2014-03-09 23:18:21 +0100
commit60980e783ef263f3ed5aa708dc3032779d3be923 (patch)
tree342fe5c111950ba500dae4ec8dc03ae7b6285b3c /engines
parentee9c03158bdfb974e544438f393e2adb44634caf (diff)
downloadscummvm-rg350-60980e783ef263f3ed5aa708dc3032779d3be923.tar.gz
scummvm-rg350-60980e783ef263f3ed5aa708dc3032779d3be923.tar.bz2
scummvm-rg350-60980e783ef263f3ed5aa708dc3032779d3be923.zip
TONY: Add some missing virtual keywords
Diffstat (limited to 'engines')
-rw-r--r--engines/tony/gfxcore.h6
-rw-r--r--engines/tony/inventory.h2
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();