aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorFilippos Karapetis2007-12-08 18:19:09 +0000
committerFilippos Karapetis2007-12-08 18:19:09 +0000
commitf1a1254581498d87c4db1e8a185ca84e7dc63013 (patch)
treee7b83b54e38d12f5a13b0243a2eddd2b06312bf7 /engines/agi
parentb24f10dde0951702bc02a0ea749a9ac5a03e1f93 (diff)
downloadscummvm-rg350-f1a1254581498d87c4db1e8a185ca84e7dc63013.tar.gz
scummvm-rg350-f1a1254581498d87c4db1e8a185ca84e7dc63013.tar.bz2
scummvm-rg350-f1a1254581498d87c4db1e8a185ca84e7dc63013.zip
Renamed SAVEGAME_VERSION to MSA_SAVEGAME_VERSION
svn-id: r29770
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/preagi_mickey.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/agi/preagi_mickey.cpp b/engines/agi/preagi_mickey.cpp
index 4c9b93ba96..dbca91233b 100644
--- a/engines/agi/preagi_mickey.cpp
+++ b/engines/agi/preagi_mickey.cpp
@@ -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 @@ bool Mickey::loadGame() {
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 @@ void Mickey::saveGame() {
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);