[Scummvm-cvs-logs] CVS: scummvm/common system.h,1.71,1.72

James Brown ender at users.sourceforge.net
Fri Nov 12 20:34:08 CET 2004


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2267/common

Modified Files:
	system.h 
Log Message:
Add new clearScreen OSystem call. Currently only implemented in SDL backend. This call is currently only used for clearing the launcher screen to remove garbage from the main screen before reentering.


Index: system.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/system.h,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- system.h	15 Oct 2004 19:54:14 -0000	1.71
+++ system.h	13 Nov 2004 04:33:33 -0000	1.72
@@ -254,6 +254,9 @@
 	 *       API are probably going to remove it.
 	 */
 	virtual void setPalette(const byte *colors, uint start, uint num) = 0;
+	
+	/** Clear the screen to black */
+	virtual void clearScreen() {;}
 
 	/**
 	 * Blit a bitmap to the virtual screen.





More information about the Scummvm-git-logs mailing list