1 | /* |
1 | /* |
2 | * static char *rcsid_newserver_h = |
2 | * static char *rcsid_newserver_h = |
3 | * "$Id: newserver.h,v 1.1 2006/02/03 07:12:49 root Exp $"; |
3 | * "$Id: newserver.h,v 1.2 2006/04/15 22:38:30 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 | |
… | |
… | |
117 | uint32 facecache:1; /* If true, client is caching images */ |
117 | uint32 facecache:1; /* If true, client is caching images */ |
118 | uint32 sent_scroll:1; |
118 | uint32 sent_scroll:1; |
119 | uint32 sound:1; /* does the client want sound */ |
119 | uint32 sound:1; /* does the client want sound */ |
120 | uint32 exp64:1; /* Client wants 64 bit exp data, as well as skill data */ |
120 | uint32 exp64:1; /* Client wants 64 bit exp data, as well as skill data */ |
121 | uint32 newmapcmd:1; /* Send newmap command when entering new map SMACFIGGEN*/ |
121 | uint32 newmapcmd:1; /* Send newmap command when entering new map SMACFIGGEN*/ |
|
|
122 | uint32 plugincmd:1; /* CF+ extend the protocol through a plug-in */ |
|
|
123 | uint32 mapinfocmd:1; /* CF+ return map info and send map change info */ |
122 | uint32 darkness:1; /* True if client wants darkness information */ |
124 | uint32 darkness:1; /* True if client wants darkness information */ |
123 | uint32 image2:1; /* Client wants image2/face2 commands */ |
125 | uint32 image2:1; /* Client wants image2/face2 commands */ |
124 | uint32 update_look:1; /* If true, we need to send the look window */ |
126 | uint32 update_look:1; /* If true, we need to send the look window */ |
125 | uint32 can_write:1; /* Can we write to this socket? */ |
127 | uint32 can_write:1; /* Can we write to this socket? */ |
126 | uint32 has_readable_type:1; /* If true client accept additional text information |
128 | uint32 has_readable_type:1; /* If true client accept additional text information |
… | |
… | |
136 | uint32 ext_mapinfos:1; /* If true client accept additionnal info on maps*/ |
138 | uint32 ext_mapinfos:1; /* If true client accept additionnal info on maps*/ |
137 | /* Below are flags for extedend infos to pass to client |
139 | /* Below are flags for extedend infos to pass to client |
138 | * with S->C mapextended command */ |
140 | * with S->C mapextended command */ |
139 | uint32 EMI_smooth:1; /* Send smooth in extendmapinfos*/ |
141 | uint32 EMI_smooth:1; /* Send smooth in extendmapinfos*/ |
140 | |
142 | |
|
|
143 | struct mapdef *current_map; /* CF+ current player map */ |
|
|
144 | |
141 | /* Below here is information only relevant for old sockets */ |
145 | /* Below here is information only relevant for old sockets */ |
142 | char *comment; /* name or listen comment */ |
146 | char *comment; /* name or listen comment */ |
143 | enum Old_Mode old_mode; |
147 | enum Old_Mode old_mode; |
144 | } NewSocket; |
148 | } NewSocket; |
145 | |
149 | |