… | |
… | |
193 | bool ACC (RW, plugincmd); /* CF+ extend the protocol through a plug-in */ |
193 | bool ACC (RW, plugincmd); /* CF+ extend the protocol through a plug-in */ |
194 | bool ACC (RW, mapinfocmd); /* CF+ return map info and send map change info */ |
194 | bool ACC (RW, mapinfocmd); /* CF+ return map info and send map change info */ |
195 | bool ACC (RW, extcmd); /* CF+ call into extensions/plugins */ |
195 | bool ACC (RW, extcmd); /* CF+ call into extensions/plugins */ |
196 | bool ACC (RW, extmap); /* CF+ extend map comamnd with extra data */ |
196 | bool ACC (RW, extmap); /* CF+ extend map comamnd with extra data */ |
197 | bool ACC (RW, buggy_mapscroll); /* CF+ client crashes on large mapscrolls */ |
197 | bool ACC (RW, buggy_mapscroll); /* CF+ client crashes on large mapscrolls */ |
|
|
198 | bool ACC (RW, force_face0); /* CF+ client workaround for buggy checksum calculation in gcfclient */ |
|
|
199 | bool ACC (RW, force_bad_checksum); /* CF+ client workaround for buggy checksum calculation in gcfclient */ |
198 | bool ACC (RW, darkness); /* True if client wants darkness information */ |
200 | bool ACC (RW, darkness); /* True if client wants darkness information */ |
199 | bool ACC (RW, image2); /* Client wants image2/face2 commands */ |
201 | bool ACC (RW, image2); /* Client wants image2/face2 commands */ |
200 | bool ACC (RW, update_look); /* If true, we need to send the look window */ |
202 | bool ACC (RW, update_look); /* If true, we need to send the look window */ |
201 | bool ACC (RW, has_readable_type); /* If true client accept additional text information */ |
203 | bool ACC (RW, has_readable_type); /* If true client accept additional text information */ |
202 | /* used to arrange text in books, scrolls, or scripted dialogs */ |
204 | /* used to arrange text in books, scrolls, or scripted dialogs */ |
… | |
… | |
261 | void send_packet (const char *buf); |
263 | void send_packet (const char *buf); |
262 | void send_packet (const char *buf, int len); |
264 | void send_packet (const char *buf, int len); |
263 | void send_packet_printf (const char *format, ...); |
265 | void send_packet_printf (const char *format, ...); |
264 | void send_packet (packet &sl); |
266 | void send_packet (packet &sl); |
265 | |
267 | |
|
|
268 | void send_drawinfo (const char *msg, int flags = NDI_BLACK); |
|
|
269 | MTH void send_face (faceidx facenum, bool nocache = false); |
|
|
270 | MTH void send_faces (object *ob); |
|
|
271 | MTH void send_smooth (faceidx facenum); |
|
|
272 | MTH void send_animation (short anim_num); |
|
|
273 | |
266 | // called when something under the player changes |
274 | // called when something under the player changes |
267 | MTH void floorbox_update () { update_look = 1; } |
275 | MTH void floorbox_update () { update_look = 1; } |
268 | // called when the player has been moved |
276 | // called when the player has been moved |
269 | MTH void floorbox_reset () { look_position = 0; floorbox_update (); } |
277 | MTH void floorbox_reset () { look_position = 0; floorbox_update (); } |
270 | |
278 | |