Lines Matching refs:msg

110 void SV_EmitNailUpdate (sizebuf_t *msg)
120 MSG_WriteByte (msg, svc_nails);
121 MSG_WriteByte (msg, numnails);
140 MSG_WriteByte (msg, bits[i]);
155 void SV_WriteDelta (entity_state_t *from, entity_state_t *to, sizebuf_t *msg, qboolean force)
214 MSG_WriteShort (msg, i);
217 MSG_WriteByte (msg, bits&255);
219 MSG_WriteByte (msg, to->modelindex);
221 MSG_WriteByte (msg, to->frame);
223 MSG_WriteByte (msg, to->colormap);
225 MSG_WriteByte (msg, to->skinnum);
227 MSG_WriteByte (msg, to->effects);
229 MSG_WriteCoord (msg, to->origin[0]);
231 MSG_WriteAngle(msg, to->angles[0]);
233 MSG_WriteCoord (msg, to->origin[1]);
235 MSG_WriteAngle(msg, to->angles[1]);
237 MSG_WriteCoord (msg, to->origin[2]);
239 MSG_WriteAngle(msg, to->angles[2]);
250 void SV_EmitPacketEntities (client_t *client, packet_entities_t *to, sizebuf_t *msg)
266 MSG_WriteByte (msg, svc_deltapacketentities);
267 MSG_WriteByte (msg, client->delta_sequence);
274 MSG_WriteByte (msg, svc_packetentities);
289 SV_WriteDelta (&from->entities[oldindex], &to->entities[newindex], msg, false);
299 SV_WriteDelta (&ent->baseline, &to->entities[newindex], msg, true);
307 MSG_WriteShort (msg, oldnum | U_REMOVE);
313 MSG_WriteShort (msg, 0); // end of packetentities
322 void SV_WritePlayersToClient (client_t *client, edict_t *clent, byte *pvs, sizebuf_t *msg)
384 MSG_WriteByte (msg, svc_playerinfo);
385 MSG_WriteByte (msg, j);
386 MSG_WriteShort (msg, pflags);
389 MSG_WriteCoord (msg, ent->v.origin[i]);
391 MSG_WriteByte (msg, ent->v.frame);
398 MSG_WriteByte (msg, msec);
415 MSG_WriteDeltaUsercmd (msg, &nullcmd, &cmd);
420 MSG_WriteShort (msg, ent->v.velocity[i]);
423 MSG_WriteByte (msg, ent->v.modelindex);
426 MSG_WriteByte (msg, ent->v.skin);
429 MSG_WriteByte (msg, ent->v.effects);
432 MSG_WriteByte (msg, ent->v.weaponframe);
447 void SV_WriteEntitiesToClient (client_t *client, sizebuf_t *msg)
467 SV_WritePlayersToClient (client, clent, pvs, msg);
513 SV_EmitPacketEntities (client, pack, msg);
516 SV_EmitNailUpdate (msg);