Xonotic
phaser_weapon.qh
Go to the documentation of this file.
1 #pragma once
2 
5 /* impulse */ ATTRIB(PhaserTurretAttack, impulse, int, 9);
6 /* refname */ ATTRIB(PhaserTurretAttack, netname, string, "turret_phaser");
7 /* wepname */ ATTRIB(PhaserTurretAttack, m_name, string, _("Phaser"));
8 ENDCLASS(PhaserTurretAttack)
9 REGISTER_WEAPON(PHASER, NEW(PhaserTurretAttack));
#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(PHASER, NEW(PhaserTurretAttack))
const int WEP_FLAG_SPECIALATTACK
Definition: weapon.qh:211
#define ENDCLASS(cname)
Definition: oo.qh:269
string m_name
Definition: scores.qh:135