X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fparticles.qh;h=3735641afa6d7ee03f66957e4b2769d131f57464;hb=21307f327df5609b82d90496c1c6156d636d1c8d;hp=a70aef86d703752b3e42b98e393558c64e9e3fed;hpb=0a6815bcec864407078389d25da5afa9a51d3e32;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/particles.qh b/qcsrc/client/particles.qh index a70aef86d..3735641af 100644 --- a/qcsrc/client/particles.qh +++ b/qcsrc/client/particles.qh @@ -1,19 +1,26 @@ -#ifndef PARTICLES_H -#define PARTICLES_H +#ifndef CLIENT_PARTICLES_H +#define CLIENT_PARTICLES_H .int dphitcontentsmask; -.int cnt; // effect number -.vector velocity; // particle velocity -.float waterlevel; // direction jitter -.int count; // count multiplier -.int impulse; // density -.string noise; // sound -.float atten; -.float volume; -.float absolute; // 1 = count per second is absolute, 2 = only spawn at toggle -.vector movedir; // trace direction +entityclass(PointParticles); +class(PointParticles) .int cnt; // effect number +class(PointParticles) .vector velocity; // particle velocity +class(PointParticles) .float waterlevel; // direction jitter +class(PointParticles) .int count; // count multiplier +class(PointParticles) .int impulse; // density +class(PointParticles) .string noise; // sound +class(PointParticles) .float atten; +class(PointParticles) .float volume; +class(PointParticles) .float absolute; // 1 = count per second is absolute, 2 = only spawn at toggle +class(PointParticles) .vector movedir; // trace direction -.float glow_color; // palette index +void Draw_PointParticles(entity this); + +void Ent_PointParticles_Remove(); + +void Ent_PointParticles(); + +class(PointParticles) .float glow_color; // palette index void Net_ReadVortexBeamParticle(); #endif