1
2
3
4
5
6
7
8
9
10
11
12
13
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
+
-
+
+
+
+
|
// loading and saving of savegames & demos, dumps the spawn state of all
// mapents, the full state of all dynents (monsters + player)
#include "cube.h"
#ifdef OF_BIG_ENDIAN
extern int islittleendian;
static const int islittleendian = 0;
#else
static const int islittleendian = 1;
#endif
gzFile f = NULL;
bool demorecording = false;
bool demoplayback = false;
bool demoloading = false;
dvector playerhistory;
int democlientnum = 0;
|