Implemented new instrumentation save/load.
Save/load version is now VER_V11. Adlib/MT-32 instrumentation is now saved and loaded. BACK UP YOUR VER_V10 SAVEGAMES, JUST IN CASE! svn-id: r6044
This commit is contained in:
parent
0182836591
commit
f60bda7d5c
3 changed files with 21 additions and 15 deletions
|
@ -25,12 +25,13 @@
|
|||
// Support for "old" savegames (made with 2501 CVS build)
|
||||
// Can be useful for other ports too :)
|
||||
|
||||
#define VER_V11 11
|
||||
#define VER_V10 10
|
||||
#define VER_V9 9
|
||||
#define VER_V8 8
|
||||
#define VER_V7 7
|
||||
|
||||
#define CURRENT_VER VER_V10
|
||||
#define CURRENT_VER VER_V11
|
||||
|
||||
|
||||
// To work around a warning in GCC 3.2 (and 3.1 ?) regarding non-POD types,
|
||||
|
@ -105,6 +106,7 @@ public:
|
|||
void saveLoadEntries(void *d, const SaveLoadEntry *sle);
|
||||
|
||||
bool isSaving() { return _saveOrLoad; }
|
||||
uint32 getVersion() { return _savegameVersion; }
|
||||
|
||||
bool checkEOFLoadStream();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue