]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/weapons/projectile.qh
Clean up CSQC #includes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / weapons / projectile.qh
index 0fc233d52a4e22bb2dc188fd8fe934fd3adb3948..c6076f2fef94e2eb52019c64b2b6008d348def24 100644 (file)
@@ -1,62 +1,35 @@
 #ifndef PROJECTILE_H
 #define PROJECTILE_H
 
-#if defined(CSQC)
-    #include "../../common/util-pre.qh"
-    #include "../sys-pre.qh"
-    #include "../../dpdefs/csprogsdefs.qc"
-    #include "../sys-post.qh"
-    #include "../Defs.qc"
-    #include "../../dpdefs/keycodes.qc"
-    #include "../../common/constants.qh"
-    #include "../../common/stats.qh"
-    #include "../../warpzonelib/anglestransform.qh"
-    #include "../../warpzonelib/mathlib.qh"
-    #include "../../warpzonelib/common.qh"
-    #include "../../warpzonelib/client.qh"
-    #include "../../common/playerstats.qh"
-    #include "../../common/teams.qh"
-    #include "../../common/util.qh"
-    #include "../../common/nades.qh"
-    #include "../../common/buffs.qh"
-    #include "../../common/test.qh"
-    #include "../../common/counting.qh"
-    #include "../../common/weapons/weapons.qh"
-    #include "../../common/mapinfo.qh"
-    #include "../../common/command/markup.qh"
-    #include "../../common/command/rpn.qh"
-    #include "../../common/command/generic.qh"
-    #include "../../common/command/shared_defs.qh"
-    #include "../../common/urllib.qh"
-    #include "../../common/animdecide.qh"
-    #include "../command/cl_cmd.qh"
-    #include "../../common/monsters/monsters.qh"
-    #include "../autocvars.qh"
-    #include "../../common/notifications.qh"
-    #include "../../common/deathtypes.qh"
-    #include "../damage.qh"
-    #include "../../csqcmodellib/interpolate.qh"
-    #include "../teamradar.qh"
-    #include "../hud.qh"
-    #include "../scoreboard.qh"
-    #include "../waypointsprites.qh"
-    #include "../movetypes.qh"
-    #include "../prandom.qh"
-    #include "../bgmscript.qh"
-    #include "../noise.qh"
-    #include "../tturrets.qh"
-    #include "../../server/tturrets/include/turrets_early.qh"
-    #include "../main.qh"
-    #include "../vehicles/vehicles.qh"
-    #include "../../common/csqcmodel_settings.qh"
-    #include "../../csqcmodellib/common.qh"
-    #include "../../csqcmodellib/cl_model.qh"
-    #include "../../csqcmodellib/cl_player.qh"
-#elif defined(MENUQC)
-#elif defined(SVQC)
-#endif
-
 .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