version 1.30 | | version 1.31 |
---|
| | |
/* | | /* |
* static char *rcsid_newserver_h = | | * static char *rcsid_newserver_h = |
* "$Id: newserver.h,v 1.30 2005/03/19 09:14:57 mwedel Exp $"; | | * "$Id: newserver.h,v 1.31 2005/05/06 21:10:16 tchize Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
uint32 image2:1; /* Client wants image2/face2 commands */ | | uint32 image2:1; /* Client wants image2/face2 commands */ |
uint32 update_look:1; /* If true, we need to send the look window */ | | uint32 update_look:1; /* If true, we need to send the look window */ |
uint32 can_write:1; /* Can we write to this socket? */ | | uint32 can_write:1; /* Can we write to this socket? */ |
| | uint32 has_readable_type:1; /* If true client accept additional text information |
| | used to arrange text in books, scrolls, or scripted dialogs */ |
| | uint32 supported_readables; /* each bit is a readable supported by client */ |
uint32 cs_version, sc_version; /* versions of the client */ | | uint32 cs_version, sc_version; /* versions of the client */ |
enum MapMode mapmode; /* Type of map commands the client wants. */ | | enum MapMode mapmode; /* Type of map commands the client wants. */ |
uint16 look_position; /* start of drawing of look window */ | | uint16 look_position; /* start of drawing of look window */ |
| | |
enum Old_Mode old_mode; | | enum Old_Mode old_mode; |
} NewSocket; | | } NewSocket; |
| | |
| | |
| | #define CLIENT_SUPPORT_READABLES(__sockPtr,__type)\ |
| | ( ((__type)>0) &&\ |
| | ((__sockPtr)->has_readable_type) && \ |
| | ((__sockPtr)->supported_readables & (1<<(__type))) ) |
| | |
| | |
/* Bitmask for the faces_sent[] array - what | | /* Bitmask for the faces_sent[] array - what |
* portion of the face have we sent? | | * portion of the face have we sent? |
*/ | | */ |