FTEQW
Documentation of the FTE engine source tree.
clq2_ents.c File Reference

Typedefs

typedef struct q2centity_s q2centity_t
 

Enumerations

enum  q2entity_event_t {
  Q2EV_NONE , Q2EV_ITEM_RESPAWN , Q2EV_FOOTSTEP , Q2EV_FALLSHORT ,
  Q2EV_FALL , Q2EV_FALLFAR , Q2EV_PLAYER_TELEPORT , Q2EV_OTHER_TELEPORT
}
 

Functions

float LerpAngle (float a2, float a1, float frac)
 
sfx_tS_PrecacheSexedSound (int entnum, const char *soundname)
 
void CLQ2_EntityEvent (entity_state_t *es)
 
void CLQ2_TeleporterParticles (entity_state_t *es)
 
void CLQ2_Tracker_Shell (q2centity_t *ent, vec3_t org)
 
void CLQ2_BfgParticles (q2centity_t *ent, vec3_t org)
 
void CLQ2_FlyEffect (q2centity_t *ent, vec3_t org)
 
void CL_SmokeAndFlash (vec3_t origin)
 
void CL_GetNumberedEntityInfo (int num, float *org, float *ang)
 
void CLQ2_WriteDemoBaselines (sizebuf_t *buf)
 
void CLQ2_ClearState (void)
 
void CLQ2_RunMuzzleFlash2 (int ent, int flash_number)
 
void CLQ2_ParseMuzzleFlash (void)
 
void CLQ2_ParseMuzzleFlash2 (void)
 
void CLQ2_ParseInventory (int seat)
 
void CLQ2_ClearParticleState (void)
 
void CLQ2_ParseBaseline (void)
 
void CLQ2_ParsePlayerstate (int seat, q2frame_t *oldframe, q2frame_t *newframe, int extflags)
 
void CLQ2_FireEntityEvents (q2frame_t *frame)
 
void CLR1Q2_ParsePlayerUpdate (void)
 
void CLQ2_ParseFrame (int extrabits)
 
unsigned int CLQ2_GatherSounds (vec3_t *positions, unsigned int *entnums, sfx_t **sounds, unsigned int max)
 
void CLQ2_CalcViewValues (int seat)
 
void CLQ2_AddEntities (void)
 

Variables

cvar_t r_drawviewmodel
 
cvar_t cl_nopred
 
entity_state_t clq2_parse_entities [MAX_PARSE_ENTITIES]
 

Typedef Documentation

◆ q2centity_t

typedef struct q2centity_s q2centity_t

Enumeration Type Documentation

◆ q2entity_event_t

Enumerator
Q2EV_NONE 
Q2EV_ITEM_RESPAWN 
Q2EV_FOOTSTEP 
Q2EV_FALLSHORT 
Q2EV_FALL 
Q2EV_FALLFAR 
Q2EV_PLAYER_TELEPORT 
Q2EV_OTHER_TELEPORT 

Function Documentation

◆ CL_GetNumberedEntityInfo()

void CL_GetNumberedEntityInfo ( int  num,
float *  org,
float *  ang 
)

◆ CL_SmokeAndFlash()

void CL_SmokeAndFlash ( vec3_t  origin)

◆ CLQ2_AddEntities()

void CLQ2_AddEntities ( void  )

◆ CLQ2_BfgParticles()

void CLQ2_BfgParticles ( q2centity_t ent,
vec3_t  org 
)

◆ CLQ2_CalcViewValues()

void CLQ2_CalcViewValues ( int  seat)

◆ CLQ2_ClearParticleState()

void CLQ2_ClearParticleState ( void  )

◆ CLQ2_ClearState()

void CLQ2_ClearState ( void  )

◆ CLQ2_EntityEvent()

void CLQ2_EntityEvent ( entity_state_t es)

◆ CLQ2_FireEntityEvents()

void CLQ2_FireEntityEvents ( q2frame_t frame)

◆ CLQ2_FlyEffect()

void CLQ2_FlyEffect ( q2centity_t ent,
vec3_t  org 
)

◆ CLQ2_GatherSounds()

unsigned int CLQ2_GatherSounds ( vec3_t positions,
unsigned int entnums,
sfx_t **  sounds,
unsigned int  max 
)

◆ CLQ2_ParseBaseline()

void CLQ2_ParseBaseline ( void  )

◆ CLQ2_ParseFrame()

void CLQ2_ParseFrame ( int  extrabits)

◆ CLQ2_ParseInventory()

void CLQ2_ParseInventory ( int  seat)

◆ CLQ2_ParseMuzzleFlash()

void CLQ2_ParseMuzzleFlash ( void  )

◆ CLQ2_ParseMuzzleFlash2()

void CLQ2_ParseMuzzleFlash2 ( void  )

◆ CLQ2_ParsePlayerstate()

void CLQ2_ParsePlayerstate ( int  seat,
q2frame_t oldframe,
q2frame_t newframe,
int  extflags 
)

◆ CLQ2_RunMuzzleFlash2()

void CLQ2_RunMuzzleFlash2 ( int  ent,
int  flash_number 
)

◆ CLQ2_TeleporterParticles()

void CLQ2_TeleporterParticles ( entity_state_t es)

◆ CLQ2_Tracker_Shell()

void CLQ2_Tracker_Shell ( q2centity_t ent,
vec3_t  org 
)

◆ CLQ2_WriteDemoBaselines()

void CLQ2_WriteDemoBaselines ( sizebuf_t buf)

◆ CLR1Q2_ParsePlayerUpdate()

void CLR1Q2_ParsePlayerUpdate ( void  )

◆ LerpAngle()

float LerpAngle ( float  a2,
float  a1,
float  frac 
)

◆ S_PrecacheSexedSound()

sfx_t * S_PrecacheSexedSound ( int  entnum,
const char *  soundname 
)

Variable Documentation

◆ cl_nopred

cvar_t cl_nopred
extern

◆ clq2_parse_entities

entity_state_t clq2_parse_entities[MAX_PARSE_ENTITIES]

◆ r_drawviewmodel

cvar_t r_drawviewmodel
extern