9 #define REGISTER_STATUSEFFECT(id, inst) REGISTER(StatusEffect, STATUSEFFECT, id, m_id, inst) 33 ATTRIB(StatusEffects, m_icon,
string);
38 ATTRIB(StatusEffects, m_lifetime,
float, 30);
42 METHOD(StatusEffects, m_tick,
void(StatusEffects
this,
entity actor));
43 METHOD(StatusEffects, m_active,
bool(StatusEffects
this,
entity actor));
49 METHOD(StatusEffects, m_apply,
void(StatusEffects
this,
entity actor,
float eff_time,
int eff_flags));
50 METHOD(StatusEffects, m_remove,
void(StatusEffects
this,
entity actor,
int removal_type));
52 METHOD(StatusEffects, m_persistent,
bool(StatusEffects
this,
entity actor)) {
return false; };
54 METHOD(StatusEffects, display,
void(StatusEffects
this,
void(
string name,
string icon) returns))
56 TC(StatusEffects,
this);
57 returns(this.m_name, this.m_icon ? sprintf(
"/gfx/hud/%s/%s",
cvar_string(
"menu_skin"), this.m_icon) :
string_null);
REGISTRY(Weapons, 72) STATIC_INIT(WeaponPickup)
REGISTRY_SORT(Notifications)
#define REGISTRY_CHECK(id)
Effect is being removed by a function, calls regular removal mechanics.
#define METHOD(cname, name, prototype)
#define REGISTER_REGISTRY(id)
Effect is being forcibly removed without calling any additional mechanics.
#define REGISTRY_DEFINE_GET(id, null)
#define BIT(n)
Only ever assign into the first 24 bits in QC (so max is BIT(23)).
Effect is currently being granted passively.
vector(float skel, float bonenum) _skel_get_boneabs_hidden
STATIC_INIT(IMPULSES_renumber)
#define ATTRIBARRAY(cname, name, type, cnt)
#define FOREACH(list, cond, body)