[Scummvm-cvs-logs] SF.net SVN: scummvm: [33057] scummvm/trunk/engines/lure
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Mon Jul 14 12:33:57 CEST 2008
Revision: 33057
http://scummvm.svn.sourceforge.net/scummvm/?rev=33057&view=rev
Author: dreammaster
Date: 2008-07-14 03:33:57 -0700 (Mon, 14 Jul 2008)
Log Message:
-----------
Fix for missing data in the savegame format that could result in not being able to talk to Goewin in the apothecary after restoring a savegame
Modified Paths:
--------------
scummvm/trunk/engines/lure/luredefs.h
scummvm/trunk/engines/lure/res_struct.cpp
Modified: scummvm/trunk/engines/lure/luredefs.h
===================================================================
--- scummvm/trunk/engines/lure/luredefs.h 2008-07-14 07:54:18 UTC (rev 33056)
+++ scummvm/trunk/engines/lure/luredefs.h 2008-07-14 10:33:57 UTC (rev 33057)
@@ -36,7 +36,7 @@
#define LURE_DAT_MAJOR 1
#define LURE_DAT_MINOR 29
#define LURE_MIN_SAVEGAME_MINOR 25
-#define LURE_SAVEGAME_MINOR 32
+#define LURE_SAVEGAME_MINOR 33
#define LURE_DEBUG 1
Modified: scummvm/trunk/engines/lure/res_struct.cpp
===================================================================
--- scummvm/trunk/engines/lure/res_struct.cpp 2008-07-14 07:54:18 UTC (rev 33056)
+++ scummvm/trunk/engines/lure/res_struct.cpp 2008-07-14 10:33:57 UTC (rev 33057)
@@ -456,6 +456,8 @@
stream->writeSint16LE(startY);
stream->writeUint16LE(roomNumber);
stream->writeByte(layer);
+ stream->writeUint16LE(walkX);
+ stream->writeUint16LE(walkY);
stream->writeUint16LE(width);
stream->writeUint16LE(height);
@@ -503,6 +505,10 @@
uint8 saveVersion = LureEngine::getReference().saveVersion();
if (saveVersion >= 29)
layer = stream->readByte();
+ if (saveVersion >= 33) {
+ walkX = stream->readUint16LE();
+ walkY = stream->readUint16LE();
+ }
width = stream->readUint16LE();
height = stream->readUint16LE();
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