source: abuse/tags/pd/abuse/net/nstruct.hpp @ 161

Last change on this file since 161 was 49, checked in by Sam Hocevar, 15 years ago
  • Imported original public domain release, for future reference.
File size: 394 bytes
Line 
1#define MAX_PLAYERS        50
2#define PLAYER_INPUT_SIZE  10
3
4enum { PLAYER_FREE,
5       PLAYER_CONNECTED,
6       PLAYER_DISCONNECTED } ;  // server shold set to PLAYER_FREE after netdriver sets to disconnect
7
8
9#define NET_FLAG_RUNNING      1
10#define NET_FLAG_LOCK_ENTRIES 2   
11
12struct net_struct
13{
14  char server_flags;
15  char driver_flags;
16  unsigned char player_status[MAX_PLAYERS];
17 
18 
19
20}
21
22
Note: See TracBrowser for help on using the repository browser.