UFO: Alien Invasion
Loading...
Searching...
No Matches
worldSector_t Struct Reference

To avoid linearly searching through lists of entities during environment testing, the world is carved up with an evenly spaced, axially aligned bsp tree. More...

#include <server.h>

Collaboration diagram for worldSector_t:
Collaboration graph

Data Fields

int axis
float dist
struct worldSector_s * children [2]
sv_edict_tentities

Detailed Description

To avoid linearly searching through lists of entities during environment testing, the world is carved up with an evenly spaced, axially aligned bsp tree.

Definition at line 57 of file server.h.

Field Documentation

◆ axis

int worldSector_t::axis

-1 = leaf node

Definition at line 58 of file server.h.

Referenced by SV_AreaEdicts_r(), SV_CreateWorldSector(), and SV_LinkEdict().

◆ children

struct worldSector_s* worldSector_t::children[2]

Definition at line 60 of file server.h.

Referenced by SV_AreaEdicts_r(), SV_CreateWorldSector(), and SV_LinkEdict().

◆ dist

float worldSector_t::dist

Definition at line 59 of file server.h.

Referenced by SV_AreaEdicts_r(), SV_CreateWorldSector(), and SV_LinkEdict().

◆ entities

sv_edict_t* worldSector_t::entities

Definition at line 61 of file server.h.

Referenced by SV_AreaEdicts_r(), SV_CreateWorldSector(), SV_LinkEdict(), and SV_UnlinkEdict().


The documentation for this struct was generated from the following file: