X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fweapons%2Fprojectile.qh;h=c6076f2fef94e2eb52019c64b2b6008d348def24;hp=70c8ba0dfc5df0ea78f523e9d9a6229dd5eccc36;hb=d3a7bb2616410f0252504af2a84e11fb4dac21a3;hpb=f8287888da112f1cd5d711903be8f840ff9f0d70 diff --git a/qcsrc/client/weapons/projectile.qh b/qcsrc/client/weapons/projectile.qh index 70c8ba0df..c6076f2fe 100644 --- a/qcsrc/client/weapons/projectile.qh +++ b/qcsrc/client/weapons/projectile.qh @@ -1,3 +1,35 @@ -.float traileffect; +#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; + +void SUB_Stop(); + void Projectile_ResetTrail(vector to); + void Projectile_DrawTrail(vector to); + +void Projectile_Draw(); + +void loopsound(entity e, int ch, string samp, float vol, float attn); + +void Ent_RemoveProjectile(); + +void Ent_Projectile(); + +void Projectile_Precache(); + +#endif \ No newline at end of file