X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fturrets%2Fsv_turrets.qh;h=c4ff13e91d3b18edbed79544d1cd14ad0d3b67e2;hb=82dbcadfd0556053b74638f2e3ae2e57103ddf26;hp=f89ef1581ba8f46866d15bbd8055a706440df33d;hpb=7f6f6ddf5a60125f13cbc906c5e29faf61310d80;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/turrets/sv_turrets.qh b/qcsrc/common/turrets/sv_turrets.qh index f89ef1581..c4ff13e91 100644 --- a/qcsrc/common/turrets/sv_turrets.qh +++ b/qcsrc/common/turrets/sv_turrets.qh @@ -1,3 +1,6 @@ +#ifndef SV_TURRETS_H +#define SV_TURRETS_H + // turret fields .float ticrate; // interal ai think rate .vector aim_idle; // where to aim while idle @@ -68,6 +71,8 @@ const float TFL_TRACKTYPE_FLUIDINERTIA = 3; // simulated inertia ("wobbly" mode) .float track_accel_rotate; .float track_blendrate; +void() turret_respawn; + /// updates aim org, shot org, shot dir and enemy org for selected turret void turret_do_updates(entity e_turret); .vector tur_shotdir_updated; @@ -104,3 +109,5 @@ vector tvt_tadv; // turret angle diff vector, updated by a successful call to tu float tvt_thadf; // turret head angle diff float, updated by a successful call to turret_validate_target float tvt_tadf; // turret angle diff float, updated by a successful call to turret_validate_target float tvt_dist; // turret distance, updated by a successful call to turret_validate_target + +#endif