Xonotic
machinegun_weapon.qh
Go to the documentation of this file.
1 #pragma once
2 
5 /* impulse */ ATTRIB(MachineGunTurretAttack, impulse, int, 9);
6 /* refname */ ATTRIB(MachineGunTurretAttack, netname, string, "turret_machinegun");
7 /* wepname */ ATTRIB(MachineGunTurretAttack, m_name, string, _("Machinegun"));
8 ENDCLASS(MachineGunTurretAttack)
9 REGISTER_WEAPON(TUR_MACHINEGUN, NEW(MachineGunTurretAttack));
#define NEW(cname,...)
Definition: oo.qh:105
CLASS(Object) Object
Definition: oo.qh:318
string netname
Definition: powerups.qc:20
const int WEP_FLAG_HIDDEN
Definition: weapon.qh:200
float impulse
Definition: progsdefs.qc:158
float spawnflags
Definition: progsdefs.qc:191
#define ATTRIB(...)
Definition: oo.qh:136
REGISTER_WEAPON(TUR_MACHINEGUN, NEW(MachineGunTurretAttack))
const int WEP_FLAG_SPECIALATTACK
Definition: weapon.qh:211
#define ENDCLASS(cname)
Definition: oo.qh:269
string m_name
Definition: scores.qh:135