]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/weapons/projectile.qh
Split g_jetpack_attenuation out of the balance configs and rename it to cl_jetpack_at...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / weapons / projectile.qh
index 699f48938e9f10f2402c52b06ea575ba6db5875a..cc95753602b08ba4be92feda0ed17a6a759f5e10 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef CLIENT_WEAPONS_PROJECTILE_H
-#define CLIENT_WEAPONS_PROJECTILE_H
+#pragma once
 
 entityclass(Projectile);
 class(Projectile).int traileffect;
@@ -17,7 +16,7 @@ class(Projectile).float gravity;
 class(Projectile).int snd_looping;
 class(Projectile).bool silent;
 
-void SUB_Stop();
+void SUB_Stop(entity this, entity toucher);
 
 void Projectile_ResetTrail(entity this, vector to);
 
@@ -25,8 +24,8 @@ void Projectile_DrawTrail(entity this, vector to);
 
 void Projectile_Draw(entity this);
 
-void loopsound(entity e, int ch, string samp, float vol, float attn);
+void loopsound(entity e, int ch, Sound samp, float vol, float attn);
 
-void Ent_RemoveProjectile();
+void Ent_RemoveProjectile(entity this);
 
-#endif
+const int FL_PROJECTILE = BIT(15);