UFO: Alien Invasion
Loading...
Searching...
No Matches
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.
static void CL_DrawLineOfSight (const le_t *watcher, const le_t *target)
 draw a simple 'spotted' line from a spotter to the spotted
void CL_ActorAppear (const eventRegister_t *self, dbuffer *msg)

Function Documentation

◆ CL_ActorAppear()

◆ 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, and eventTiming_t::nextTime.

◆ CL_DrawLineOfSight()

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().