]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/turrets/util.qh
Properly support team field on trigger_multiple
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / turrets / util.qh
index dd9efec6b2b9f3b668c6cdf18de3f6598bb3509c..4c84f268d3024679102f158cf5e017bf229ff28a 100644 (file)
@@ -1,12 +1,8 @@
-#ifndef TURRETS_UTIL_H
-#define TURRETS_UTIL_H
+#pragma once
 
-float shortangle_f(float ang1, float ang2);
-float anglemods(float v);
-float turret_tag_fire_update();
-vector shortangle_vxy(vector ang1, vector ang2);
-vector angleofs(entity from, entity to);
-vector angleofs3(vector from, vector from_a, entity to);
-void FireImoBeam (vector start, vector end, vector smin, vector smax, float bforce, float f_dmg, float f_velfactor, float deathtype);
+#ifdef SVQC
+
+float turret_tag_fire_update(entity this);
+void FireImoBeam(entity this, vector start, vector end, vector smin, vector smax, float bforce, float f_dmg, float f_velfactor, float deathtype);
 
 #endif