version 1.29 | | version 1.30 |
---|
| | |
/* | | /* |
* static char *rcsid_newserver_h = | | * static char *rcsid_newserver_h = |
* "$Id: newserver.h,v 1.29 2003/09/13 05:01:33 mwedel Exp $"; | | * "$Id: newserver.h,v 1.30 2005/03/19 09:14:57 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
enum Sock_Status status; | | enum Sock_Status status; |
int fd; | | int fd; |
struct Map lastmap; | | struct Map lastmap; |
uint8 faces_sent[MAXFACENUM]; | | uint8 faces_sent[MAXFACENUM]; /* This is a bitmap on sent face status */ |
uint8 anims_sent[MAXANIMNUM]; | | uint8 anims_sent[MAXANIMNUM]; |
struct statsinfo stats; | | struct statsinfo stats; |
/* If we get an incomplete packet, this is used to hold the data. */ | | /* If we get an incomplete packet, this is used to hold the data. */ |
| | |
enum Old_Mode old_mode; | | enum Old_Mode old_mode; |
} NewSocket; | | } NewSocket; |
| | |
| | /* Bitmask for the faces_sent[] array - what |
| | * portion of the face have we sent? |
| | */ |
| | #define NS_FACESENT_FACE 0x1 |
| | #define NS_FACESENT_SMOOTH 0x2 |
| | |
/*Constants in the form EMI_ is for extended map infos. | | /*Constants in the form EMI_ is for extended map infos. |
* Even if the client select the additionnal infos it wants | | * Even if the client select the additionnal infos it wants |
* on the map, there may exist cases where this whole info | | * on the map, there may exist cases where this whole info |
| | |
*/ | | */ |
#define EMI_NOREDRAW 0x01 | | #define EMI_NOREDRAW 0x01 |
#define EMI_SMOOTH 0x02 | | #define EMI_SMOOTH 0x02 |
| | |
/*this last one says the bitfield continue un next byte | | /*this last one says the bitfield continue un next byte |
* There may be several on contiguous bytes. So there is 7 | | * There may be several on contiguous bytes. So there is 7 |
* actual bits used per byte, and the number of bytes | | * actual bits used per byte, and the number of bytes |