X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fparticles.qh;h=3735641afa6d7ee03f66957e4b2769d131f57464;hb=21307f327df5609b82d90496c1c6156d636d1c8d;hp=9016f8b1fa6c57a25c5d2a5cd0f2a19958f5af57;hpb=014ee9ee758fe7a5d0062f2a5f3186cd7c7f2326;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/particles.qh b/qcsrc/client/particles.qh index 9016f8b1f..3735641af 100644 --- a/qcsrc/client/particles.qh +++ b/qcsrc/client/particles.qh @@ -1,9 +1,8 @@ -#ifndef PARTICLES_H -#define PARTICLES_H - +#ifndef CLIENT_PARTICLES_H +#define CLIENT_PARTICLES_H .int dphitcontentsmask; -entityclass(PointParticles) +entityclass(PointParticles); class(PointParticles) .int cnt; // effect number class(PointParticles) .vector velocity; // particle velocity class(PointParticles) .float waterlevel; // direction jitter @@ -15,7 +14,7 @@ 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 -void Draw_PointParticles(); +void Draw_PointParticles(entity this); void Ent_PointParticles_Remove(); @@ -23,11 +22,5 @@ void Ent_PointParticles(); class(PointParticles) .float glow_color; // palette index -void Draw_Rain(); - -void Draw_Snow(); - -void Ent_RainOrSnow(); - void Net_ReadVortexBeamParticle(); #endif