X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fweapons%2Fprojectile.qh;h=a530df9881ecf39169a7804f31e006fa148f79f9;hp=3a4cdcb0432614006f9bd74de807dd06fdf13c21;hb=014ee9ee758fe7a5d0062f2a5f3186cd7c7f2326;hpb=9f3857d78b4ce83b45bd1e98fe50600a2d306c23 diff --git a/qcsrc/client/weapons/projectile.qh b/qcsrc/client/weapons/projectile.qh index 3a4cdcb043..a530df9881 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();