[Scummvm-cvs-logs] CVS: scummvm/backends/wince wince.cpp,1.22,1.23

Max Horn fingolfin at users.sourceforge.net
Tue Oct 28 09:08:18 CET 2003


Update of /cvsroot/scummvm/scummvm/backends/wince
In directory sc8-pr-cvs1:/tmp/cvs-serv20245/backends/wince

Modified Files:
	wince.cpp 
Log Message:
cleanup: removed version/id from GameSettings

Index: wince.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/wince.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- wince.cpp	27 Sep 2003 16:54:10 -0000	1.22
+++ wince.cpp	28 Oct 2003 17:07:22 -0000	1.23
@@ -856,10 +856,10 @@
 
 	/* Start the engine */
 
-	is_simon = (detector._game.id >= GID_SIMON_FIRST && detector._game.id <= GID_SIMON_LAST);
-	is_bass = (detector._game.id >= GID_SKY_FIRST && detector._game.id <= GID_SKY_LAST);
+	is_simon = (strcmp(detector._plugin.getName(), "simon") == 0);
+	is_bass = (strcmp(detector._plugin.getName(), "sky") == 0);
 
-	if (smartphone || detector._game.id == GID_SAMNMAX || detector._game.id == GID_FT || detector._game.id == GID_DIG || detector._game.id == GID_CMI)
+	if (smartphone || strcmp(game_name, "samnmax") == 0 || strcmp(game_name, "dig") == 0 || strcmp(game_name, "ft") == 0 || strcmp(game_name, "comi") == 0)
 		hide_cursor = FALSE;
 	else
 		hide_cursor = TRUE;	





More information about the Scummvm-git-logs mailing list