[Scummvm-cvs-logs] SF.net SVN: scummvm: [29539] scummvm/trunk/engines/agos/saveload.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Sat Nov 17 13:48:28 CET 2007


Revision: 29539
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29539&view=rev
Author:   Kirben
Date:     2007-11-17 04:48:28 -0800 (Sat, 17 Nov 2007)

Log Message:
-----------
Use unique save game naming for PC versions of Elvira 2 and Waxworks, due to the save game format differences.

Modified Paths:
--------------
    scummvm/trunk/engines/agos/saveload.cpp

Modified: scummvm/trunk/engines/agos/saveload.cpp
===================================================================
--- scummvm/trunk/engines/agos/saveload.cpp	2007-11-17 12:11:50 UTC (rev 29538)
+++ scummvm/trunk/engines/agos/saveload.cpp	2007-11-17 12:48:28 UTC (rev 29539)
@@ -87,9 +87,15 @@
 	} else if (getGameType() == GType_SIMON1) {
 		sprintf(buf, "simon1.%.3d", slot);
 	} else if (getGameType() == GType_WW) {
-		sprintf(buf, "waxworks.%.3d", slot);
+		if (getPlatform() == Common::kPlatformPC)
+			sprintf(buf, "waxworks-pc.%.3d", slot);
+		else
+			sprintf(buf, "waxworks.%.3d", slot);
 	} else if (getGameType() == GType_ELVIRA2) {
-		sprintf(buf, "elvira2.%.3d", slot);
+		if (getPlatform() == Common::kPlatformPC)
+			sprintf(buf, "elvira2-pc.%.3d", slot);
+		else
+			sprintf(buf, "elvira2.%.3d", slot);
 	} else if (getGameType() == GType_ELVIRA1) {
 		sprintf(buf, "elvira1.%.3d", slot);
 	}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list