]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/client/particles.qh
Merge branch 'TimePath/itemsys' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / particles.qh
1 #ifndef PARTICLES_H
2 #define PARTICLES_H
3
4 .int dphitcontentsmask;
5
6 entityclass(PointParticles);
7 class(PointParticles) .int cnt; // effect number
8 class(PointParticles) .vector velocity; // particle velocity
9 class(PointParticles) .float waterlevel; // direction jitter
10 class(PointParticles) .int count; // count multiplier
11 class(PointParticles) .int impulse; // density
12 class(PointParticles) .string noise; // sound
13 class(PointParticles) .float atten;
14 class(PointParticles) .float volume;
15 class(PointParticles) .float absolute; // 1 = count per second is absolute, 2 = only spawn at toggle
16 class(PointParticles) .vector movedir; // trace direction
17
18 void Draw_PointParticles();
19
20 void Ent_PointParticles_Remove();
21
22 void Ent_PointParticles();
23
24 class(PointParticles) .float glow_color; // palette index
25
26 void Draw_Rain();
27
28 void Draw_Snow();
29
30 void Ent_RainOrSnow();
31
32 void Net_ReadVortexBeamParticle();
33 #endif