[Scummvm-cvs-logs] CVS: scummvm/scumm saveload.cpp,1.140,1.141 saveload.h,1.32,1.33 actor.cpp,1.230,1.231

Max Horn fingolfin at users.sourceforge.net
Mon Feb 16 16:50:04 CET 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15437/scumm

Modified Files:
	saveload.cpp saveload.h actor.cpp 
Log Message:
save talkVolume

Index: saveload.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/saveload.cpp,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -d -r1.140 -r1.141
--- saveload.cpp	31 Jan 2004 22:11:01 -0000	1.140
+++ saveload.cpp	17 Feb 2004 00:40:51 -0000	1.141
@@ -183,7 +183,7 @@
 	// scumm vars. We now know the proper locations. To be able to properly use
 	// old save games, we update the old (bad) variables to the new (correct)
 	// ones.
-	if (hdr.ver <= 27 && _version == 8) {
+	if (hdr.ver < 28 && _version == 8) {
 		_scummVars[VAR_CAMERA_MIN_X] = _scummVars[101];
 		_scummVars[VAR_CAMERA_MAX_X] = _scummVars[102];
 		_scummVars[VAR_CAMERA_MIN_Y] = _scummVars[103];

Index: saveload.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/saveload.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- saveload.h	11 Jan 2004 19:58:29 -0000	1.32
+++ saveload.h	17 Feb 2004 00:40:51 -0000	1.33
@@ -32,7 +32,7 @@
 // Can be useful for other ports too :)
 
 #define VER(x) x
-#define CURRENT_VER 28
+#define CURRENT_VER 29
 
 // To work around a warning in GCC 3.2 (and 3.1 ?) regarding non-POD types,
 // we use a small trick: instead of 0 we use 42. Why? Well, it seems newer GCC

Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -d -r1.230 -r1.231
--- actor.cpp	16 Feb 2004 02:55:19 -0000	1.230
+++ actor.cpp	17 Feb 2004 00:40:51 -0000	1.231
@@ -1744,6 +1744,7 @@
 		MKLINE(Actor, talkColor, sleByte, VER(8)),
 		MKLINE(Actor, talkFrequency, sleInt16, VER(16)),
 		MKLINE(Actor, talkPan, sleInt16, VER(24)),
+		MKLINE(Actor, talkVolume, sleInt16, VER(29)),
 		MKLINE(Actor, scalex, sleByte, VER(8)),
 		MKLINE(Actor, scaley, sleByte, VER(8)),
 		MKLINE(Actor, charset, sleByte, VER(8)),





More information about the Scummvm-git-logs mailing list