11 unsigned char data[128];
14 if (msg->
cursize + 24 > maxsize)
18 memset(&
buf, 0,
sizeof(
buf));
64 for (;
i < numstates && states[
i]->
number <
n;
i++);
75 s = &inactiveentitystate;
cvar_t developer_networkentities
entity_state_t * EntityFrame4_GetReferenceEntity(entityframe4_database_t *d, int number)
void EntityFrame4_AddCommitEntity(entityframe4_database_t *d, const entity_state_t *s)
void MSG_WriteShort(sizebuf_t *sb, int c)
void MSG_WriteLong(sizebuf_t *sb, int c)
void MSG_WriteByte(sizebuf_t *sb, int c)
void SZ_Clear(sizebuf_t *buf)
void SZ_Write(sizebuf_t *buf, const unsigned char *data, int length)
void Con_Print(const char *msg)
Prints to all appropriate console targets, and adds timestamps.
void Con_Printf(const char *fmt,...)
Prints to all appropriate console targets.
GLsizeiptr const GLvoid * data
GLenum GLuint GLenum GLsizei const GLchar * buf
#define bound(min, num, max)
#define PRVM_serveredictfunction(ed, fieldname)
entity_state_t defaultstate
#define MAX_ENTITY_HISTORY
void EntityState_WriteUpdate(const entity_state_t *ent, struct sizebuf_s *msg, const entity_state_t *delta)
entity_database4_commit_t commit[MAX_ENTITY_HISTORY]
entity_database4_commit_t * currentcommit
int max_edicts
number of edicts for which space has been (should be) allocated
qbool EntityFrame4_WriteFrame(sizebuf_t *msg, int maxsize, entityframe4_database_t *d, int numstates, const entity_state_t **states)