[Scummvm-cvs-logs] CVS: scummvm/scumm resource_v2.cpp,1.28,1.29

Travis Howell kirben at users.sourceforge.net
Fri Sep 5 20:35:09 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv30409/scumm

Modified Files:
	resource_v2.cpp 
Log Message:

Change version message to debug, to match other games.


Index: resource_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/resource_v2.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- resource_v2.cpp	27 Aug 2003 01:12:17 -0000	1.28
+++ resource_v2.cpp	6 Sep 2003 03:34:19 -0000	1.29
@@ -31,7 +31,6 @@
 	int i;
 
 	if (_gameId == GID_MANIAC) {
-		//FIXME the music driver was previously been set before detection of classic/enchanced version.
 		if (!(_features & GF_AMIGA) && !(_features & GF_NES))
 			_playerV2 = new Player_V1(this);
 
@@ -41,7 +40,6 @@
 		_numScripts = 200;
 		_numSounds = 100;
 	} else if (_gameId == GID_ZAK) {
-		//FIXME the music driver was previously been set before detection of classic/enchanced version.
 		if (!(_features & GF_AMIGA))
 			_playerV2 = new Player_V2(this);
 
@@ -157,18 +155,18 @@
 
 	switch(magic) {
 		case 0x0100:
-			warning("Enhanced V2 game detected");
+			debug(1,"Enhanced V2 game detected");
 			readEnhancedIndexFile();			
 			break;
 		case 0x0A31:
-			warning("Classic V1 game detected");
+			debug(1,"Classic V1 game detected");
 			_version = 1;
 			readClassicIndexFile();
 			break;
 		case 0x4643:
 			if (!(_features & GF_NES))
-				error("use maniacnes target");
-			warning("NES V1 game detected");
+				error("Use maniacnes target");
+			debug(1,"NES V1 game detected");
 			_version = 1;
 			readClassicIndexFile();
 			break;





More information about the Scummvm-git-logs mailing list