[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl-common.h,1.60,1.61

Nicolas Bacca arisme at users.sourceforge.net
Sun May 9 07:31:02 CEST 2004


Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23591

Modified Files:
	sdl-common.h 
Log Message:
Make a few functions GFX functions virtual for CE backend

Index: sdl-common.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl-common.h,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- sdl-common.h	6 May 2004 09:20:20 -0000	1.60
+++ sdl-common.h	9 May 2004 14:30:29 -0000	1.61
@@ -31,8 +31,10 @@
 
 #include <SDL.h>
 
+#ifndef _WIN32_WCE
 // Uncomment this to enable the 'on screen display' code.
 #define USE_OSD	1
+#endif
 
 class OSystem_SDL : public OSystem {
 public:
@@ -245,7 +247,7 @@
 	void add_dirty_rgn_auto(const byte *buf);
 	void mk_checksums(const byte *buf);
 
-	void add_dirty_rect(int x, int y, int w, int h);
+	virtual void add_dirty_rect(int x, int y, int w, int h);
 
 	void draw_mouse();
 	void undraw_mouse();
@@ -257,9 +259,9 @@
 
 	virtual void internUpdateScreen();
 
-	void load_gfx_mode();
-	void unload_gfx_mode();
-	void hotswap_gfx_mode();
+	virtual void load_gfx_mode();
+	virtual void unload_gfx_mode();
+	virtual void hotswap_gfx_mode();
 	
 	void setFullscreenMode(bool enable);
 





More information about the Scummvm-git-logs mailing list