Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
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
,
StatusEffect
)
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
));
Fire_ApplyDamage
void Fire_ApplyDamage(entity e)
Definition
damage.qc:1114
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
Burning
Definition
burning.qh:11
Burning::netname
string netname
Definition
burning.qh:12
Burning::m_color
vector m_color
Definition
burning.qh:19
Burning::m_lifetime
float m_lifetime
Definition
burning.qh:21
Burning::m_sound_rm
Sound m_sound_rm
Definition
burning.qh:23
Burning::m_hidden
bool m_hidden
Definition
burning.qh:20
Sound
Definition
sound.qh:119
StatusEffect
Definition
all.qh:33
StatusEffect::ATTRIB
ATTRIB(StatusEffect, m_name, string)
m_name
string m_name
Definition
scores.qh:142
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
vector
vector
Definition
self.qh:92
SOUND
#define SOUND(name, path)
Definition
all.qh:30
common
mutators
mutator
status_effects
status_effect
burning.qh
Generated on
for Xonotic QuakeC by
1.14.0