QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
world.h File Reference
This graph shows which files directly or indirectly include this file:

Data Structures

struct  areanode_s
 
struct  clipleaf_s
 
struct  clipport_s
 
struct  laggedentinfo_t
 
struct  nodeleaf_s
 
struct  trace_s
 

Macros

#define AREA_DEPTH   4
 
#define AREA_NODES   32
 
#define MOVE_ENTCHAIN   128
 
#define MOVE_EVERYTHING   32
 
#define MOVE_HITMODEL   4
 
#define MOVE_LAGGED   64
 
#define MOVE_MISSILE   2
 
#define MOVE_NOMONSTERS   1
 
#define MOVE_NORMAL   0
 
#define MOVE_RESERVED   8
 
#define MOVE_TRIGGERS   16
 

Typedefs

typedef struct areanode_s areanode_t
 
typedef struct clipleaf_s clipleaf_t
 
typedef struct clipport_s clipport_t
 
typedef struct nodeleaf_s nodeleaf_t
 
typedef struct trace_s trace_t
 

Enumerations

enum  trace_e { tr_point, tr_box, tr_ellipsoid }
 

Functions

nodeleaf_tMOD_BuildBrushes (hull_t *hull)
 
void MOD_FreeBrushes (hull_t *hull)
 
int MOD_HullContents (hull_t *hull, int num, const vec3_t origin, trace_t *trace)
 
void MOD_TraceLine (hull_t *hull, int num, const vec3_t start, const vec3_t end, trace_t *trace)
 
void SV_ClearWorld (void)
 
void SV_FreeAllEdictLeafs (void)
 
hull_tSV_HullForEntity (struct edict_s *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 (struct edict_s *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, struct edict_s *passedict)
 
int SV_PointContents (const vec3_t p)
 
struct edict_sSV_TestEntityPosition (struct edict_s *ent)
 
struct edict_sSV_TestPlayerPosition (struct edict_s *ent, const vec3_t origin)
 
int SV_TruePointContents (const vec3_t p)
 
void SV_UnlinkEdict (struct edict_s *ent)
 

Variables

areanode_t sv_areanodes [AREA_NODES]
 

Macro Definition Documentation

#define AREA_DEPTH   4
#define AREA_NODES   32
#define MOVE_ENTCHAIN   128
#define MOVE_EVERYTHING   32
#define MOVE_HITMODEL   4
#define MOVE_LAGGED   64
#define MOVE_MISSILE   2
#define MOVE_NOMONSTERS   1
#define MOVE_NORMAL   0
#define MOVE_RESERVED   8
#define MOVE_TRIGGERS   16

Typedef Documentation

typedef struct areanode_s areanode_t
typedef struct clipleaf_s clipleaf_t
typedef struct clipport_s clipport_t
typedef struct nodeleaf_s nodeleaf_t
typedef struct trace_s trace_t

Enumeration Type Documentation

enum trace_e
Enumerator
tr_point 
tr_box 
tr_ellipsoid 

Function Documentation

nodeleaf_t* MOD_BuildBrushes ( hull_t hull)
void MOD_FreeBrushes ( hull_t hull)
int MOD_HullContents ( hull_t hull,
int  num,
const vec3_t  origin,
trace_t trace 
)
void MOD_TraceLine ( hull_t hull,
int  num,
const vec3_t  start,
const vec3_t  end,
trace_t trace 
)
void SV_ClearWorld ( void  )
void SV_FreeAllEdictLeafs ( void  )
hull_t* SV_HullForEntity ( struct edict_s 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 ( struct edict_s 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,
struct edict_s passedict 
)
int SV_PointContents ( const vec3_t  p)
struct edict_s* SV_TestEntityPosition ( struct edict_s ent)
struct edict_s* SV_TestPlayerPosition ( struct edict_s ent,
const vec3_t  origin 
)
int SV_TruePointContents ( const vec3_t  p)
void SV_UnlinkEdict ( struct edict_s ent)

Variable Documentation

areanode_t sv_areanodes[AREA_NODES]