src/network.h

changeset 189
444dfdf790b8
parent 188
bb967c8e51e9
child 191
6da16865a270
equal deleted inserted replaced
188:bb967c8e51e9 189:444dfdf790b8
35 35
36 #ifdef __cplusplus 36 #ifdef __cplusplus
37 extern "C" { 37 extern "C" {
38 #endif 38 #endif
39 39
40 #define NETCODE_ACCEPT 0x02 40 #define NETCODE_ACCEPT 0x01
41 #define NETCODE_DECLINE 0x04 41 #define NETCODE_DECLINE 0x02
42 #define NETCODE_DECLINE_MOVE 0x05
43 #define NETCODE_GAMEINFO 0x10 42 #define NETCODE_GAMEINFO 0x10
44 #define NETCODE_PGNDATA 0x11 43 #define NETCODE_PGNDATA 0x11
45 #define NETCODE_MOVE 0x20 44 #define NETCODE_MOVE 0x20
46 #define NETCODE_CHECKMATE 0x23 45 #define NETCODE_ACCEPT_MOVE 0x21
47 #define NETCODE_STALEMATE 0x28 46 #define NETCODE_DECLINE_MOVE 0x22
48 #define NETCODE_NOMATERIAL 0x29 47 #define NETCODE_CHECKMATE 0x30
49 #define NETCODE_THREEFOLD 0x30 48 #define NETCODE_STALEMATE 0x31
49 #define NETCODE_NOMATERIAL 0x32
50 #define NETCODE_THREEFOLD 0x33
50 #define NETCODE_RESIGN 0x41 51 #define NETCODE_RESIGN 0x41
51 #define NETCODE_REMIS 0x42 52 #define NETCODE_REMIS 0x42
52 #define NETCODE_TAUNT 0x43 53 #define NETCODE_TAUNT 0x43
53 #define NETCODE_TIMEOVER 0x44 54 #define NETCODE_TIMEOVER 0x44
54 #define NETCODE_AGAIN 0x70 55 #define NETCODE_AGAIN 0x70

mercurial