Xonotic
|
#include "cl_controlpoint.qh"
Go to the source code of this file.
Functions | |
void | cpicon_changeteam (entity this) |
void | cpicon_construct (entity this, bool isnew) |
void | cpicon_damage (entity this, float hp) |
void | cpicon_draw (entity this) |
NET_HANDLE (ENT_CLIENT_CONTROLPOINT_ICON, bool isnew) | |
Definition at line 142 of file cl_controlpoint.qc.
References colormap, glowmod, team, and Team_ColorRGB().
Referenced by NET_HANDLE().
Definition at line 107 of file cl_controlpoint.qc.
References alpha, cp_bob_origin, cp_bob_spd, cp_origin, cpicon_draw(), CPICON_MAX, CPICON_MIN, drawmask, g_drawables, icon_realmodel, IL_PUSH(), iscaptured, MASK_NORMAL, move_time, MOVETYPE_NOCLIP, netname, NULL, origin, set_movetype(), setmodel, setorigin(), solid, SOLID_BBOX, SOLID_NOT, and time.
Referenced by NET_HANDLE().
Definition at line 85 of file cl_controlpoint.qc.
References colormod, cp_bob_dmg_z, CPICON_MAX, CPICON_MIN, iscaptured, max_health, pain_finished, punchangle, random(), randomvec(), setmodel, and time.
Referenced by NET_HANDLE().
Definition at line 21 of file cl_controlpoint.qc.
References alpha, bound(), colormod, cos(), cp_bob_dmg_z, cp_bob_origin, cp_bob_spd, cp_origin, eZ, frametime, GetResource(), iscaptured, max_health, move_time, pain_finished, PI, RES_HEALTH, setorigin(), and time.
Referenced by cpicon_construct().
NET_HANDLE | ( | ENT_CLIENT_CONTROLPOINT_ICON | , |
bool | isnew | ||
) |
Definition at line 158 of file cl_controlpoint.qc.
References count, cpicon_changeteam(), cpicon_construct(), cpicon_damage(), CPSF_SETUP, CPSF_STATUS, frametime, GetResource(), iscaptured, max_health, origin, RES_HEALTH, setorigin(), SetResourceExplicit(), and team.
float alpha |
Definition at line 4 of file cl_controlpoint.qc.
Referenced by cpicon_construct(), and cpicon_draw().
vector colormod |
Definition at line 3 of file cl_controlpoint.qc.
Referenced by cpicon_damage(), and cpicon_draw().
int count |
Definition at line 5 of file cl_controlpoint.qc.
Referenced by NET_HANDLE().
float cp_bob_dmg_z |
Definition at line 13 of file cl_controlpoint.qc.
Referenced by cpicon_damage(), and cpicon_draw().
vector cp_bob_origin |
Definition at line 10 of file cl_controlpoint.qc.
Referenced by cpicon_construct(), and cpicon_draw().
float cp_bob_spd |
Definition at line 11 of file cl_controlpoint.qc.
Referenced by cpicon_construct(), and cpicon_draw().
vector cp_origin |
Definition at line 10 of file cl_controlpoint.qc.
Referenced by cpicon_construct(), and cpicon_draw().
vector glowmod |
Definition at line 141 of file cl_controlpoint.qc.
Referenced by cpicon_changeteam().
entity icon_realmodel |
Definition at line 19 of file cl_controlpoint.qc.
Referenced by cpicon_construct().
bool iscaptured |
Definition at line 8 of file cl_controlpoint.qc.
Referenced by cpicon_construct(), cpicon_damage(), cpicon_draw(), NET_HANDLE(), ons_ControlPoint_Reset(), ons_ControlPoint_Touch(), ons_GeneratorDamage(), ons_GeneratorReset(), and onslaught_generator_touch().
float max_health |
Definition at line 17 of file cl_controlpoint.qc.
Referenced by cpicon_damage(), cpicon_draw(), cpicon_send(), ctf_FlagThink(), door_go_down(), door_reset(), generator_send(), Monster_Dead_Fade(), Monster_Frozen_Think(), Monster_Reset(), Monster_Spawn_Setup(), Monster_Think(), NET_HANDLE(), ons_ControlPoint_Icon_BuildThink(), ons_ControlPoint_Icon_Think(), ons_GeneratorDamage(), ons_GeneratorReset(), spawnfunc(), vehicles_painframe(), vehicles_regen(), and vehicles_regen_resource().
float pain_finished |
Definition at line 6 of file cl_controlpoint.qc.
Referenced by AnimateDomPoint(), CopyBody(), cpicon_damage(), cpicon_draw(), DrownPlayer(), kh_Key_Damage(), kh_Key_Think(), kh_Key_Touch(), Monster_Move(), Monster_Move_2D(), Monster_Spawn_Setup(), ons_ControlPoint_Icon_Damage(), ons_ControlPoint_Icon_Think(), ons_GeneratorDamage(), PlayerDamage(), PutObserverInServer(), PutPlayerInServer(), and vehicles_damage().
vector punchangle |
Definition at line 15 of file cl_controlpoint.qc.
Referenced by cpicon_damage(), PM_check_punch(), PutObserverInServer(), PutPlayerInServer(), and SpectateCopy().