// (c) 1995-2014 by Artsoft Entertainment
// Holger Schemel
// info@artsoft.org
-// http://www.artsoft.org/
+// https://www.artsoft.org/
// ----------------------------------------------------------------------------
// snapshot.h
// ============================================================================
#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
{
void LoadSnapshotBuffers(ListNode *);
void FreeSnapshotBuffers(ListNode *);
-void SaveSnapshotSingle();
-void SaveSnapshotToList();
-boolean LoadSnapshotSingle();
-boolean LoadSnapshotFromList_Older();
-boolean LoadSnapshotFromList_Newer();
-boolean CheckSnapshotList();
-void FreeSnapshotSingle();
-void FreeSnapshotList();
+void SaveSnapshotSingle(ListNode *);
+void SaveSnapshotToList(ListNode *);
+boolean LoadSnapshotSingle(void);
+boolean LoadSnapshotFromList_Older(int);
+boolean LoadSnapshotFromList_Newer(int);
+boolean CheckSnapshotList(void);
+void FreeSnapshotSingle(void);
+void FreeSnapshotList(void);
-#endif /* SNAPSHOT_H */
+#endif // SNAPSHOT_H