Xonotic
weapon.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include <common/weapons/_all.qh>
4 
7 /* impulse */ ATTRIB(BallStealer, impulse, int, 0);
8 /* refname */ ATTRIB(BallStealer, netname, string, "ballstealer");
9 /* wepname */ ATTRIB(BallStealer, m_name, string, _("Ball Stealer"));
10 ENDCLASS(BallStealer)
11 REGISTER_WEAPON(NEXBALL, NEW(BallStealer));
#define NEW(cname,...)
Definition: oo.qh:105
CLASS(Object) Object
Definition: oo.qh:318
string netname
Definition: powerups.qc:20
float impulse
Definition: progsdefs.qc:158
float spawnflags
Definition: progsdefs.qc:191
#define ATTRIB(...)
Definition: oo.qh:136
const int WEP_TYPE_OTHER
Definition: weapon.qh:195
REGISTER_WEAPON(NEXBALL, NEW(BallStealer))
#define ENDCLASS(cname)
Definition: oo.qh:269
const int WEP_FLAG_NOTRUEAIM
Definition: weapon.qh:210
const int WEP_FLAG_MUTATORBLOCKED
Definition: weapon.qh:203
string m_name
Definition: scores.qh:135