… | |
… | |
116 | { |
116 | { |
117 | int ACC (RW, fd); |
117 | int ACC (RW, fd); |
118 | unsigned int inbuf_len; // number of bytes valid in inbuf |
118 | unsigned int inbuf_len; // number of bytes valid in inbuf |
119 | statsinfo stats; |
119 | statsinfo stats; |
120 | int ACC (RO, active); |
120 | int ACC (RO, active); |
|
|
121 | player_ptr ACC (RO, pl); |
121 | |
122 | |
122 | /* The following is the setup for a ring buffer for storing output |
123 | /* The following is the setup for a ring buffer for storing output |
123 | * data that the OS can't handle right away. |
124 | * data that the OS can't handle right away. |
124 | */ |
125 | */ |
125 | struct |
126 | struct |
… | |
… | |
187 | region *ACC (RW, current_region); // CF+ last/current player region |
188 | region *ACC (RW, current_region); // CF+ last/current player region |
188 | int ACC (RW, current_x), ACC (RW, current_y); // CF+ last/current map position |
189 | int ACC (RW, current_x), ACC (RW, current_y); // CF+ last/current map position |
189 | shstr ACC (RW, version); // CF+ client name/version |
190 | shstr ACC (RW, version); // CF+ client name/version |
190 | uint8 ACC (RW, faceset); // CF+ selected faceset |
191 | uint8 ACC (RW, faceset); // CF+ selected faceset |
191 | |
192 | |
192 | player_ptr ACC (RO, pl); |
193 | tstamp ACC (RW, last_send); // last data send on socket. |
193 | |
194 | |
194 | int ACC (RW, rtt), ACC (RW, rttvar); /* round-trip time and -variance, if known */ |
195 | int ACC (RW, rtt), ACC (RW, rttvar); /* round-trip time and -variance, if known */ |
195 | |
196 | |
196 | int ACC (RW, rate_avail); // current rate balance |
197 | int ACC (RW, rate_avail); // current rate balance |
197 | int ACC (RW, max_rate); // max. # of bytes to send per tick |
198 | int ACC (RW, max_rate); // max. # of bytes to send per tick |