[Scummvm-cvs-logs] CVS: scummvm/simon intern.h,1.11,1.12

Max Horn fingolfin at users.sourceforge.net
Sat Mar 1 13:27:29 CET 2003


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv3656/simon

Modified Files:
	intern.h 
Log Message:
don't hardcode the Simon GameID values, rather use the #defines from simon/intern.h. Proper solution pending

Index: intern.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/intern.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- intern.h	14 Jan 2003 05:25:31 -0000	1.11
+++ intern.h	1 Mar 2003 21:26:45 -0000	1.12
@@ -132,13 +132,14 @@
  	const char *gamepc_filename;
 };
 
+// TODO: the following really should be turned into GameFeatures...
 enum {
-	GAME_SIMON2 = 1,
-	GAME_WIN = 2,
-	GAME_TALKIE = 4,
-	GAME_DEMO = 8,
-	GAME_MAC = 16,
-	GAME_AMIGA = 32,
+	GAME_SIMON2 = 1 << 0,
+	GAME_WIN    = 1 << 1,
+	GAME_TALKIE = 1 << 2,
+	GAME_DEMO   = 1 << 3,
+	GAME_MAC    = 1 << 4,
+	GAME_AMIGA  = 1 << 5,
 
 	GAME_SIMON1DOS = 0,
 	GAME_SIMON2DOS = GAME_SIMON2,





More information about the Scummvm-git-logs mailing list