[Scummvm-cvs-logs] scummvm master -> 60980e783ef263f3ed5aa708dc3032779d3be923

Strangerke Strangerke at scummvm.org
Sun Mar 9 23:20:06 CET 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
60980e783e TONY: Add some missing virtual keywords


Commit: 60980e783ef263f3ed5aa708dc3032779d3be923
    https://github.com/scummvm/scummvm/commit/60980e783ef263f3ed5aa708dc3032779d3be923
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-03-09T23:18:21+01:00

Commit Message:
TONY: Add some missing virtual keywords

Changed paths:
    engines/tony/gfxcore.h
    engines/tony/inventory.h



diff --git a/engines/tony/gfxcore.h b/engines/tony/gfxcore.h
index ff6c6b3..0607360 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 9b460f3..ee7bf11 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();
 






More information about the Scummvm-git-logs mailing list