Xonotic
all.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "effect.qh"
4 
5 #ifdef SVQC
6 void Send_Effect_Except(entity eff, vector eff_loc, vector eff_vel, int eff_cnt, entity ignore);
7 void Send_Effect(entity eff, vector eff_loc, vector eff_vel, int eff_cnt);
8 void Send_Effect_(string eff_name, vector eff_loc, vector eff_vel, int eff_cnt);
9 #endif
10 
11 REGISTRY(Effects, BITS(8))
12 REGISTER_REGISTRY(Effects)
13 REGISTRY_CHECK(Effects)
14 #define EFFECT(istrail, name, realname) \
15  REGISTER(Effects, EFFECT, name, m_id, Create_Effect_Entity(realname, istrail));
16 
17 EFFECT(0, Null, string_null)
18 REGISTRY_DEFINE_GET(Effects, EFFECT_Null)
19 #include "all.inc"
REGISTRY(Weapons, 72) STATIC_INIT(WeaponPickup)
Definition: all.qh:28
string string_null
Definition: nil.qh:9
entity() spawn
#define REGISTRY_CHECK(id)
Definition: registry.qh:175
#define REGISTER_REGISTRY(id)
Definition: registry.qh:212
#define REGISTRY_DEFINE_GET(id, null)
Definition: registry.qh:40
#define EFFECT(istrail, name, realname)
Definition: all.qh:14
vector(float skel, float bonenum) _skel_get_boneabs_hidden
#define BITS(n)
Definition: bits.qh:9