[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl-common.cpp,1.85,1.86 sdl.cpp,1.47,1.48 sdl_gl.cpp,1.56,1.57

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Sun Sep 21 10:06:04 CEST 2003


Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1:/tmp/cvs-serv1979/backends/sdl

Modified Files:
	sdl-common.cpp sdl.cpp sdl_gl.cpp 
Log Message:
Made Ctrl-Alt 9 the hotkey for the new hq3x scaler, and moved the scanlines
and dotmatrix ones to Ctrl-Alt C and Ctrl-Alt-D.

(Does anyone else feel that scanlines and dotmatrix should either be
rewritten so that they can be combined with any scaler and aspect ratio
correction, or removed? That's why I moved them off the Ctrl-Alt <digit>
hotkeys.)


Index: sdl-common.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl-common.cpp,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- sdl-common.cpp	19 Sep 2003 19:11:33 -0000	1.85
+++ sdl-common.cpp	21 Sep 2003 17:05:07 -0000	1.86
@@ -619,7 +619,7 @@
 
 			// Ctr-Alt-<key> will change the GFX mode
 			if (b == (KBD_CTRL|KBD_ALT)) {
-				char keys[] = "1234567890";
+				char keys[] = "123456789cd";
 				char *ptr;
 
 				ptr = strchr(keys, ev.key.keysym.sym);

Index: sdl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl.cpp,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- sdl.cpp	21 Sep 2003 12:10:32 -0000	1.47
+++ sdl.cpp	21 Sep 2003 17:05:07 -0000	1.48
@@ -365,7 +365,7 @@
 #endif
 		return 1;
 	} else if (param == PROP_SET_GFX_MODE) {
-		if (value->gfx_mode >= 10)
+		if (value->gfx_mode >= 11)
 			return 0;
 
 		_mode = value->gfx_mode;

Index: sdl_gl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl_gl.cpp,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- sdl_gl.cpp	21 Sep 2003 12:10:32 -0000	1.56
+++ sdl_gl.cpp	21 Sep 2003 17:05:07 -0000	1.57
@@ -651,8 +651,8 @@
 				fb2gl.setBilinearMode(_glBilinearFilter);
 				break;
 			default: // SDL backend
-				if (value->gfx_mode >= 10)
-				  return 0;
+				if (value->gfx_mode >= 11)
+					return 0;
 
 				_mode = value->gfx_mode;
 





More information about the Scummvm-git-logs mailing list