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.83 by root, Fri Dec 26 10:44:17 2008 UTC vs.
Revision 1.84 by root, Sat Dec 27 01:25:00 2008 UTC

174 living ACC (RO, last_stats); /* Last stats as sent to client */ 174 living ACC (RO, last_stats); /* Last stats as sent to client */
175 float ACC (RW, last_speed); /* Last speed as sent to client */ 175 float ACC (RW, last_speed); /* Last speed as sent to client */
176 sint16 ACC (RW, last_resist[NROFATTACKS]);/* last resist values sent to client */ 176 sint16 ACC (RW, last_resist[NROFATTACKS]);/* last resist values sent to client */
177 sint64 ACC (RW, last_skill_exp[NUM_SKILLS]);/* shadow register. if != exp. obj update client */ 177 sint64 ACC (RW, last_skill_exp[NUM_SKILLS]);/* shadow register. if != exp. obj update client */
178 178
179 bool ACC (RW, force_face0); // client workaround for buggy checksum calculation in gcfclient
180 bool ACC (RW, force_bad_checksum); // client workaround for buggy checksum calculation in gcfclient
181 bool ACC (RW, force_image_newmap); // client workaround for client not redrawing map on image upload
182 bool ACC (RW, enable_bg_scrub); // client workaround, gcfclient becomes unusable if you send it images
183
184 bool ACC (RW, afk); /* player is afk */ 179 bool ACC (RW, afk); /* player is afk */
185 bool ACC (RW, facecache); /* If true, client is caching images */
186 bool ACC (RW, sent_scroll); 180 bool ACC (RW, sent_scroll);
187 bool ACC (RW, sound); /* does the client want sound */ 181 bool ACC (RW, sound); /* does the client want sound */
188 bool ACC (RW, newmapcmd); /* Send newmap command when entering new map SMACFIGGEN */ 182 bool ACC (RW, newmapcmd); /* Send newmap command when entering new map SMACFIGGEN */
189 bool ACC (RW, plugincmd); // extend the protocol through a plug-in */ 183 bool ACC (RW, plugincmd); // extend the protocol through a plug-in */
190 bool ACC (RW, mapinfocmd); // return map info and send map change info 184 bool ACC (RW, mapinfocmd); // return map info and send map change info
191 uint8_t ACC (RW, extcmd); // call into extensions/plugins 185 uint8_t ACC (RW, extcmd); // call into extensions/plugins
192 bool ACC (RW, extmap); // extend map comamnd with extra data 186 bool ACC (RW, extmap); // extend map command with extra data
193 bool ACC (RW, buggy_mapscroll); // client crashes on large mapscrolls
194 bool ACC (RW, darkness); /* True if client wants darkness information */
195 bool ACC (RW, image2); /* Client wants image2/face2 commands */
196 uint8_t ACC (RW, fxix); // client implements fx and ix (face|image extended) commands
197 bool ACC (RW, update_look); /* If true, we need to send the look window */ 187 bool ACC (RW, update_look); /* If true, we need to send the look window */
198 bool ACC (RW, has_readable_type); /* If true client accept additional text information */ 188 bool ACC (RW, has_readable_type); /* If true client accept additional text information */
199 /* used to arrange text in books, scrolls, or scripted dialogs */ 189 /* used to arrange text in books, scrolls, or scripted dialogs */
200 bool ACC (RW, monitor_spells); /* Client wishes to be informed when their spell list changes */ 190 bool ACC (RW, monitor_spells); /* Client wishes to be informed when their spell list changes */
201 bool ACC (RW, smoothing); // trt-style smoothing 191 bool ACC (RW, smoothing); // deliantra-style smoothing
202 bool ACC (RW, can_msg); // trt-style text messages 192 bool ACC (RW, can_msg); // deliantra-style text messages
203 193
204 bool ACC (RW, force_newmap); // force a newmap before next map update 194 bool ACC (RW, force_newmap); // force a newmap before next map update
205 uint32 ACC (RW, supported_readables); /* each bit is a readable supported by client */ 195 uint32 ACC (RW, supported_readables); /* each bit is a readable supported by client */
206 uint32 ACC (RW, cs_version), ACC (RW, sc_version); /* versions of the client */ 196 uint32 ACC (RW, cs_version), ACC (RW, sc_version); /* versions of the client */
207 uint16 ACC (RW, look_position); /* start of drawing of look window */ 197 uint16 ACC (RW, look_position); /* start of drawing of look window */
305 void send_packet (packet &sl); 295 void send_packet (packet &sl);
306 296
307 void send_drawinfo (const char *msg, int flags = NDI_BLACK); 297 void send_drawinfo (const char *msg, int flags = NDI_BLACK);
308 298
309 MTH void send_face (faceidx facenum, int pri = 0); 299 MTH void send_face (faceidx facenum, int pri = 0);
310 MTH void send_image (faceidx facenum);
311 MTH void send_faces (object *ob); 300 MTH void send_faces (object *ob);
312 MTH void send_animation (short anim_num); 301 MTH void send_animation (short anim_num);
313 void send_msg (int color, const char *type, const char *msg); 302 void send_msg (int color, const char *type, const char *msg);
314 303
315 MTH void play_sound (faceidx sound, int dx = 0, int dy = 0); 304 MTH void play_sound (faceidx sound, int dx = 0, int dy = 0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines