]> git.lizzy.rs Git - dragonblocks_alpha.git/blob - src/clientcommands.h
Move code to src/
[dragonblocks_alpha.git] / src / clientcommands.h
1 #ifndef _CLIENT_COMMAND_H_
2 #define _CLIENT_COMMAND_H_
3
4 typedef enum
5 {
6         CLIENT_COMMAND_NULL,
7         CC_DISCONNECT,
8         CC_AUTH,
9         CC_BLOCK,
10         CLIENT_COMMAND_COUNT
11 } ClientCommand;
12
13 #ifdef _SERVER_H_
14 typedef ClientCommand RemoteCommand;
15 #endif
16
17 #ifdef _CLIENT_H_
18 typedef ClientCommand HostCommand;
19 #define HOST_COMMAND_COUNT CLIENT_COMMAND_COUNT
20 #endif
21
22 #endif