UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SrvEdict Class Reference

#include <srvedict.h>

Public Member Functions

SrvEdictchild ()
 
SrvEdictowner () const
 
bool isSameAs (const SrvEdict *other) const
 
bool isParentship (const SrvEdict *other) const
 

Data Fields

bool inuse
 
int linkcount
 
int number
 
vec3_t origin
 
vec3_t angles
 
pos3_t pos
 
solid_t solid
 
AABB entBox
 
AABB absBox
 
vec3_t size
 
SrvEdict_child
 
SrvEdict_owner
 
int modelindex
 
const char * classname
 

Detailed Description

Note
don't change the order - also see edict_s in g_local.h

Definition at line 34 of file srvedict.h.

Member Function Documentation

SrvEdict* SrvEdict::child ( )
inline

Definition at line 58 of file srvedict.h.

References _child.

Referenced by SV_LinkEdict().

bool SrvEdict::isParentship ( const SrvEdict other) const
inline

Definition at line 69 of file srvedict.h.

References isSameAs(), and owner().

Referenced by SV_ClipMoveToEntities().

bool SrvEdict::isSameAs ( const SrvEdict other) const
inline

Definition at line 64 of file srvedict.h.

References number.

Referenced by isParentship().

SrvEdict* SrvEdict::owner ( ) const
inline

Definition at line 61 of file srvedict.h.

References _owner.

Referenced by isParentship().

Field Documentation

SrvEdict* SrvEdict::_child

e.g. the trigger for this edict

Definition at line 52 of file srvedict.h.

Referenced by child().

SrvEdict* SrvEdict::_owner

e.g. the door model in case of func_door

Definition at line 53 of file srvedict.h.

Referenced by owner().

AABB SrvEdict::absBox

position of min and max points - relative to world's origin

Definition at line 49 of file srvedict.h.

Referenced by SV_BoundingBoxesIntersect(), and SV_LinkEdict().

vec3_t SrvEdict::angles

the rotation in the world (pitch, yaw, roll)

Definition at line 43 of file srvedict.h.

Referenced by SV_ClipMoveToEntities(), SV_LinkEdict(), and SV_SetModel().

const char* SrvEdict::classname

Definition at line 56 of file srvedict.h.

AABB SrvEdict::entBox

tracing info SOLID_BSP, SOLID_BBOX, ... position of min and max points - relative to origin

Definition at line 48 of file srvedict.h.

Referenced by SV_ClipMoveToEntities(), SV_HullForEntity(), SV_LinkEdict(), and SV_SetModel().

bool SrvEdict::inuse

Definition at line 36 of file srvedict.h.

Referenced by SV_AreaEdicts_r(), and SV_LinkEdict().

int SrvEdict::linkcount

count the amount of server side links - if a link was called, something on the position or the size of the entity was changed

Definition at line 37 of file srvedict.h.

Referenced by SV_LinkEdict().

int SrvEdict::modelindex

inline model index

Definition at line 54 of file srvedict.h.

Referenced by SV_ClipMoveToEntities(), SV_HullForEntity(), and SV_SetModel().

int SrvEdict::number

the number in the global edict array

Definition at line 40 of file srvedict.h.

Referenced by isSameAs(), SV_ClipMoveToEntities(), and SV_GetServerDataForEdict().

vec3_t SrvEdict::origin

the position in the world

Definition at line 42 of file srvedict.h.

Referenced by SV_ClipMoveToEntities(), SV_LinkEdict(), and SV_SetModel().

pos3_t SrvEdict::pos

Definition at line 44 of file srvedict.h.

vec3_t SrvEdict::size

Definition at line 50 of file srvedict.h.

Referenced by SV_LinkEdict().

solid_t SrvEdict::solid

< the grid position of the actor

Definition at line 46 of file srvedict.h.

Referenced by SV_AreaEdicts_r(), SV_ClipMoveToEntities(), SV_HullForEntity(), and SV_LinkEdict().


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