X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fweapons%2Fprojectile.qh;h=67e08c224bfd6f2a5f35dd8f3354c36e7d79be07;hp=3a4cdcb0432614006f9bd74de807dd06fdf13c21;hb=86c9dc7c3696c329496b06375c1e79fb407401ce;hpb=530e06120a7b41f6175b1144fedf6903da8c13b0 diff --git a/qcsrc/client/weapons/projectile.qh b/qcsrc/client/weapons/projectile.qh index 3a4cdcb04..67e08c224 100644 --- a/qcsrc/client/weapons/projectile.qh +++ b/qcsrc/client/weapons/projectile.qh @@ -1,20 +1,21 @@ #ifndef PROJECTILE_H #define PROJECTILE_H -.int traileffect; - -.vector iorigin1, iorigin2; -.float spawntime; -.vector trail_oldorigin; -.float trail_oldtime; -.float fade_time, fade_rate; - -.float alphamod; -.int count; // set if clientside projectile -.int cnt; // sound index -.float gravity; -.int snd_looping; -.bool silent; +entityclass(Projectile); +class(Projectile) .int traileffect; + +class(Projectile) .vector iorigin1, iorigin2; +class(Projectile) .float spawntime; +class(Projectile) .vector trail_oldorigin; +class(Projectile) .float trail_oldtime; +class(Projectile) .float fade_time, fade_rate; + +class(Projectile) .float alphamod; +class(Projectile) .int count; // set if clientside projectile +class(Projectile) .int cnt; // sound index +class(Projectile) .float gravity; +class(Projectile) .int snd_looping; +class(Projectile) .bool silent; void SUB_Stop();