X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fweapons%2Fprojectile.qh;h=66e1be4707629bffeee90a18f694373958a4a2b1;hb=6e0735e995e35d56e60f8b816285077b7db0b155;hp=847f3db49d3f298945d16e3ba29250630bceef9b;hpb=349aeb508e5a3d577df60bef8a552da2db7d928d;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/weapons/projectile.qh b/qcsrc/client/weapons/projectile.qh index 847f3db49..66e1be470 100644 --- a/qcsrc/client/weapons/projectile.qh +++ b/qcsrc/client/weapons/projectile.qh @@ -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); void Projectile_ResetTrail(entity this, vector to); @@ -27,10 +26,6 @@ void Projectile_Draw(entity this); void loopsound(entity e, int ch, string samp, float vol, float attn); -void Ent_RemoveProjectile(); +void Ent_RemoveProjectile(entity this); -void Ent_Projectile(); - -void Projectile_Precache(); - -#endif +const int FL_PROJECTILE = BIT(15);