7 entity tracetossfaketarget;
8 vector findtrajectory_velocity;
16 // upto 5 queued messages
62 .bool bot_aimdir_executed;
63 .float bot_badaimtime;
64 .float bot_aimthinktime;
65 .float bot_prevaimtime;
67 .float bot_aimlatency;
70 .vector bot_badaimoffset;
71 .vector bot_1st_order_aimfilter;
72 .vector bot_2nd_order_aimfilter;
73 .vector bot_3th_order_aimfilter;
74 .vector bot_4th_order_aimfilter;
75 .vector bot_5th_order_aimfilter;
76 .vector bot_olddesiredang;
78 //.vector bot_aimorigin;
79 //.vector bot_aimvelocity;
80 .vector bot_aimtargorigin;
81 .vector bot_aimtargvelocity;
89 float lag_additem(entity this, float t, float f1, float f2, entity e1, vector v1, vector v2, vector v3, vector v4);
90 void lag_update(entity this);
91 void bot_lagfunc(entity this, float t, float f1, float f2, entity e1, vector v1, vector v2, vector v3, vector v4);
93 float bot_shouldattack(entity this, entity targ);
94 void bot_aimdir(entity this, vector v, float maxfiredeviation);
95 bool bot_aim(entity this, .entity weaponentity, float shotspeed, float shotspeedupward, float maxshottime, bool applygravity);
96 float findtrajectorywithleading(vector org, vector m1, vector m2, entity targ, float shotspeed, float shotspeedupward, float maxtime, float shotdelay, entity ignore);
98 vector bot_shotlead(vector targorigin, vector targvelocity, float shotspeed, float shotdelay);
100 .void(entity this, float t, float f1, float f2, entity e1, vector v1, vector v2, vector v3, vector v4) lag_func;