X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fturrets%2Fsv_turrets.qh;h=622f2360f7d0aec8fd6ad109129a04e98972ffa8;hb=42e255d014f2c6a1871177ea511f630624cdfb57;hp=1a4ade6806b29e0a713fdb63bb0c0b2da2a6e9ce;hpb=c0582a52156c4e74e4c5313e5f360275493a8733;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/turrets/sv_turrets.qh b/qcsrc/common/turrets/sv_turrets.qh index 1a4ade680..622f2360f 100644 --- a/qcsrc/common/turrets/sv_turrets.qh +++ b/qcsrc/common/turrets/sv_turrets.qh @@ -1,7 +1,11 @@ #ifndef SV_TURRETS_H #define SV_TURRETS_H -#include "all.qh" +entity turret_projectile(Sound _snd, float _size, float _health, float _death, float _proj_type, float _cull, float _cli_anim); +void turret_projectile_explode(); +float turret_validate_target(entity e_turret, entity e_target, float validate_flags); +float turret_firecheck(); +entity turret_select_target(); // turret fields .float ticrate; // interal ai think rate @@ -83,7 +87,7 @@ void turret_do_updates(entity e_turret); void turrets_setframe(float _frame, float client_only); -float turret_initialize(float tur_id); +float turret_initialize(Turret tur); /// Function to use for target evaluation. usualy turret_targetscore_generic .float(entity _turret, entity _target) turret_score_target;