[Scummvm-cvs-logs] SF.net SVN: scummvm:[36152] scummvm/trunk

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Fri Jan 30 17:23:42 CET 2009


Revision: 36152
          http://scummvm.svn.sourceforge.net/scummvm/?rev=36152&view=rev
Author:   fingolfin
Date:     2009-01-30 16:23:41 +0000 (Fri, 30 Jan 2009)

Log Message:
-----------
Removed default implementations of OSystem::getOverlayHeight() and getOverlayWidth()

Modified Paths:
--------------
    scummvm/trunk/backends/platform/ps2/systemps2.h
    scummvm/trunk/common/system.h

Modified: scummvm/trunk/backends/platform/ps2/systemps2.h
===================================================================
--- scummvm/trunk/backends/platform/ps2/systemps2.h	2009-01-30 16:18:58 UTC (rev 36151)
+++ scummvm/trunk/backends/platform/ps2/systemps2.h	2009-01-30 16:23:41 UTC (rev 36152)
@@ -76,6 +76,8 @@
 	virtual void clearOverlay();
 	virtual void grabOverlay(OverlayColor *buf, int pitch);
 	virtual void copyRectToOverlay(const OverlayColor *buf, int pitch, int x, int y, int w, int h);
+	virtual int16 getOverlayHeight()  { return getHeight(); }
+	virtual int16 getOverlayWidth()   { return getWidth(); }
 
 	virtual bool showMouse(bool visible);
 

Modified: scummvm/trunk/common/system.h
===================================================================
--- scummvm/trunk/common/system.h	2009-01-30 16:18:58 UTC (rev 36151)
+++ scummvm/trunk/common/system.h	2009-01-30 16:23:41 UTC (rev 36152)
@@ -640,13 +640,13 @@
 	 * Return the height of the overlay.
 	 * @see getHeight
 	 */
-	virtual int16 getOverlayHeight()  { return getHeight(); }
+	virtual int16 getOverlayHeight() = 0;
 
 	/**
 	 * Return the width of the overlay.
 	 * @see getWidth
 	 */
-	virtual int16 getOverlayWidth()   { return getWidth(); }
+	virtual int16 getOverlayWidth() = 0;
 
 	//@}
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list