Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
superweapons.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include <
common/mutators/mutator/status_effects/all.qh
>
4
5
CLASS
(
Superweapon
,
StatusEffect
)
6
ATTRIB
(
Superweapon
,
netname
,
string
,
"superweapons"
);
7
ATTRIB
(
Superweapon
,
m_name
,
string
, _(
"Superweapons"
));
8
ATTRIB
(
Superweapon
,
m_icon
,
string
,
"superweapons"
);
9
#ifdef GAMEQC
10
ATTRIB
(
Superweapon
,
m_sound_rm
,
Sound
, SND_POWEROFF);
11
#endif
12
#ifdef MENUQC
13
ATTRIB
(
Superweapon
,
m_hidden
,
bool
,
true
);
14
#endif
15
ENDCLASS
(
Superweapon
)
16
REGISTER_STATUSEFFECT
(
Superweapon
,
NEW
(
Superweapon
));
Sound
Definition
sound.qh:119
StatusEffect
Definition
all.qh:33
StatusEffect::ATTRIB
ATTRIB(StatusEffect, m_name, string)
Superweapon
Definition
superweapons.qh:5
Superweapon::m_name
string m_name
Definition
superweapons.qh:7
Superweapon::m_hidden
bool m_hidden
Definition
superweapons.qh:13
Superweapon::m_sound_rm
Sound m_sound_rm
Definition
superweapons.qh:10
Superweapon::netname
string netname
Definition
superweapons.qh:6
Superweapon::m_icon
string m_icon
Definition
superweapons.qh:8
all.qh
REGISTER_STATUSEFFECT
#define REGISTER_STATUSEFFECT(id, inst)
Definition
all.qh:12
NEW
#define NEW(cname,...)
Definition
oo.qh:117
CLASS
#define CLASS(...)
Definition
oo.qh:145
ENDCLASS
#define ENDCLASS(cname)
Definition
oo.qh:281
ATTRIB
#define ATTRIB(...)
Definition
oo.qh:148
common
mutators
mutator
status_effects
status_effect
superweapons.qh
Generated on
for Xonotic QuakeC by
1.14.0