Xonotic
spawnshield.qh
Go to the documentation of this file.
1 #pragma once
2 
4 
6  ATTRIB(SpawnShield, netname, string, "spawnshield");
7 #if 0
8  // NOTE: status effect name and icon disabled as they are not displayed
9  // re-enable if status effects are given a visual element
10  ATTRIB(SpawnShield, m_name, string, _("Spawn Shield"));
11  ATTRIB(SpawnShield, m_icon, string, "shield");
12 #endif
13  ATTRIB(SpawnShield, m_color, vector, '0.36 1 0.07');
14  ATTRIB(SpawnShield, m_hidden, bool, true);
15  ATTRIB(SpawnShield, m_lifetime, float, 10);
16 ENDCLASS(SpawnShield)
17 REGISTER_STATUSEFFECT(SpawnShield, NEW(SpawnShield));
REGISTER_STATUSEFFECT(SpawnShield, NEW(SpawnShield))
#define NEW(cname,...)
Definition: oo.qh:105
CLASS(Object) Object
Definition: oo.qh:318
string netname
Definition: powerups.qc:20
#define ATTRIB(...)
Definition: oo.qh:136
vector(float skel, float bonenum) _skel_get_boneabs_hidden
#define ENDCLASS(cname)
Definition: oo.qh:269
string m_name
Definition: scores.qh:135