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

Comparing deliantra/server/include/client.h (file contents):
Revision 1.47 by root, Wed Apr 18 09:38:58 2007 UTC vs.
Revision 1.48 by root, Tue Apr 24 00:42:02 2007 UTC

85 ST_DEAD, // socket is dead 85 ST_DEAD, // socket is dead
86 ST_SETUP, // initial handshake / setup / login 86 ST_SETUP, // initial handshake / setup / login
87 ST_PLAYING, // logged in an playing 87 ST_PLAYING, // logged in an playing
88 ST_CUSTOM, // waiting for custom reply 88 ST_CUSTOM, // waiting for custom reply
89 89
90 ST_CHANGE_CLASS,
91 ST_GET_PARTY_PASSWORD, 90 ST_GET_PARTY_PASSWORD,
92}; 91};
93 92
94// a handler for a specific type of packet 93// a handler for a specific type of packet
95enum { 94enum {
209 bool ACC (RW, monitor_spells); /* Client wishes to be informed when their spell list changes */ 208 bool ACC (RW, monitor_spells); /* Client wishes to be informed when their spell list changes */
210 bool ACC (RW, ext_mapinfos); /* If true client accepts additional info on maps */ 209 bool ACC (RW, ext_mapinfos); /* If true client accepts additional info on maps */
211 /* Below are flags for extedend infos to pass to client 210 /* Below are flags for extedend infos to pass to client
212 * with S->C mapextended command */ 211 * with S->C mapextended command */
213 bool ACC (RW, EMI_smooth); /* Send smooth in extendmapinfos */ 212 bool ACC (RW, EMI_smooth); /* Send smooth in extendmapinfos */
214 bool ACC (RW, smoothing); // cfplus-style smoothing 213 bool ACC (RW, smoothing); // trt-style smoothing
214 bool ACC (RW, can_msg); // trt-style text messages
215 215
216 bool ACC (RW, force_newmap); // force a newmap before next map update 216 bool ACC (RW, force_newmap); // force a newmap before next map update
217 uint32 ACC (RW, supported_readables); /* each bit is a readable supported by client */ 217 uint32 ACC (RW, supported_readables); /* each bit is a readable supported by client */
218 uint32 ACC (RW, cs_version), ACC (RW, sc_version); /* versions of the client */ 218 uint32 ACC (RW, cs_version), ACC (RW, sc_version); /* versions of the client */
219 uint16 ACC (RW, look_position); /* start of drawing of look window */ 219 uint16 ACC (RW, look_position); /* start of drawing of look window */
289 void send_drawinfo (const char *msg, int flags = NDI_BLACK); 289 void send_drawinfo (const char *msg, int flags = NDI_BLACK);
290 MTH void send_face (faceidx facenum); 290 MTH void send_face (faceidx facenum);
291 MTH void send_image (faceidx facenum); 291 MTH void send_image (faceidx facenum);
292 MTH void send_faces (object *ob); 292 MTH void send_faces (object *ob);
293 MTH void send_animation (short anim_num); 293 MTH void send_animation (short anim_num);
294 MTH void send_msg (int color, const char *type, const char *msg);
294 295
295 // called when something under the player changes 296 // called when something under the player changes
296 MTH void floorbox_update () { update_look = 1; } 297 MTH void floorbox_update () { update_look = 1; }
297 // called when the player has been moved 298 // called when the player has been moved
298 MTH void floorbox_reset () { look_position = 0; floorbox_update (); } 299 MTH void floorbox_reset () { look_position = 0; floorbox_update (); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines