11 if (it.tur_head.frame != 0)
15 if (it.tur_head.frame == 10)
16 it.tur_head.frame = 1;
18 it.tur_head.frame = it.tur_head.frame +1;
20 else if (it.fireflag == 2 )
22 it.tur_head.frame = it.tur_head.frame +1;
23 if (it.tur_head.frame == 15)
25 it.tur_head.frame = 0;
31 bool turret_phaser_firecheck(
entity this);
37 it.turret_firecheckfunc = turret_phaser_firecheck;
39 bool turret_phaser_firecheck(
entity this)
41 if (this.fireflag != 0)
return false;
bool turret_initialize(entity this, Turret tur)
spawnfunc(info_player_attacker)
#define METHOD(cname, name, prototype)
const int TFL_AMMO_RECHARGE
bool turret_firecheck(entity this)
const int TFL_AMMO_RECIEVE
const int TFL_AMMO_ENERGY