|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#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, angles_y, colormap, frame, frame1time, GetResource(), glowmod, m_id, move_time, NULL, origin, ReadAngleVector2D, ReadByte(), ReadVector, servertime, 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, entity(), 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, autocvar_g_waypointsprite_turrets_maxdist, drawmask, entity(), g_drawables, g_drawables_2d, get_turretinfo, IL_PUSH(), m_id, MASK_NORMAL, MOVETYPE_NOCLIP, netname, NULL, origin, set_movetype(), SetResourceExplicit(), solid, SOLID_BBOX, SOLID_NOT, spawn, tur_head, turret_draw(), turret_draw2d(), and turret_remove().
Referenced by NET_HANDLE().
Definition at line 329 of file cl_turrets.qc.
References ATTEN_NORM, autocvar_cl_nogibs, 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(), and turret_damage().
Definition at line 30 of file cl_turrets.qc.
References entity(), GetResource(), move_time, origin, pointparticles, random(), randomvec(), time, and tur_head.
Referenced by turret_construct().
Definition at line 59 of file cl_turrets.qc.
References alpha, autocvar_cl_hidewaypoints, autocvar_cl_vehicles_crosshair_size, autocvar_cl_vehicles_hud_tactical, autocvar_g_waypointsprite_turrets, autocvar_g_waypointsprite_turrets_onlyhurt, autocvar_g_waypointsprite_turrets_text, autocvar_g_waypointsprite_uppercase, autocvar_hud_panel_fg_alpha, bound(), DRAWFLAG_NORMAL, drawgetimagesize(), drawhealthbar(), drawpic, drawsprite_TextOrIcon(), drawspritearrow(), entcs_GetTeam(), entity(), fixrgbexcess(), floor(), get_turretinfo, GetResource(), hud, HUD_NORMAL, LOG_INFOF, m_id, M_PI, min(), netname, origin, player_localnum, project_3d_to_2d(), spawnflags, SPRITE_ARROW_SCALE, SPRITE_HEALTHBAR_BORDER, SPRITE_HEALTHBAR_BORDERALPHA, SPRITE_HEALTHBAR_HEALTHALPHA, SPRITE_HEALTHBAR_HEIGHT, SPRITE_HEALTHBAR_MARGIN, SPRITE_HEALTHBAR_WIDTH, SPRITE_HELPME_BLINK, spritelookupblinkvalue(), spritelookupcolor(), spritelookuptext(), sqrt(), team, time, TUR_FLAG_MOVE, vector, vid_conheight, vid_conwidth, view_origin, vlen(), waypointsprite_alpha, waypointsprite_crosshairfadealpha, waypointsprite_crosshairfadedistance, waypointsprite_crosshairfadescale, waypointsprite_distancealphaexponent, waypointsprite_distancefadealpha, waypointsprite_distancefadedistance, waypointsprite_distancefadescale, waypointsprite_edgefadealpha, waypointsprite_edgefadedistance, waypointsprite_edgefadescale, waypointsprite_edgeoffset_bottom, waypointsprite_edgeoffset_left, waypointsprite_edgeoffset_right, waypointsprite_edgeoffset_top, waypointsprite_fadedistance, waypointsprite_fontsize, waypointsprite_minalpha, waypointsprite_normdistance, and waypointsprite_scale.
Referenced by turret_construct().
Definition at line 263 of file cl_turrets.qc.
References alpha, ALPHA_MIN_VISIBLE, autocvar_cl_gibs_sloppy, autocvar_cl_gibs_ticrate, bound(), cnt, drawmask, entity(), 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, entity(), ftos(), origin, pointparticles, randomvec(), sound, strcat(), turret_gibtoss(), velocity, and VOL_BASE.
Referenced by turret_gib_draw().
Definition at line 294 of file cl_turrets.qc.
References autocvar_cl_gibs_lifetime, EF_FLAME, entity(), MOVE_NOMONSTERS, MOVETYPE_BOUNCE, NULL, prandom(), prandomvec(), set_movetype(), SOLID_CORPSE, time, trace_startsolid, turret_gib_draw(), and vector.
Referenced by turret_die(), and turret_gibboom().
Definition at line 25 of file cl_turrets.qc.
References drawmask, entity(), and MASK_NORMAL.
Definition at line 3 of file cl_turrets.qc.
References entity(), NULL, and tur_head.
Referenced by turret_construct().
| vector glowmod |
Definition at line 10 of file cl_turrets.qc.