11 unsigned char data[128];
12 qbool success =
false;
15 memset(&
buf, 0,
sizeof(
buf));
19 for (
i = 0;
i < numstates;
i++)
62 if (s->
frame & 0xFF00)
void MSG_WriteShort(sizebuf_t *sb, int c)
void MSG_WriteCoord(sizebuf_t *sb, float f, protocolversion_t protocol)
void MSG_WriteByte(sizebuf_t *sb, int c)
void MSG_WriteFloat(sizebuf_t *sb, float f)
void MSG_WriteAngle(sizebuf_t *sb, float f, protocolversion_t protocol)
void SZ_Clear(sizebuf_t *buf)
void SZ_Write(sizebuf_t *buf, const unsigned char *data, int length)
@ PROTOCOL_NEHAHRABJP2
same as NEHAHRABJP but with 16bit soundindex
@ PROTOCOL_NEHAHRABJP
same as QUAKEDP but with 16bit modelindex
@ PROTOCOL_QUAKE
quake (aka netquake/normalquake/nq) protocol
@ PROTOCOL_NEHAHRABJP3
same as NEHAHRABJP2 but with some changes
@ PROTOCOL_NEHAHRAMOVIE
Nehahra movie protocol, a big nasty hack dating back to early days of the Quake Standards Group (but ...
static int(ZEXPORT *qz_inflate)(z_stream *strm
GLsizeiptr const GLvoid * data
GLenum GLuint GLenum GLsizei const GLchar * buf
#define bound(min, num, max)
#define VectorCompare(a, b)
#define PRVM_serveredictfunction(ed, fieldname)
#define RENDER_EXTERIORMODEL
#define ENTITYSIZEPROFILING_START(msg, num, flags)
#define U_COLORMOD
1 byte, 3 bit red, 3 bit green, 2 bit blue, this lets you tint an object artifically,...
#define U_SCALE
1 byte, scale / 16 positive, not sent if 1.0
#define U_EFFECTS2
1 byte, this is .effects & 0xFF00 (second byte)
#define U_GLOWCOLOR
1 byte, palette index, default is 254 (white), this IS used for darklight (allowing colored darklight...
#define U_FRAME2
1 byte, this is .frame & 0xFF00 (second byte)
#define ENTITYSIZEPROFILING_END(msg, num, flags)
#define U_GLOWTRAIL
leaves a trail of particles (of color .glowcolor, or black if it is a negative glowsize)
#define U_EXTEND2
another byte to follow
#define U_VIEWMODEL
attachs the model to the view (origin and angles become relative to it), only shown to owner,...
#define U_ALPHA
1 byte, 0.0-1.0 maps to 0-255, not sent if exactly 1, and the entity is not sent if <=0 unless it has...
#define U_MODEL2
1 byte, this is .modelindex & 0xFF00 (second byte)
#define U_GLOWSIZE
1 byte, encoding is float/4.0, unsigned, not sent if 0
#define U_EXTERIORMODEL
causes this model to not be drawn when using a first person view (third person will draw it,...
unsigned short modelindex
unsigned char colormod[3]
union prvm_edict_t::@29 priv
struct edict_engineprivate_s * server
FIXME: this server pointer really means world, not server (it is used by both server qc and client qc...
protocolversion_t protocol
one of the PROTOCOL_ values
qbool EntityFrameQuake_WriteFrame(sizebuf_t *msg, int maxsize, int numstates, const entity_state_t **states)