[Scummvm-cvs-logs] SF.net SVN: scummvm: [29770] scummvm/trunk/engines/agi/preagi_mickey.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sat Dec 8 19:19:11 CET 2007
Revision: 29770
http://scummvm.svn.sourceforge.net/scummvm/?rev=29770&view=rev
Author: thebluegr
Date: 2007-12-08 10:19:09 -0800 (Sat, 08 Dec 2007)
Log Message:
-----------
Renamed SAVEGAME_VERSION to MSA_SAVEGAME_VERSION
Modified Paths:
--------------
scummvm/trunk/engines/agi/preagi_mickey.cpp
Modified: scummvm/trunk/engines/agi/preagi_mickey.cpp
===================================================================
--- scummvm/trunk/engines/agi/preagi_mickey.cpp 2007-12-08 18:16:30 UTC (rev 29769)
+++ scummvm/trunk/engines/agi/preagi_mickey.cpp 2007-12-08 18:19:09 UTC (rev 29770)
@@ -36,7 +36,7 @@
#define IDI_SND_OSCILLATOR_FREQUENCY 1193180
#define IDI_SND_TIMER_RESOLUTION 0.0182
-#define SAVEGAME_VERSION 1
+#define MSA_SAVEGAME_VERSION 1
namespace Agi {
@@ -934,8 +934,8 @@
error("Mickey::loadGame wrong save game format");
saveVersion = infile->readByte();
- if (saveVersion != SAVEGAME_VERSION)
- warning("Old save game version (%d, current version is %d). Will try and read anyway, but don't be surprised if bad things happen", saveVersion, SAVEGAME_VERSION);
+ if (saveVersion != MSA_SAVEGAME_VERSION)
+ warning("Old save game version (%d, current version is %d). Will try and read anyway, but don't be surprised if bad things happen", saveVersion, MSA_SAVEGAME_VERSION);
_game.iRoom = infile->readByte();
_game.iPlanet = infile->readByte();
@@ -1040,7 +1040,7 @@
return;
} else {
outfile->writeUint32BE(MKID_BE('MICK')); // header
- outfile->writeByte(SAVEGAME_VERSION);
+ outfile->writeByte(MSA_SAVEGAME_VERSION);
outfile->writeByte(_game.iRoom);
outfile->writeByte(_game.iPlanet);
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