Xonotic
burning.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include <
common/mutators/mutator/status_effects/all.qh
>
4
5
#ifdef SVQC
6
void
Fire_ApplyDamage
(
entity
e);
7
#endif
8
#ifdef GAMEQC
9
SOUND
(Burning_Remove,
"desertfactory/steam_burst"
);
10
#endif
11
CLASS
(
Burning
,
StatusEffects
)
12
ATTRIB
(
Burning
,
netname
,
string
, "burning");
13
#if 0
14
// NOTE: status effect name and icon disabled as they are not displayed
15
// re-enable if status effects are given a visual element
16
ATTRIB
(Burning,
m_name
,
string
, _(
"Burning"
));
17
ATTRIB
(Burning, m_icon,
string
,
"buff_inferno"
);
18
#endif
19
ATTRIB
(Burning, m_color,
vector
,
'1 0.62 0'
);
20
ATTRIB
(Burning, m_hidden,
bool
,
true
);
21
ATTRIB
(Burning, m_lifetime,
float
, 10);
22
#ifdef GAMEQC
23
ATTRIB
(Burning, m_sound_rm,
Sound
, SND_Burning_Remove);
24
#endif
25
ENDCLASS
(Burning)
26
REGISTER_STATUSEFFECT
(Burning,
NEW
(Burning));
NEW
#define NEW(cname,...)
Definition:
oo.qh:105
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
entity
entity() spawn
Burning
Definition:
burning.qh:11
netname
string netname
Definition:
powerups.qc:20
all.qh
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
StatusEffects
Definition:
all.qh:30
Sound
Definition:
sound.qh:119
vector
vector(float skel, float bonenum) _skel_get_boneabs_hidden
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
REGISTER_STATUSEFFECT
REGISTER_STATUSEFFECT(Burning, NEW(Burning))
SOUND
#define SOUND(name, path)
Definition:
all.qh:30
Fire_ApplyDamage
void Fire_ApplyDamage(entity e)
Definition:
damage.qc:1187
m_name
string m_name
Definition:
scores.qh:135
common
mutators
mutator
status_effects
status_effect
burning.qh
Generated on Thu Mar 17 2022 17:26:28 for Xonotic by
1.8.13