|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#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 152 of file cl_controlpoint.qc.
References colormap, entity(), glowmod, team, and Team_ColorRGB().
Referenced by NET_HANDLE().
Definition at line 115 of file cl_controlpoint.qc.
References alpha, cp_bob_origin, cp_origin, cpicon_draw(), CPICON_MAX, CPICON_MIN, drawmask, entity(), g_drawables, icon_realmodel, IL_PUSH(), iscaptured, MASK_NORMAL, move_time, MOVETYPE_NOCLIP, netname, NULL, origin, set_movetype(), setmodel, solid, SOLID_BBOX, SOLID_NOT, and time.
Referenced by NET_HANDLE().
Definition at line 83 of file cl_controlpoint.qc.
References colormod, cp_bob_dmg_z, CPICON_MAX, CPICON_MIN, entity(), GetResource(), iscaptured, max_health, pain_finished, punchangle, random(), randomvec(), setmodel, and time.
Referenced by NET_HANDLE().
Definition at line 20 of file cl_controlpoint.qc.
References alpha, angles_y, bound(), colormod, cos(), cp_bob_dmg_z, cp_bob_origin, cp_origin, entity(), eZ, frametime, GetResource(), iscaptured, max_health, move_time, pain_finished, and time.
Referenced by cpicon_construct().
| NET_HANDLE | ( | ENT_CLIENT_CONTROLPOINT_ICON | , |
| bool | isnew ) |
Definition at line 168 of file cl_controlpoint.qc.
References count, cpicon_changeteam(), cpicon_construct(), cpicon_damage(), CPSF_SETUP, CPSF_STATUS, frametime, GetResource(), iscaptured, max_health, origin, ReadByte(), ReadVector, SetResourceExplicit(), and team.
| float alpha |
Definition at line 4 of file cl_controlpoint.qc.
| vector colormod |
Definition at line 3 of file cl_controlpoint.qc.
| int count |
Definition at line 5 of file cl_controlpoint.qc.
| float cp_bob_dmg_z |
Definition at line 12 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().
| vector cp_origin |
Definition at line 10 of file cl_controlpoint.qc.
Referenced by cpicon_construct(), and cpicon_draw().
| vector glowmod |
Definition at line 151 of file cl_controlpoint.qc.
| entity icon_realmodel |
Definition at line 18 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 16 of file cl_controlpoint.qc.
Referenced by button_fire(), button_reset(), cpicon_damage(), cpicon_draw(), cpicon_send(), ctf_FlagThink(), door_go_down(), door_init_shared(), door_rotating_go_down(), func_breakable_behave_destroyed(), func_breakable_behave_restore(), func_breakable_colormod(), func_breakable_setup(), generator_damage(), generator_draw(), generator_send(), Monster_Dead_Fade(), Monster_Reset(), Monster_Spawn_Setup(), Monster_Think(), multi_reset(), multi_wait(), MUTATOR_HOOKFUNCTION(), nade_damage(), nade_touch(), NET_HANDLE(), NET_HANDLE(), ons_ControlPoint_Icon_BuildThink(), ons_ControlPoint_Icon_Think(), ons_GeneratorDamage(), ons_GeneratorReset(), spawnfunc(), spawnfunc(), spawnfunc(), trigger_heal_init(), trigger_heal_touch(), turret_hellion_missile_think(), turret_initialize(), turret_respawn(), turret_send(), vehicles_painframe(), vehicles_regen(), vehicles_regen_resource(), walker_rocket_loop2(), walker_rocket_loop3(), walker_rocket_think(), and WaypointSprite_SendEntity().
| float pain_finished |
Definition at line 6 of file cl_controlpoint.qc.
Referenced by AnimateDomPoint(), CopyBody(), cpicon_damage(), cpicon_draw(), DrownPlayer(), func_breakable_damage(), 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(), vehicles_damage(), and WaypointSprite_SendEntity().
| vector punchangle |
Definition at line 14 of file cl_controlpoint.qc.
Referenced by cpicon_damage(), dynlight_find_aiment(), PM_check_punch(), PutObserverInServer(), PutPlayerInServer(), and SpectateCopy().