28 #ifndef WINTERMUTE_BASE_PERSISTENCE_MANAGER_H 29 #define WINTERMUTE_BASE_PERSISTENCE_MANAGER_H 32 #include "engines/wintermute/dctypes.h" 33 #include "engines/wintermute/base/gfx/xmath.h" 34 #include "engines/savestate.h" 35 #include "common/stream.h" 36 #include "common/str.h" 37 #include "common/system.h" 38 #include "common/rect.h" 45 char *_savedDescription;
50 void putDWORD(uint32 val);
53 void putString(
const char *val);
55 void putFloat(
float val);
57 void putDouble(
double val);
60 bool deleteSaveSlot(
int slot);
61 uint32 getMaxUsedSlot();
62 bool getSaveExists(
int slot);
65 bool getBytes(byte *buffer, uint32 size);
66 bool putBytes(byte *buffer, uint32 size);
69 bool getIsSaving() {
return _saving; }
70 TimeDate getSavedTimestamp() {
return _savedTimestamp; }
72 uint32 _richBufferSize;
75 bool transferPtr(
const char *name,
void *val);
76 bool transferSint32(
const char *name, int32 *val);
77 bool transferUint32(
const char *name, uint32 *val);
78 bool transferFloat(
const char *name,
float *val);
79 bool transferDouble(
const char *name,
double *val);
80 bool transferBool(
const char *name,
bool *val);
81 bool transferByte(
const char *name, byte *val);
84 bool transferConstChar(
const char *name,
const char **val);
85 bool transferCharPtr(
const char *name,
char **val);
87 bool transferVector2(
const char *name,
DXVector2 *val);
88 bool transferVector3d(
const char *name,
DXVector3 *val);
89 bool transferVector4d(
const char *name,
DXVector4 *val);
90 bool transferMatrix4(
const char *name,
DXMatrix *val);
93 bool checkVersion(byte verMajor, byte verMinor, byte verBuild);
95 uint32 _thumbnailDataSize;
97 uint32 _scummVMThumbSize;
98 byte *_scummVMThumbnailData;
101 bool _deleteSingleton;
104 bool putTimeDate(
const TimeDate &t);
108 uint32 _savedPlayTime;
Definition: base_game.h:79
Definition: base_persistence_manager.h:43
Definition: savestate.h:56
Definition: achievements_tables.h:27