… | |
… | |
173 | unsigned int inbuf_len; // number of bytes valid in inbuf |
173 | unsigned int inbuf_len; // number of bytes valid in inbuf |
174 | uint8 *faces_sent; // This is a bitmap on sent face status |
174 | uint8 *faces_sent; // This is a bitmap on sent face status |
175 | statsinfo stats; |
175 | statsinfo stats; |
176 | int ACC (RO, active); |
176 | int ACC (RO, active); |
177 | |
177 | |
178 | client_container cc_inv, cc_other; |
|
|
179 | Buffer outputbuffer; |
178 | Buffer outputbuffer; |
180 | |
179 | |
181 | char *ACC (RW, host); /* Which host it is connected from (ip address) */ |
180 | char *ACC (RW, host); /* Which host it is connected from (ip address) */ |
182 | uint8 ACC (RW, state); /* Input state of the player (name, password, etc */ |
181 | uint8 ACC (RW, state); /* Input state of the player (name, password, etc */ |
183 | |
182 | |
… | |
… | |
233 | 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 */ |
234 | |
233 | |
235 | void do_destroy (); |
234 | void do_destroy (); |
236 | void gather_callbacks (AV *&callbacks, event_type event) const; |
235 | void gather_callbacks (AV *&callbacks, event_type event) const; |
237 | |
236 | |
|
|
237 | iow socket_ev; void socket_cb (iow &w, int got); |
238 | iw cmd_ev; void cmd_cb (iw &w); |
238 | iw cmd_ev; void cmd_cb (iw &w); |
239 | iow socket_ev; void socket_cb (iow &w, int got); |
239 | client_container cc_inv, cc_other; |
240 | |
240 | |
241 | std::deque< command, slice_allocator<command> > cmd_queue; |
241 | std::deque< command, slice_allocator<command> > cmd_queue; |
242 | |
242 | |
243 | // large structures at the end please |
243 | // large structures at the end please |
244 | struct Map lastmap; |
244 | struct Map lastmap; |