changed comments from old to new style (one-line comments only)
[rocksndiamonds.git] / src / libgame / snapshot.h
index 44afa7b045bd2533a76fac1b0fba9916c0ec540b..41fca6407a4a185cefbaa010534d87c164113b5a 100644 (file)
 #include "misc.h"
 
 
-/* needed for comfortably saving engine snapshot buffers */
-#define ARGS_ADDRESS_AND_SIZEOF(x)             (&(x)), (sizeof(x))
+#define SNAPSHOT_MEMORY_DEFAULT                (512 * 1024 * 1024)
+
+// needed for comfortably saving engine snapshot buffers
+#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 */
+#endif // SNAPSHOT_H