Xonotic
|
#include "cl_turrets.qh"
Go to the source code of this file.
Functions | |
NET_HANDLE (ENT_CLIENT_TURRET, bool isnew) | |
void | turret_changeteam (entity this) |
void | turret_construct (entity this, bool isnew) |
void | turret_die (entity this) |
void | turret_draw (entity this) |
void | turret_draw2d (entity this) |
void | turret_gib_draw (entity this) |
void | turret_gibboom (entity this) |
entity | turret_gibtoss (string _model, vector _from, vector _to, vector _cmod, float _explode) |
void | turret_head_draw (entity this) |
void | turret_remove (entity this) |
Variables | |
vector | glowmod |
NET_HANDLE | ( | ENT_CLIENT_TURRET | , |
bool | isnew | ||
) |
Definition at line 368 of file cl_turrets.qc.
References angles, colormap, frame, frame1time, GetResource(), glowmod, m_id, move_time, NULL, origin, RES_HEALTH, servertime, setorigin(), SetResourceExplicit(), spawn(), team, time, TNSF_ANG, TNSF_ANIM, TNSF_AVEL, TNSF_MOVE, TNSF_SETUP, TNSF_STATUS, tur_head, turret_changeteam(), turret_construct(), turret_die(), and velocity.
Definition at line 11 of file cl_turrets.qc.
References colormap, glowmod, team, Team_ColorRGB(), and tur_head.
Referenced by NET_HANDLE().
Definition at line 212 of file cl_turrets.qc.
References alpha, angles, anim_start_time, drawmask, entity(), g_drawables, g_drawables_2d, get_turretinfo, IL_PUSH(), m_id, MASK_NORMAL, MOVETYPE_NOCLIP, netname, NULL, origin, RES_HEALTH, set_movetype(), setorigin(), SetResourceExplicit(), solid, SOLID_BBOX, SOLID_NOT, spawn(), tur_head, turret_draw(), turret_draw2d(), turret_gibboom(), turret_gibtoss(), turret_remove(), and vector().
Referenced by NET_HANDLE().
Definition at line 329 of file cl_turrets.qc.
References ATTEN_NORM, CH_SHOTS, entity(), get_turretinfo, m_id, model, origin, pointparticles, random(), randomvec(), setmodel, sound, tur_head, turret_gibtoss(), velocity, and VOL_BASE.
Referenced by NET_HANDLE().
Definition at line 30 of file cl_turrets.qc.
References GetResource(), move_time, origin, pointparticles, random(), randomvec(), RES_HEALTH, time, and tur_head.
Referenced by turret_construct().
Definition at line 59 of file cl_turrets.qc.
References alpha, autocvar_cl_vehicles_crosshair_size, autocvar_cl_vehicles_hud_tactical, autocvar_hud_panel_fg_alpha, bound(), DRAWFLAG_NORMAL, drawgetimagesize(), drawpic(), floor(), get_turretinfo, hud, LOG_INFOF, m_id, netname, origin, player_localnum, project_3d_to_2d(), spawnflags, team, time, TUR_FLAG_MOVE, vector(), vid_conheight, vid_conwidth, view_origin, and vlen().
Referenced by turret_construct().
Definition at line 263 of file cl_turrets.qc.
References alpha, ALPHA_MIN_VISIBLE, bound(), cnt, drawmask, MASK_NORMAL, Movetype_Physics_MatchTicrate(), nextthink, time, and turret_gibboom().
Referenced by turret_gibtoss().
Definition at line 285 of file cl_turrets.qc.
References ATTEN_NORM, CH_SHOTS, ftos(), origin, pointparticles, randomvec(), sound, strcat(), turret_gibtoss(), velocity, and VOL_BASE.
Referenced by turret_construct(), and turret_gib_draw().
Definition at line 294 of file cl_turrets.qc.
References EF_FLAME, entity(), MOVE_NOMONSTERS, MOVETYPE_BOUNCE, NULL, prandom(), prandomvec(), set_movetype(), setorigin(), SOLID_CORPSE, time, trace_startsolid, and turret_gib_draw().
Referenced by turret_construct(), turret_die(), and turret_gibboom().
Definition at line 3 of file cl_turrets.qc.
References NULL, and tur_head.
Referenced by turret_construct().
vector glowmod |
Definition at line 10 of file cl_turrets.qc.
Referenced by NET_HANDLE(), and turret_changeteam().