UFO: Alien Invasion
Loading...
Searching...
No Matches
cl_ugv.cpp File Reference

Unmanned ground vehicle related routines. More...

#include "../client.h"
#include "cl_actor.h"
Include dependency graph for cl_ugv.cpp:

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.

Detailed Description

Unmanned ground vehicle related routines.

Definition in file cl_ugv.cpp.

Function Documentation

◆ CL_AddUGV()

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 entity_t::alpha, le_t::alpha, le_t::bodySkin, cl, cls, entity_t::flags, LE_IsDead, LE_IsSelected, le_t::left, entity_t::model, le_t::model2, NONE, OBJZERO, le_t::pnum, R_AddEntity(), R_GetFreeEntity(), RF_ACTOR, RF_ALLIED, RF_MEMBER, RF_NEUTRAL, RF_NONE, RF_SELECTED, RF_SHADOW, le_t::right, entity_t::skinnum, entity_t::tagent, entity_t::tagname, le_t::team, and TEAM_CIVILIAN.

Referenced by CL_ActorAppear().