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.110 by root, Fri Nov 9 00:11:49 2012 UTC vs.
Revision 1.111 by root, Sun Nov 11 04:29:11 2012 UTC

167 float ACC (RW, last_speed); /* Last speed as sent to client */ 167 float ACC (RW, last_speed); /* Last speed as sent to client */
168 sint16 ACC (RW, last_resist[NROFATTACKS]);/* last resist values sent to client */ 168 sint16 ACC (RW, last_resist[NROFATTACKS]);/* last resist values sent to client */
169 sint64 ACC (RW, last_skill_exp[CS_NUM_SKILLS]);/* shadow register. if != exp. obj update client */ 169 sint64 ACC (RW, last_skill_exp[CS_NUM_SKILLS]);/* shadow register. if != exp. obj update client */
170 170
171 bool ACC (RW, afk); /* player is afk */ 171 bool ACC (RW, afk); /* player is afk */
172 bool ACC (RW, sent_scroll); 172 bool ACC (RW, sent_scroll);
173 bool ACC (RW, sound); /* does the client want sound */ 173 bool ACC (RW, sound); /* does the client want sound */
174 bool ACC (RW, bumpmsg); /* give message when bumping into walls */ 174 bool ACC (RW, bumpmsg); /* give message when bumping into walls */
175 175
176 bool ACC (RW, plugincmd); // extend the protocol through a plug-in */ 176 bool ACC (RW, plugincmd); // extend the protocol through a plug-in */
177 bool ACC (RW, mapinfocmd); // return map info and send map change info 177 bool ACC (RW, mapinfocmd); // return map info and send map change info
178 uint8_t ACC (RW, extcmd); // call into extensions/plugins 178 uint8 ACC (RW, extcmd); // call into extensions/plugins
179 bool ACC (RW, need_delinv0); /* If true, we need to delinv 0 before sending new floorbox */ 179 bool ACC (RW, need_delinv0); /* If true, we need to delinv 0 before sending new floorbox */
180 180
181 bool ACC (RW, update_look); /* If true, we need to send the look window */ 181 bool ACC (RW, update_look); /* If true, we need to send the look window */
182 bool ACC (RW, update_spells); // If true, we need to esrv_update_spells 182 bool ACC (RW, update_spells); // If true, we need to esrv_update_spells
183 bool ACC (RW, has_readable_type); /* If true client accept additional text information */ 183 bool ACC (RW, has_readable_type); /* If true client accept additional text information */
217 void mapinfo_queue_clear (); 217 void mapinfo_queue_clear ();
218 void mapinfo_queue_run (); 218 void mapinfo_queue_run ();
219 bool mapinfo_try (char *buf); 219 bool mapinfo_try (char *buf);
220 220
221 struct ixsend { 221 struct ixsend {
222 int16_t pri; // higher means faces are sent earlier, default 0 222 sint16 pri; // higher means faces are sent earlier, default 0
223 faceidx idx; 223 faceidx idx;
224 uint32_t ofs; // if != 0, need to send remaining bytes of partial_face 224 uint32 ofs; // if != 0, need to send remaining bytes of partial_face
225 refcnt_buf data; 225 uint8 *data;
226 SV *data_sv;
226 }; 227 };
227 std::vector<ixsend, slice_allocator<ixsend> > ixface; // which faces to send to the client using ix 228 std::vector<ixsend, slice_allocator<ixsend> > ixface; // which faces to send to the client using ix
229 MTH void ix_send (faceidx idx, sint16 pri, SV *data_sv); // keeps a copy of data_sv
230 void ix_pop (); // pops topmost ixsend
228 231
229 std::vector<faceidx, slice_allocator<faceidx> > fxface; // which faces to send using fx 232 std::vector<faceidx, slice_allocator<faceidx> > fxface; // which faces to send using fx
230 MTH void flush_fx (); // send fx if required 233 MTH void flush_fx (); // send fx if required
231 234
232 MTH void invalidate_face (faceidx idx); 235 MTH void invalidate_face (faceidx idx);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines