[Scummvm-cvs-logs] CVS: scummvm/backends/wince wince-sdl.cpp,1.23,1.24 wince-sdl.h,1.15,1.16

Eugene Sandulenko sev at users.sourceforge.net
Wed Mar 9 15:09:15 CET 2005


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

Modified Files:
	wince-sdl.cpp wince-sdl.h 
Log Message:
Patch #1013937 "OSystem layer with bigger resolution". Now you will always
get at least 640x400 window. And finally we have means of implementing
nice looking GUI.

Also updated all backends. If your backend has ability to run with 640x400 or
640x480 resolution then read patch tracker item to find out details. Other
port maintainers shouldn't worry, as this patch doesn't affect them, they
still get their 320x200.


Index: wince-sdl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/wince-sdl.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- wince-sdl.cpp	28 Jan 2005 23:45:51 -0000	1.23
+++ wince-sdl.cpp	9 Mar 2005 23:07:29 -0000	1.24
@@ -733,7 +733,7 @@
 	get_sample_rate();
 }
 
-void OSystem_WINCE3::initSize(uint w, uint h) {
+void OSystem_WINCE3::initSize(uint w, uint h, int overlaySize) {
 
 		if (_isSmartphone && h == 240)
 			h = 200;  // mainly for the launcher
@@ -765,7 +765,7 @@
 	if (w != _screenWidth || h != _screenHeight)
 		_scalersChanged = false;
 
-	OSystem_SDL::initSize(w, h);
+	OSystem_SDL::initSize(w, h, overlayScale);
 	
 	if (_scalersChanged) {
 		unloadGFXMode();

Index: wince-sdl.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/wince-sdl.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- wince-sdl.h	1 Jan 2005 16:08:48 -0000	1.15
+++ wince-sdl.h	9 Mar 2005 23:07:29 -0000	1.16
@@ -45,7 +45,7 @@
 	// Update the dirty areas of the screen
 	void internUpdateScreen();
 
-	void initSize(uint w, uint h);
+	void initSize(uint w, uint h, int overlaySize);
 
 	// Overloaded from SDL_Common (toolbar handling)
 	bool pollEvent(Event &event);





More information about the Scummvm-git-logs mailing list