e_event_actorappear.c File Reference

#include "../../../../client.h"
#include "../../../cl_localentity.h"
#include "../../../cl_ugv.h"
#include "../../../cl_actor.h"
#include "../../../cl_hud.h"
#include "../../../../cl_game.h"
#include "../../../cl_particle.h"
#include "e_event_actorappear.h"
#include "../../../../../common/grid.h"
Include dependency graph for e_event_actorappear.c:

Go to the source code of this file.

Functions

int CL_ActorAppearTime (const eventRegister_t *self, struct dbuffer *msg, const int dt)
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, struct dbuffer *msg)

Detailed Description

Definition in file e_event_actorappear.c.


Function Documentation

void CL_ActorAppear ( const eventRegister_t self,
struct dbuffer msg 
)
int CL_ActorAppearTime ( const eventRegister_t self,
struct dbuffer msg,
const int  dt 
)

Definition at line 35 of file e_event_actorappear.c.

References cl, and 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 47 of file e_event_actorappear.c.

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


Generated by  doxygen 1.6.2