UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
e_event_addedict.cpp File Reference

Go to the source code of this file.

Functions

static bool CL_AddEdictFunc (le_t *le, entity_t *ent)
 Draw the bounding boxes for the server side edicts. More...
 
void CL_AddEdict (const eventRegister_t *self, dbuffer *msg)
 Adds server side edicts to the client for displaying them. More...
 

Function Documentation

void CL_AddEdict ( const eventRegister_t self,
dbuffer msg 
)

Adds server side edicts to the client for displaying them.

See also
EV_ADD_EDICT
CL_EntAppear

Definition at line 48 of file e_event_addedict.cpp.

References le_s::aabb, le_s::addFunc, CL_AddEdictFunc(), Com_DPrintf(), DEBUG_CLIENT, le_s::inuse, LE_Add(), LE_Get(), MAX_EDICTS, AABB::maxs, AABB::mins, NET_ReadFormat(), AABB::set(), le_s::type, and type.

static bool CL_AddEdictFunc ( le_t le,
entity_t ent 
)
static

Draw the bounding boxes for the server side edicts.

Definition at line 33 of file e_event_addedict.cpp.

References le_s::aabb, le_s::origin, R_EntitySetOrigin(), RF_BOX, and VectorSet.

Referenced by CL_AddEdict().