QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
world.c File Reference

Macros

#define always_inline   inline __attribute__((__always_inline__))
 
#define EDICT_LEAFS   32
 

Typedefs

typedef struct edict_leaf_bucket_s edict_leaf_bucket_t
 

Functions

void SV_ClearWorld (void)
 
void SV_FreeAllEdictLeafs (void)
 
hull_tSV_HullForEntity (edict_t *ent, const vec3_t mins, const vec3_t maxs, vec3_t extents, vec3_t offset)
 
int SV_HullPointContents (hull_t *hull, int num, const vec3_t p)
 
void SV_InitHull (hull_t *hull, mclipnode_t *clipnodes, plane_t *planes)
 
void SV_LinkEdict (edict_t *ent, qboolean touch_triggers)
 
trace_t SV_Move (const vec3_t start, const vec3_t mins, const vec3_t maxs, const vec3_t end, int type, edict_t *passedict)
 
int SV_PointContents (const vec3_t p)
 
edict_tSV_TestEntityPosition (edict_t *ent)
 
edict_tSV_TestPlayerPosition (edict_t *ent, const vec3_t origin)
 
int SV_TruePointContents (const vec3_t p)
 
void SV_UnlinkEdict (edict_t *ent)
 

Variables

areanode_t sv_areanodes [AREA_NODES]
 
link_t ** sv_link_next
 
link_t ** sv_link_prev
 
int sv_numareanodes
 

Macro Definition Documentation

#define always_inline   inline __attribute__((__always_inline__))
#define EDICT_LEAFS   32

Typedef Documentation

typedef struct edict_leaf_bucket_s edict_leaf_bucket_t

Function Documentation

void SV_ClearWorld ( void  )
void SV_FreeAllEdictLeafs ( void  )
hull_t* SV_HullForEntity ( edict_t ent,
const vec3_t  mins,
const vec3_t  maxs,
vec3_t  extents,
vec3_t  offset 
)
int SV_HullPointContents ( hull_t hull,
int  num,
const vec3_t  p 
)
void SV_InitHull ( hull_t hull,
mclipnode_t clipnodes,
plane_t planes 
)
void SV_LinkEdict ( edict_t ent,
qboolean  touch_triggers 
)
trace_t SV_Move ( const vec3_t  start,
const vec3_t  mins,
const vec3_t  maxs,
const vec3_t  end,
int  type,
edict_t passedict 
)
int SV_PointContents ( const vec3_t  p)
edict_t* SV_TestEntityPosition ( edict_t ent)
edict_t* SV_TestPlayerPosition ( edict_t ent,
const vec3_t  origin 
)
int SV_TruePointContents ( const vec3_t  p)
void SV_UnlinkEdict ( edict_t ent)

Variable Documentation

areanode_t sv_areanodes[AREA_NODES]
link_t** sv_link_next
link_t** sv_link_prev
int sv_numareanodes