Xonotic
burning.qh
Go to the documentation of this file.
1 #pragma once
2 
4 
5 #ifdef SVQC
7 #endif
8 #ifdef GAMEQC
9 SOUND(Burning_Remove, "desertfactory/steam_burst");
10 #endif
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));
#define NEW(cname,...)
Definition: oo.qh:105
CLASS(Object) Object
Definition: oo.qh:318
entity() spawn
string netname
Definition: powerups.qc:20
#define ATTRIB(...)
Definition: oo.qh:136
Definition: sound.qh:119
vector(float skel, float bonenum) _skel_get_boneabs_hidden
#define ENDCLASS(cname)
Definition: oo.qh:269
REGISTER_STATUSEFFECT(Burning, NEW(Burning))
#define SOUND(name, path)
Definition: all.qh:30
void Fire_ApplyDamage(entity e)
Definition: damage.qc:1187
string m_name
Definition: scores.qh:135