]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/effects/all.qh
Merge branch 'terencehill/announcer_fix' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / effects / all.qh
1 #ifndef EFFECTS_ALL_H
2 #define EFFECTS_ALL_H
3
4 #include "effect.qh"
5
6 #ifdef SVQC
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 #define Effects_from(i) _Effects_from(i, EFFECT_Null)
13 REGISTER_REGISTRY(Effects)
14 REGISTRY_CHECK(Effects)
15 #define EFFECT(istrail, name, realname) \
16     REGISTER(Effects, EFFECT, name, m_id, Create_Effect_Entity(realname, istrail));
17
18 EFFECT(0, Null, string_null)
19 #include "all.inc"
20
21 #endif