[Scummvm-cvs-logs] CVS: scummvm saveload.cpp,1.32,1.33
Nicolas Bacca
arisme at users.sourceforge.net
Sun Mar 17 17:20:08 CET 2002
- Previous message: [Scummvm-cvs-logs] CVS: scummvm script_v1.cpp,1.48,1.49
- Next message: [Scummvm-cvs-logs] CVS: scummvm cdmusic.h,1.1,1.2 script.cpp,1.36,1.37 script_v1.cpp,1.49,1.50 scummvm.cpp,1.87,1.88 sdl.cpp,1.45,1.46 sound.cpp,1.31,1.32
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv12272
Modified Files:
saveload.cpp
Log Message:
specific define for old savegames management, easier to debug on desktop
Index: saveload.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saveload.cpp,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** saveload.cpp 14 Mar 2002 14:45:03 -0000 1.32
--- saveload.cpp 18 Mar 2002 01:19:16 -0000 1.33
***************
*** 24,27 ****
--- 24,31 ----
#include "sound.h"
+ #ifdef _WIN32_WCE
+ #define _MANAGE_OLD_SAVE
+ #endif
+
struct SaveGameHeader {
uint32 type;
***************
*** 31,35 ****
};
! #ifdef _WIN32_WCE
// Support for "old" savegames (made with 2501 CVS build)
--- 35,39 ----
};
! #ifdef _MANAGE_OLD_SAVE
// Support for "old" savegames (made with 2501 CVS build)
***************
*** 65,69 ****
hdr.size = 0;
! #ifdef _WIN32_WCE
hdr.ver = _current_version;
--- 69,73 ----
hdr.size = 0;
! #ifdef _MANAGE_OLD_SAVE
hdr.ver = _current_version;
***************
*** 105,109 ****
}
! #ifdef _WIN32_WCE
if (hdr.ver != VER_V8 && hdr.ver != VER_V7) {
--- 109,113 ----
}
! #ifdef _MANAGE_OLD_SAVE
if (hdr.ver != VER_V8 && hdr.ver != VER_V7) {
***************
*** 120,124 ****
}
! #ifdef _WIN32_WCE
_current_version = hdr.ver;
--- 124,128 ----
}
! #ifdef _MANAGE_OLD_SAVE
_current_version = hdr.ver;
***************
*** 186,190 ****
void Scumm::makeSavegameName(char *out, int slot, bool compatible) {
! #ifndef _WIN32_WCE
#if !defined(__APPLE__CW)
--- 190,194 ----
void Scumm::makeSavegameName(char *out, int slot, bool compatible) {
! #ifndef _WIN32_WCE
#if !defined(__APPLE__CW)
***************
*** 224,228 ****
}
! #ifdef _WIN32_WCE
if (hdr.ver != VER_V8 && hdr.ver != VER_V7) {
--- 228,232 ----
}
! #ifdef _MANAGE_OLD_SAVE
if (hdr.ver != VER_V8 && hdr.ver != VER_V7) {
***************
*** 366,370 ****
};
! #ifdef _WIN32_WCE
const SaveLoadEntry mainEntries1[] = {
--- 370,374 ----
};
! #ifdef _MANAGE_OLD_SAVE
const SaveLoadEntry mainEntries1[] = {
***************
*** 653,657 ****
int var98Backup;
! #ifdef _WIN32_WCE
s->saveLoadEntries(this, mainEntries1);
--- 657,661 ----
int var98Backup;
! #ifdef _MANAGE_OLD_SAVE
s->saveLoadEntries(this, mainEntries1);
***************
*** 665,669 ****
#endif
! #ifdef _WIN32_WCE
// Probably not necessary anymore with latest NUM_ACTORS values
--- 669,673 ----
#endif
! #ifdef _MANAGE_OLD_SAVE
// Probably not necessary anymore with latest NUM_ACTORS values
- Previous message: [Scummvm-cvs-logs] CVS: scummvm script_v1.cpp,1.48,1.49
- Next message: [Scummvm-cvs-logs] CVS: scummvm cdmusic.h,1.1,1.2 script.cpp,1.36,1.37 script_v1.cpp,1.49,1.50 scummvm.cpp,1.87,1.88 sdl.cpp,1.45,1.46 sound.cpp,1.31,1.32
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list