[Scummvm-cvs-logs] CVS: scummvm/common gameDetector.cpp,1.12,1.13 gameDetector.h,1.3,1.4

Max Horn fingolfin at users.sourceforge.net
Sun Sep 29 16:10:02 CEST 2002


Update of /cvsroot/scummvm/scummvm/common
In directory usw-pr-cvs1:/tmp/cvs-serv21551

Modified Files:
	gameDetector.cpp gameDetector.h 
Log Message:
cleanup

Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/gameDetector.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- gameDetector.cpp	29 Sep 2002 11:11:42 -0000	1.12
+++ gameDetector.cpp	29 Sep 2002 23:09:01 -0000	1.13
@@ -349,9 +349,9 @@
 //      {"maniac",      "Maniac Mansion", GID_MANIAC, 2, 0, 0,
 //      GF_SMALL_HEADER | GF_USE_KEY | GF_SMALL_NAMES | GF_16COLOR | GF_OLD_BUNDLE |
 //      GF_NO_SCALLING},
-//	{"zak",         "Zak McKracken and the Alien Mindbenders",      GID_ZAK,     2, 0, 0,
-//	 GF_SMALL_HEADER | GF_USE_KEY | GF_SMALL_NAMES | GF_16COLOR | GF_OLD_BUNDLE |
-//	 GF_NO_SCALLING},
+//      {"zak",         "Zak McKracken and the Alien Mindbenders",      GID_ZAK,     2, 0, 0,
+//      GF_SMALL_HEADER | GF_USE_KEY | GF_SMALL_NAMES | GF_16COLOR | GF_OLD_BUNDLE |
+//      GF_NO_SCALLING},
 //      {"indy3",       "Indiana Jones and the Last Crusade",           GID_INDY3,   2, 0, 0,},
 
 	/* Scumm Version 3 */
@@ -431,7 +431,6 @@
 	do {
 		if (!scumm_stricmp(_exe_name, gnl->filename)) {
 			_gameId = gnl->id;
-			_scummVersion = gnl->major;
 
 			_features = gnl->features;
 			_gameText = gnl->gamename;
@@ -443,7 +442,7 @@
 
 	debug(1, "Failed game detection");
 
-	return true;
+	return false;
 }
 
 const char *GameDetector::getGameName()

Index: gameDetector.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/gameDetector.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- gameDetector.h	27 Sep 2002 23:27:14 -0000	1.3
+++ gameDetector.h	29 Sep 2002 23:09:01 -0000	1.4
@@ -69,7 +69,6 @@
 	int _gfx_driver;
 	int _gfx_mode;
 	
-	int _scummVersion;
 	int _cdrom;
 	int _save_slot;
 	





More information about the Scummvm-git-logs mailing list