changed "http" to "https" in URLs
[rocksndiamonds.git] / src / libgame / snapshot.h
index 44afa7b045bd2533a76fac1b0fba9916c0ec540b..f2be9c19630e804b0178e1511b400acf26e92cdb 100644 (file)
@@ -4,7 +4,7 @@
 // (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
 {
@@ -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