Xonotic
flac.qc
Go to the documentation of this file.
1 #include "flac.qh"
2 
3 #ifdef SVQC
4 
5 spawnfunc(turret_flac) { if (!turret_initialize(this, TUR_FLAC)) delete(this); }
6 
7 METHOD(Flac, tr_setup, void(Flac this, entity it))
8 {
9  it.ammo_flags = TFL_AMMO_ROCKETS | TFL_AMMO_RECHARGE;
11  it.damage_flags |= TFL_DMG_HEADSHAKE;
13 }
14 
15 #endif
const int TFL_DMG_HEADSHAKE
Definition: turret.qh:155
const int TFL_TARGETSELECT_NOTURRETS
Definition: turret.qh:73
Definition: flac.qh:5
const int TFL_AMMO_ROCKETS
Definition: turret.qh:142
entity() spawn
bool turret_initialize(entity this, Turret tur)
spawnfunc(info_player_attacker)
Definition: sv_assault.qc:283
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
const int TFL_AMMO_RECHARGE
Definition: turret.qh:143
const int TFL_AIM_LEAD
Definition: turret.qh:82
const int TFL_AIM_SHOTTIMECOMPENSATE
Definition: turret.qh:83
const int TFL_TARGETSELECT_MISSILESONLY
Definition: turret.qh:75