#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"
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) |
Definition in file e_event_actorappear.c.
void CL_ActorAppear | ( | const eventRegister_t * | self, | |
struct dbuffer * | msg | |||
) |
Definition at line 74 of file e_event_actorappear.c.
References _, ACTOR_SIZE_2x2, ACTOR_SIZE_NORMAL, le_s::addFunc, le_s::angles, cl, CL_ActorAddToTeamList(), CL_ActorConditionalMoveCalc(), CL_AddActor(), CL_AddUGV(), CL_DrawLineOfSight(), cls, Com_Error(), Com_Printf(), Com_sprintf(), le_s::contents, CONTENTS_ACTOR, csi, le_s::dir, directionAngles, ERR_DROP, ET_ACTOR, ET_ACTOR2x2, le_s::fieldSize, GAME_TeamIsKnown(), le_s::gender, Grid_PosToVec(), HUD_DisplayMessage(), le_s::invis, LE_Add(), LE_CenterView(), LE_Get(), LE_IsDead, LE_IsLivingActor(), LE_Lock(), LE_NotFoundError, LE_SetThink(), LE_Unlock(), le_s::left, LET_StartIdle(), le_s::maxHP, le_s::maxMorale, le_s::maxs, le_s::maxTU, le_s::mins, le_s::model1, le_s::model2, le_s::modelnum1, le_s::modelnum2, teamDef_s::name, NET_ReadFormat(), NET_ReadShort(), csi_s::numTeamDefs, le_s::origin, player_dead_maxs, player_maxs, player_mins, le_s::pnum, le_s::pos, qfalse, le_s::right, selActor, le_s::skinnum, SKIP_LOCAL_ENTITY, le_s::state, client_static_s::team, le_s::team, TEAM_CIVILIAN, csi_s::teamDef, le_s::teamDef, le_s::type, VectorCopy, and YAW.
int CL_ActorAppearTime | ( | const eventRegister_t * | self, | |
struct dbuffer * | msg, | |||
const int | dt | |||
) |
Definition at line 35 of file e_event_actorappear.c.
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().