[Scummvm-cvs-logs] CVS: scummvm/sky control.cpp,1.78,1.79

Robert Göffringmann lavosspawn at users.sourceforge.net
Fri Nov 12 10:13:09 CET 2004


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29480/sky

Modified Files:
	control.cpp 
Log Message:
use message window instead of console printf if user wants to load a savegame from a different BASS version

Index: control.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/control.cpp,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- control.cpp	11 Nov 2004 10:14:30 -0000	1.78
+++ control.cpp	12 Nov 2004 18:12:41 -0000	1.79
@@ -1459,8 +1459,10 @@
 	LODSD(srcPos, gameVersion);
 	if (gameVersion != SkyEngine::_systemVars.gameVersion) {
 		if ((!SkyEngine::isCDVersion()) || (gameVersion < 365)) { // cd versions are compatible
-			printf("This savegame was created by Beneath a Steel Sky v0.0%03d\n", gameVersion);
-			printf("It cannot be loaded by this version (v0.0%3d)\n", SkyEngine::_systemVars.gameVersion);
+			displayMessage(NULL, "This savegame was created by\n"
+				"Beneath a Steel Sky v0.0%03d\n"
+				"It cannot be loaded by this version (v0.0%3d)",
+				gameVersion, SkyEngine::_systemVars.gameVersion);
 			return RESTORE_FAILED;
 		}
 	}





More information about the Scummvm-git-logs mailing list