25 Host_Error(
"EntityFrameQuake_ReadEntity: entity number (%i) >= MAX_EDICTS (%i)", num,
MAX_EDICTS);
27 Host_Error(
"EntityFrameQuake_ReadEntity: invalid entity number (%i)", num);
99 else if (j == 0 || j >= 255)
114 Host_Error(
"EntityFrameQuake_ReadEntity: read error");
124 for (num = 0;num <= lastentity;num++)
void EntityFrameQuake_ReadEntity(int bits)
void EntityFrameQuake_ISeeDeadEntities(void)
void CL_ExpandEntities(int num)
void CL_MoveLerpEntityStates(entity_t *ent)
float MSG_ReadAngle(sizebuf_t *sb, protocolversion_t protocol)
float MSG_ReadCoord(sizebuf_t *sb, protocolversion_t protocol)
@ PROTOCOL_NEHAHRABJP2
same as NEHAHRABJP but with 16bit soundindex
@ PROTOCOL_NEHAHRABJP
same as QUAKEDP but with 16bit modelindex
@ 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
void Host_Error(const char *error,...)
entity_state_t defaultstate
#define RENDER_EXTERIORMODEL
#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_DELTA
no data, while this is set the entity is delta compressed (uses previous frame as a baseline,...
#define U_FRAME2
1 byte, this is .frame & 0xFF00 (second byte)
#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,...
#define MAX_EDICTS
max number of objects in game world at once (32768 protocol limit)
unsigned char isquakeentity[MAX_EDICTS]
unsigned char * entities_active
protocolversion_t protocol
unsigned short modelindex
unsigned char colormod[3]
entity_state_t state_baseline
entity_state_t state_current
entity_state_t state_previous