Go to the source code of this file.
Classes | |
struct | areanode_s |
struct | moveclip_t |
Macros | |
#define | STRUCT_FROM_LINK(l, t, m) ((t *)((byte *)l - (intptr_t)&(((t *)0)->m))) |
#define | EDICT_FROM_AREA(l) STRUCT_FROM_LINK(l,edict_t,area) |
#define | AREA_DEPTH 4 |
#define | AREA_NODES 32 |
#define | MAX_TOTAL_ENT_LEAFS 128 |
Typedefs | |
typedef struct areanode_s | areanode_t |
Functions | |
int | SV_HullForEntity (edict_t *ent) |
void | ClearLink (link_t *l) |
void | RemoveLink (link_t *l) |
void | InsertLinkBefore (link_t *l, link_t *before) |
areanode_t * | SV_CreateAreaNode (int depth, vec3_t mins, vec3_t maxs) |
void | SV_ClearWorld (void) |
void | SV_UnlinkEdict (edict_t *ent) |
void | SV_LinkEdict (edict_t *ent) |
void | SV_AreaEdicts_r (areanode_t *node) |
int | SV_AreaEdicts (vec3_t mins, vec3_t maxs, edict_t **list, int maxcount, int areatype) |
int | SV_PointContents (vec3_t p) |
void | SV_ClipMoveToEntities (moveclip_t *clip) |
void | SV_TraceBounds (vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, vec3_t boxmins, vec3_t boxmaxs) |
trace_t | SV_Trace (vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, edict_t *passedict, int contentmask) |
Variables | |
areanode_t | sv_areanodes [AREA_NODES] |
int | sv_numareanodes |
float * | area_mins |
float * | area_maxs |
edict_t ** | area_list |
int | area_count |
int | area_maxcount |
int | area_type |
#define AREA_DEPTH 4 |
Definition at line 50 of file sv_world.c.
#define AREA_NODES 32 |
Definition at line 51 of file sv_world.c.
#define EDICT_FROM_AREA | ( | l | ) | STRUCT_FROM_LINK(l,edict_t,area) |
Definition at line 39 of file sv_world.c.
#define MAX_TOTAL_ENT_LEAFS 128 |
Definition at line 165 of file sv_world.c.
Definition at line 37 of file sv_world.c.
typedef struct areanode_s areanode_t |
Definition at line 65 of file sv_world.c.
Referenced by SV_CreateAreaNode().
Definition at line 70 of file sv_world.c.
Referenced by SV_UnlinkEdict().
Definition at line 409 of file sv_world.c.
Referenced by SV_ClipMoveToEntities(), SV_InitGameProgs(), and SV_PointContents().
void SV_AreaEdicts_r | ( | areanode_t * | node | ) |
Definition at line 136 of file sv_world.c.
Referenced by SV_CheckForSavegame(), and SV_SpawnServer().
void SV_ClipMoveToEntities | ( | moveclip_t * | clip | ) |
areanode_t* SV_CreateAreaNode | ( | int | depth, |
vec3_t | mins, | ||
vec3_t | maxs | ||
) |
Definition at line 489 of file sv_world.c.
Referenced by SV_ClipMoveToEntities(), and SV_PointContents().
trace_t SV_Trace | ( | vec3_t | start, |
vec3_t | mins, | ||
vec3_t | maxs, | ||
vec3_t | end, | ||
edict_t * | passedict, | ||
int | contentmask | ||
) |
void SV_TraceBounds | ( | vec3_t | start, |
vec3_t | mins, | ||
vec3_t | maxs, | ||
vec3_t | end, | ||
vec3_t | boxmins, | ||
vec3_t | boxmaxs | ||
) |
int area_count |
Definition at line 58 of file sv_world.c.
Referenced by SV_AreaEdicts(), and SV_AreaEdicts_r().
edict_t** area_list |
Definition at line 57 of file sv_world.c.
Referenced by SV_AreaEdicts(), and SV_AreaEdicts_r().
int area_maxcount |
Definition at line 58 of file sv_world.c.
Referenced by SV_AreaEdicts(), and SV_AreaEdicts_r().
float * area_maxs |
Definition at line 56 of file sv_world.c.
Referenced by SV_AreaEdicts(), and SV_AreaEdicts_r().
float* area_mins |
Definition at line 56 of file sv_world.c.
Referenced by SV_AreaEdicts(), and SV_AreaEdicts_r().
int area_type |
Definition at line 59 of file sv_world.c.
Referenced by SV_AreaEdicts(), and SV_AreaEdicts_r().
areanode_t sv_areanodes[AREA_NODES] |
Definition at line 53 of file sv_world.c.
Referenced by SV_AreaEdicts(), SV_ClearWorld(), SV_CreateAreaNode(), and SV_LinkEdict().
int sv_numareanodes |
Definition at line 54 of file sv_world.c.
Referenced by SV_ClearWorld(), and SV_CreateAreaNode().