1 | /* |
1 | /* |
2 | * static char *rcsid_newclient_h = |
2 | * static char *rcsid_newclient_h = |
3 | * "$Id: newclient.h,v 1.1 2006/02/03 07:12:49 root Exp $"; |
3 | * "$Id: newclient.h,v 1.2 2006/03/13 20:45:39 root Exp $"; |
4 | */ |
4 | */ |
5 | |
5 | |
6 | /* |
6 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
7 | CrossFire, A Multiplayer game for X-windows |
8 | |
8 | |
… | |
… | |
47 | |
47 | |
48 | #ifndef NEWCLIENT_H |
48 | #ifndef NEWCLIENT_H |
49 | #define NEWCLIENT_H |
49 | #define NEWCLIENT_H |
50 | |
50 | |
51 | /* Maximum size of any packet we expect. Using this makes it so we don't need to |
51 | /* Maximum size of any packet we expect. Using this makes it so we don't need to |
52 | * allocated and deallocated teh same buffer over and over again and the price |
52 | * allocated and deallocated the same buffer over and over again and the price |
53 | * of using a bit of extra memory. IT also makes the code simpler. |
53 | * of using a bit of extra memory. It also makes the code simpler. |
54 | */ |
54 | */ |
55 | #define MAXSOCKBUF 10240 |
55 | #define MAXSOCKBUF 10240 |
56 | |
56 | |
57 | |
57 | |
58 | #define CS_QUERY_YESNO 0x1 /* Yes/no question */ |
58 | #define CS_QUERY_YESNO 0x1 /* Yes/no question */ |