fixed compiler warnings (after adding "-Wstrict-prototypes")
[rocksndiamonds.git] / src / libgame / snapshot.h
index 44afa7b045bd2533a76fac1b0fba9916c0ec540b..cd59d7e3cf971ae75506b498149291524e669d96 100644 (file)
 #include "misc.h"
 
 
+#define SNAPSHOT_MEMORY_DEFAULT                (512 * 1024 * 1024)
+
 /* 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
 {
@@ -33,11 +35,11 @@ void FreeSnapshotBuffers(ListNode *);
 
 void SaveSnapshotSingle(ListNode *);
 void SaveSnapshotToList(ListNode *);
-boolean LoadSnapshotSingle();
+boolean LoadSnapshotSingle(void);
 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 */