Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
weapon.qh
Go to the documentation of this file.
1#pragma once
2
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#ifdef MENUQC
11/* hidden */ ATTRIB(BallStealer, m_hidden, bool, true);
12#endif
string m_name
Definition weapon.qh:9
string netname
Definition weapon.qh:8
int spawnflags
Definition weapon.qh:6
int impulse
Definition weapon.qh:7
bool m_hidden
Definition weapon.qh:11
ATTRIB(Weapon, m_canonical_spawnfunc, string)
the canonical spawnfunc name
#define NEW(cname,...)
Definition oo.qh:117
#define CLASS(...)
Definition oo.qh:145
#define ENDCLASS(cname)
Definition oo.qh:281
#define ATTRIB(...)
Definition oo.qh:148
#define REGISTER_WEAPON(id, inst)
Definition all.qh:136
const int WEP_FLAG_NOTRUEAIM
Definition weapon.qh:226
const int WEP_FLAG_MUTATORBLOCKED
Definition weapon.qh:219
const int WEP_TYPE_OTHER
Definition weapon.qh:211