projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added checkbox to level editor for using "game of life" bugs
[rocksndiamonds.git]
/
src
/
libgame
/
snapshot.h
diff --git
a/src/libgame/snapshot.h
b/src/libgame/snapshot.h
index 44afa7b045bd2533a76fac1b0fba9916c0ec540b..cd59d7e3cf971ae75506b498149291524e669d96 100644
(file)
--- a/
src/libgame/snapshot.h
+++ b/
src/libgame/snapshot.h
@@
-16,8
+16,10
@@
#include "misc.h"
#include "misc.h"
+#define SNAPSHOT_MEMORY_DEFAULT (512 * 1024 * 1024)
+
/* needed for comfortably saving engine snapshot buffers */
/* needed for comfortably saving engine snapshot buffers */
-#define ARGS_ADDRESS_AND_SIZEOF(x)
(&(x)), (sizeof(x))
+#define ARGS_ADDRESS_AND_SIZEOF(x) (&(x)), (sizeof(x))
struct SnapshotNodeInfo
{
struct SnapshotNodeInfo
{
@@
-33,11
+35,11
@@
void FreeSnapshotBuffers(ListNode *);
void SaveSnapshotSingle(ListNode *);
void SaveSnapshotToList(ListNode *);
void SaveSnapshotSingle(ListNode *);
void SaveSnapshotToList(ListNode *);
-boolean LoadSnapshotSingle();
+boolean LoadSnapshotSingle(
void
);
boolean LoadSnapshotFromList_Older(int);
boolean LoadSnapshotFromList_Newer(int);
boolean LoadSnapshotFromList_Older(int);
boolean LoadSnapshotFromList_Newer(int);
-boolean CheckSnapshotList();
-void FreeSnapshotSingle();
-void FreeSnapshotList();
+boolean CheckSnapshotList(
void
);
+void FreeSnapshotSingle(
void
);
+void FreeSnapshotList(
void
);
#endif /* SNAPSHOT_H */
#endif /* SNAPSHOT_H */