ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/newserver.h
(Generate patch)

Comparing deliantra/server/include/newserver.h (file contents):
Revision 1.1 by root, Fri Feb 3 07:12:49 2006 UTC vs.
Revision 1.5 by elmex, Sun Aug 13 17:16:02 2006 UTC

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.5 2006/08/13 17:16:02 elmex 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 */
124 uint32 extcmd:1; /* CF+ call into extensions/plugins */
122 uint32 darkness:1; /* True if client wants darkness information */ 125 uint32 darkness:1; /* True if client wants darkness information */
123 uint32 image2:1; /* Client wants image2/face2 commands */ 126 uint32 image2:1; /* Client wants image2/face2 commands */
124 uint32 update_look:1; /* If true, we need to send the look window */ 127 uint32 update_look:1; /* If true, we need to send the look window */
125 uint32 can_write:1; /* Can we write to this socket? */ 128 uint32 can_write:1; /* Can we write to this socket? */
126 uint32 has_readable_type:1; /* If true client accept additional text information 129 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*/ 139 uint32 ext_mapinfos:1; /* If true client accept additionnal info on maps*/
137 /* Below are flags for extedend infos to pass to client 140 /* Below are flags for extedend infos to pass to client
138 * with S->C mapextended command */ 141 * with S->C mapextended command */
139 uint32 EMI_smooth:1; /* Send smooth in extendmapinfos*/ 142 uint32 EMI_smooth:1; /* Send smooth in extendmapinfos*/
140 143
144 struct mapstruct *current_map; /* CF+ current player map */
145
141 /* Below here is information only relevant for old sockets */ 146 /* Below here is information only relevant for old sockets */
142 char *comment; /* name or listen comment */ 147 char *comment; /* name or listen comment */
143 enum Old_Mode old_mode; 148 enum Old_Mode old_mode;
144} NewSocket; 149} NewSocket;
145 150
193 198
194extern Socket_Info socket_info; 199extern Socket_Info socket_info;
195 200
196#define VERSION_CS 1023 /* version >= 1023 understand setup cmd */ 201#define VERSION_CS 1023 /* version >= 1023 understand setup cmd */
197#define VERSION_SC 1027 202#define VERSION_SC 1027
198#define VERSION_INFO "Crossfire Server" 203#define VERSION_INFO "Crossfire+ Server"
199 204
200 205
201 206
202#endif 207#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines