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.43 by root, Mon Apr 2 18:54:00 2007 UTC vs.
Revision 1.45 by root, Tue Apr 3 00:21:37 2007 UTC

200 bool ACC (RW, extcmd); // call into extensions/plugins 200 bool ACC (RW, extcmd); // call into extensions/plugins
201 bool ACC (RW, extmap); // extend map comamnd with extra data 201 bool ACC (RW, extmap); // extend map comamnd with extra data
202 bool ACC (RW, buggy_mapscroll); // client crashes on large mapscrolls 202 bool ACC (RW, buggy_mapscroll); // client crashes on large mapscrolls
203 bool ACC (RW, darkness); /* True if client wants darkness information */ 203 bool ACC (RW, darkness); /* True if client wants darkness information */
204 bool ACC (RW, image2); /* Client wants image2/face2 commands */ 204 bool ACC (RW, image2); /* Client wants image2/face2 commands */
205 bool ACC (RW, fxix); // client implements fx and ix (face|image extended) commands
205 bool ACC (RW, update_look); /* If true, we need to send the look window */ 206 bool ACC (RW, update_look); /* If true, we need to send the look window */
206 bool ACC (RW, has_readable_type); /* If true client accept additional text information */ 207 bool ACC (RW, has_readable_type); /* If true client accept additional text information */
207 /* used to arrange text in books, scrolls, or scripted dialogs */ 208 /* used to arrange text in books, scrolls, or scripted dialogs */
208 bool ACC (RW, monitor_spells); /* Client wishes to be informed when their spell list changes */ 209 bool ACC (RW, monitor_spells); /* Client wishes to be informed when their spell list changes */
209 bool ACC (RW, ext_mapinfos); /* If true client accepts additional info on maps */ 210 bool ACC (RW, ext_mapinfos); /* If true client accepts additional info on maps */
228 229
229 player_ptr ACC (RO, pl); 230 player_ptr ACC (RO, pl);
230 231
231 int ACC (RW, rtt), ACC (RW, rttvar); /* round-trip time and -variance, if known */ 232 int ACC (RW, rtt), ACC (RW, rttvar); /* round-trip time and -variance, if known */
232 233
234 int ACC (RW, rate_avail); // current rate balance
233 int ACC (RW, max_rate); // max. # of bytes to send per tick 235 int ACC (RW, max_rate); // max. # of bytes to send per tick
234 faceidx ACC (RW, scrub_idx); // which face to send next 236 faceidx ACC (RW, scrub_idx); // which face to send next
235 int ACC (RW, bg_scrub); // how many ticks till the next background face send 237 int ACC (RW, bg_scrub); // how many ticks till the next background face send
238
239 faceidx partial_face;
240 uint32 partial_face_ofs; // if != 0, need to send remaining bytes of partial_face
236 std::vector<faceidx> askface; // which faces have been requested by the client 241 std::vector<faceidx, slice_allocator<faceidx> > askface; // which faces have been requested by the client
242
243 std::vector<faceidx, slice_allocator<faceidx> > fxface; // which faces to send using fx
244 MTH void flush_fx (); // send fx if required
237 245
238 void do_destroy (); 246 void do_destroy ();
239 void gather_callbacks (AV *&callbacks, event_type event) const; 247 void gather_callbacks (AV *&callbacks, event_type event) const;
240 248
241 iow socket_ev; void socket_cb (iow &w, int got); 249 iow socket_ev; void socket_cb (iow &w, int got);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines