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

Go to the source code of this file.

Functions

bool CL_AddUGV (le_t *le, entity_t *ent)
 Adds an UGV to the render entities. More...
 

Function Documentation

bool CL_AddUGV ( le_t le,
entity_t ent 
)

Adds an UGV to the render entities.

Parameters
[in]leThe local entity the UGV should be created from
[out]ent
See also
CL_AddActor
Todo:

Definition at line 35 of file cl_ugv.cpp.

References le_s::alpha, le_s::bodySkin, cl, cls, LE_IsDead, LE_IsSelected, le_s::left, le_s::model2, client_static_s::modelPool, NONE, OBJZERO, clientBattleScape_s::pnum, le_s::pnum, R_AddEntity(), R_GetFreeEntity(), RF_ACTOR, RF_ALLIED, RF_MEMBER, RF_NEUTRAL, RF_NONE, RF_SELECTED, RF_SHADOW, le_s::right, client_static_s::team, le_s::team, and TEAM_CIVILIAN.