summaryrefslogtreecommitdiffstats
path: root/src/include/game/data.h
blob: 3a3c346e281ae23da717be1a8bd5ee9f90ec3a1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef DATA_H
#define DATA_H

#include "basic_types.h"
#include "game_data.h"
#include "client_data.h"

/* general data structures */
  
#define PLAYER_IS_ACTIVE(x) ((x)->data->speed > 0)

enum {
  GAME_SINGLE = 1,
#ifdef RECORD
  GAME_SINGLE_RECORD = 2,
  GAME_PLAY = 4,
  GAME_PLAY_NETWORK = 8,
  GAME_NETWORK_RECORD
#endif
};

#endif