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

Go to the source code of this file.

Functions

int CL_ActorAppearTime (const eventRegister_t *self, dbuffer *msg, eventTiming_t *eventTiming)
 Decides if following events should be delayed. More...
 
static void CL_DrawLineOfSight (const le_t *watcher, const le_t *target)
 draw a simple 'spotted' line from a spotter to the spotted More...
 
void CL_ActorAppear (const eventRegister_t *self, dbuffer *msg)
 

Function Documentation

void CL_ActorAppear ( const eventRegister_t self,
dbuffer msg 
)
int CL_ActorAppearTime ( const eventRegister_t self,
dbuffer msg,
eventTiming_t eventTiming 
)

Decides if following events should be delayed.

Definition at line 38 of file e_event_actorappear.cpp.

References cls, client_static_s::isOurRound(), and eventTiming_s::nextTime.

static void CL_DrawLineOfSight ( const le_t watcher,
const le_t target 
)
static

draw a simple 'spotted' line from a spotter to the spotted

Definition at line 52 of file e_event_actorappear.cpp.

References CL_ParticleSpawn(), ptl_s::color, EYE_HT_CROUCH, EYE_HT_STAND, LE_IsCivilian, LE_IsCrouched, le_s::origin, VectorCopy, and VectorSet.

Referenced by CL_ActorAppear().