UFO: Alien Invasion
Doxygen documentation generating
e_event_actorappear.cpp File Reference
Include dependency graph for e_event_actorappear.cpp:

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

◆ CL_ActorAppear()

void CL_ActorAppear ( const eventRegister_t self,
dbuffer msg 
)

◆ CL_ActorAppearTime()

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_t::isOurRound(), and eventTiming_t::nextTime.

◆ CL_DrawLineOfSight()

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_t::color, EYE_HT_CROUCH, EYE_HT_STAND, LE_IsCivilian, LE_IsCrouched, le_t::origin, VectorCopy, and VectorSet.

Referenced by CL_ActorAppear().