Xonotic
|
#include "all.qh"
Go to the source code of this file.
Macros | |
#define | X(class, prefix, fld, type) .type fld; |
Functions | |
bool (entity this, entity e_target, entity e_sender) turret_addtarget | |
float (entity this) turret_firecheckfunc = #353 | |
float (entity _turret, entity _target) turret_score_target | |
Function to use for target evaluation. usualy turret_targetscore_generic. More... | |
STATIC_INIT (g_turrets) | |
bool | turret_closetotarget (entity this, vector targ) |
void | turret_do_updates (entity e_turret) |
updates aim org, shot org, shot dir and enemy org for selected turret More... | |
bool | turret_firecheck (entity this) |
bool | turret_initialize (entity this, Turret tur) |
entity | turret_projectile (entity actor, Sound _snd, float _size, float _health, float _death, float _proj_type, float _cull, float _cli_anim) |
void | turret_projectile_explode (entity this) |
void | turret_respawn (entity this) |
entity | turret_select_target (entity this) |
float | turret_validate_target (entity e_turret, entity e_target, float validate_flags) |
void | turrets_setframe (entity this, float _frame, float client_only) |
#define X | ( | class, | |
prefix, | |||
fld, | |||
type | |||
) | .type fld; |
Definition at line 20 of file sv_turrets.qh.
float | ( | entity | this | ) | = #353 |
Function to use for target evaluation. usualy turret_targetscore_generic.
STATIC_INIT | ( | g_turrets | ) |
updates aim org, shot org, shot dir and enemy org for selected turret
entity turret_projectile | ( | entity | actor, |
Sound | _snd, | ||
float | _size, | ||
float | _health, | ||
float | _death, | ||
float | _proj_type, | ||
float | _cull, | ||
float | _cli_anim | ||
) |
Referenced by assault_roundstart_use(), and MUTATOR_HOOKFUNCTION().
float ammo |
Definition at line 44 of file sv_turrets.qh.
Referenced by ammo_pickupevalfunc(), DrawAmmoItem(), W_DecreaseAmmo(), W_ReloadedAndReady(), weapon_defaultspawnfunc(), and weapon_prepareattack_checkammo().
bool autocvar_g_turrets |
Definition at line 5 of file sv_turrets.qh.
float autocvar_g_turrets_aimidle_delay |
Definition at line 6 of file sv_turrets.qh.
bool autocvar_g_turrets_nofire |
Definition at line 7 of file sv_turrets.qh.
bool autocvar_g_turrets_reloadcvars |
Definition at line 8 of file sv_turrets.qh.
float autocvar_g_turrets_targetscan_maxdelay |
Definition at line 9 of file sv_turrets.qh.
float autocvar_g_turrets_targetscan_mindelay |
Definition at line 10 of file sv_turrets.qh.
IntrusiveList g_turrets |
Definition at line 114 of file sv_turrets.qh.
Referenced by assault_roundstart_use().
vector idle_aim |
Definition at line 45 of file sv_turrets.qh.
entity pathcurrent |
Definition at line 87 of file sv_turrets.qh.
entity pathgoal |
Definition at line 89 of file sv_turrets.qh.
float target_select_time |
Definition at line 40 of file sv_turrets.qh.
float target_validate_time |
Definition at line 41 of file sv_turrets.qh.
const float TFL_TRACKTYPE_FLUIDINERTIA = 3 |
Definition at line 65 of file sv_turrets.qh.
const float TFL_TRACKTYPE_FLUIDPRECISE = 2 |
Definition at line 64 of file sv_turrets.qh.
const float TFL_TRACKTYPE_STEPMOTOR = 1 |
Definition at line 63 of file sv_turrets.qh.
float ticrate |
Definition at line 28 of file sv_turrets.qh.
vector tur_aimpos |
Definition at line 32 of file sv_turrets.qh.
entity tur_defend |
Definition at line 30 of file sv_turrets.qh.
float tur_dist_aimpos |
Definition at line 36 of file sv_turrets.qh.
float tur_dist_enemy |
Definition at line 35 of file sv_turrets.qh.
float tur_dist_impact_to_aimpos |
Definition at line 37 of file sv_turrets.qh.
entity tur_head |
Definition at line 29 of file sv_turrets.qh.
Referenced by NET_HANDLE(), turret_changeteam(), turret_construct(), turret_die(), turret_draw(), turret_remove(), vehicle_initialize(), vehicle_use(), vehicles_painframe(), and vehicles_reset_colors().
entity tur_impactent |
Definition at line 34 of file sv_turrets.qh.
float tur_impacttime |
Definition at line 33 of file sv_turrets.qh.
vector tur_shotdir_updated |
Definition at line 71 of file sv_turrets.qh.
vector tur_shotorg |
Definition at line 31 of file sv_turrets.qh.
float turret_count |
Definition at line 91 of file sv_turrets.qh.
float turret_scale_aim |
Map time control aim speed.
Definition at line 56 of file sv_turrets.qh.
float turret_scale_ammo |
Map time control ammo held and recharged.
Definition at line 54 of file sv_turrets.qh.
float turret_scale_damage |
Map time control over pain inflicted.
Definition at line 48 of file sv_turrets.qh.
float turret_scale_health |
Map time control health.
Definition at line 58 of file sv_turrets.qh.
float turret_scale_range |
Map time control targetting range.
Definition at line 50 of file sv_turrets.qh.
float turret_scale_refire |
Map time control refire.
Definition at line 52 of file sv_turrets.qh.
float turret_scale_respawn |
Map time control respawn time.
Definition at line 60 of file sv_turrets.qh.
float tvt_dist |
Definition at line 112 of file sv_turrets.qh.
vector tvt_tadv |
Definition at line 110 of file sv_turrets.qh.
float tvt_thadf |
Definition at line 111 of file sv_turrets.qh.
vector tvt_thadv |
Definition at line 109 of file sv_turrets.qh.
float volly_counter |
Definition at line 38 of file sv_turrets.qh.