blob: 81c0480cf676d4a96570afecf951fd8070c10190 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#include "system.h"
enum
{
NETMSG_NULL=0,
/* the first thing sent by the client
contains the version info for the client */
NETMSG_INFO=1,
/* sent by server */
NETMSG_MAP,
NETMSG_SNAP,
NETMSG_SNAPEMPTY,
NETMSG_SNAPSMALL,
/* sent by client */
NETMSG_ENTERGAME,
NETMSG_INPUT,
NETMSG_SNAPACK,
/* sent by both */
NETMSG_ERROR,
};
/* this should be revised */
enum
{
MAX_NAME_LENGTH=32,
MAX_CLANNAME_LENGTH=32,
MAX_INPUT_SIZE=128,
MAX_SNAPSHOT_PACKSIZE=1200
};
|