1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// loading and saving of savegames & demos, dumps the spawn state of all
// mapents, the full state of all dynents (monsters + player)
#include "cube.h"
#import "Command.h"
#import "Entity.h"
#import "Monster.h"
#import "Player.h"
#ifdef OF_BIG_ENDIAN
static const int islittleendian = 0;
#else
static const int islittleendian = 1;
#endif
|
>
|
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"
#import "Command.h"
#import "Entity.h"
#import "Monster.h"
#import "Player.h"
#import "Variable.h"
#ifdef OF_BIG_ENDIAN
static const int islittleendian = 0;
#else
static const int islittleendian = 1;
#endif
|