aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs
diff options
context:
space:
mode:
authorBenjamin Haisch2010-05-10 08:13:04 +0000
committerWillem Jan Palenstijn2011-11-20 22:43:09 +0100
commitfc324073d54376d21a8d58bc4199f529266d9ec4 (patch)
treeffb0611b04798b2569dca53a46ad5461860c3bb5 /engines/toltecs
parent7f78f62467af6a1e65e06a155ada3c07ce94db47 (diff)
downloadscummvm-rg350-fc324073d54376d21a8d58bc4199f529266d9ec4.tar.gz
scummvm-rg350-fc324073d54376d21a8d58bc4199f529266d9ec4.tar.bz2
scummvm-rg350-fc324073d54376d21a8d58bc4199f529266d9ec4.zip
TOLTECS: Rename savegame version define
Diffstat (limited to 'engines/toltecs')
-rw-r--r--engines/toltecs/saveload.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/toltecs/saveload.cpp b/engines/toltecs/saveload.cpp
index cccc3e6817..018fe35577 100644
--- a/engines/toltecs/saveload.cpp
+++ b/engines/toltecs/saveload.cpp
@@ -51,12 +51,12 @@ namespace Toltecs {
- Maybe switch to SCUMM/Tinsel serialization approach?
*/
-#define SAVEGAME_VERSION 0 // 0 is dev version until in official SVN
+#define TOLTECS_SAVEGAME_VERSION 0 // 0 is dev version until in official SVN
ToltecsEngine::kReadSaveHeaderError ToltecsEngine::readSaveHeader(Common::SeekableReadStream *in, bool loadThumbnail, SaveHeader &header) {
header.version = in->readUint32LE();
- if (header.version != SAVEGAME_VERSION)
+ if (header.version != TOLTECS_SAVEGAME_VERSION)
return kRSHEInvalidVersion;
byte descriptionLen = in->readByte();
@@ -90,7 +90,7 @@ void ToltecsEngine::savegame(const char *filename, const char *description) {
return;
}
- out->writeUint32LE(SAVEGAME_VERSION);
+ out->writeUint32LE(TOLTECS_SAVEGAME_VERSION);
byte descriptionLen = strlen(description);
out->writeByte(descriptionLen);