]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/havocbot/havocbot.qh
Cleanse some uses of self in the bot code
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / havocbot / havocbot.qh
index 99c7b00751a117b9af95341bab0fc9c6cc294d0c..4f017f0048d60ca1387028162b6446522520501f 100644 (file)
  * Functions
  */
 
-void havocbot_ai();
-void havocbot_aim();
+void havocbot_ai(entity this);
+void havocbot_aim(entity this);
 void havocbot_setupbot();
-void havocbot_movetogoal();
+void havocbot_movetogoal(entity this);
 void havocbot_chooserole();
-void havocbot_chooseenemy();
-void havocbot_chooseweapon();
-void havocbot_bunnyhop(vector dir);
-void havocbot_keyboard_movement(vector destorg);
+void havocbot_chooseenemy(entity this);
+void havocbot_chooseweapon(entity this);
+void havocbot_bunnyhop(entity this, vector dir);
+void havocbot_keyboard_movement(entity this, vector destorg);
 
-float havocbot_resetgoal();
-float havocbot_moveto(vector pos);
-float havocbot_moveto_refresh_route();
+float havocbot_resetgoal(entity this);
+float havocbot_moveto(entity this, vector pos);
+float havocbot_moveto_refresh_route(entity this);
 
 vector havocbot_dodge();