|
UFO: Alien Invasion
|
#include "../../../../client.h"#include "e_event_actorappear.h"#include "../../../cl_localentity.h"#include "../../../cl_ugv.h"#include "../../../cl_actor.h"#include "../../../cl_hud.h"#include "../../../../cgame/cl_game.h"#include "../../../cl_particle.h"#include "../../../../../common/grid.h"
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) |
| void CL_ActorAppear | ( | const eventRegister_t * | self, |
| dbuffer * | msg ) |
Definition at line 79 of file e_event_actorappear.cpp.
References _, le_t::aabb, ACTOR_SIZE_2x2, ACTOR_SIZE_NORMAL, le_t::addFunc, le_t::angle, le_t::angles, le_t::bodySkin, cl, CL_ActorAddToTeamList(), CL_ActorConditionalMoveCalc(), CL_AddActor(), CL_AddUGV(), CL_CheckCameraRoute(), CL_CountVisibleEnemies(), CL_DrawLineOfSight(), cls, Com_Error(), Com_Printf(), Com_sprintf(), le_t::contents, CONTENTS_ACTOR, CONTENTS_DEADACTOR, csi, Cvar_SetValue(), directionAngles, ERR_DROP, ET_ACTOR, ET_ACTOR2x2, le_t::fieldSize, le_t::flags, eventRegister_t::formatString, GAME_TeamIsKnown(), le_t::gender, Grid_PosToVec(), le_t::headSkin, HUD_DisplayMessage(), LE_Add(), LE_CenterView(), LE_Get(), LE_GetDrawModel(), LE_INVISIBLE, LE_IsDead, LE_IsLivingActor(), LE_IsStunned, LE_Lock(), LE_NotFoundError, LE_SetThink(), LE_Unlock(), le_t::left, LET_StartIdle(), le_t::maxHP, le_t::maxMorale, le_t::maxTU, le_t::model1, le_t::model2, le_t::modelnum1, le_t::modelnum2, teamDef_t::name, NET_ReadFormat(), NET_ReadShort(), le_t::origin, player_dead_maxs, player_maxs, player_mins, le_t::pnum, le_t::pos, le_t::right, selActor, AABB::setMaxs(), AABB::setMins(), SKIP_LOCAL_ENTITY, le_t::state, le_t::team, TEAM_CIVILIAN, le_t::teamDef, le_t::type, le_t::ucn, and YAW.
| 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.
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().