]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/havocbot/havocbot.qh
Purge self from bot roles
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / havocbot / havocbot.qh
index 8beb687ebd29d43fda70e87daa43ea5ffe88b09c..36b4c33fd9b5a3bdcfdf5645c97afda9c915821d 100644 (file)
@@ -37,7 +37,7 @@ void havocbot_ai(entity this);
 void havocbot_aim(entity this);
 void havocbot_setupbot(entity this);
 void havocbot_movetogoal(entity this);
-void havocbot_chooserole();
+void havocbot_chooserole(entity this);
 void havocbot_chooseenemy(entity this);
 void havocbot_chooseweapon(entity this);
 void havocbot_bunnyhop(entity this, vector dir);
@@ -49,11 +49,11 @@ float havocbot_moveto_refresh_route(entity this);
 
 vector havocbot_dodge();
 
-.void() havocbot_role;
-.void() havocbot_previous_role;
+.void(entity this) havocbot_role;
+.void(entity this) havocbot_previous_role;
 
-void(float ratingscale, vector org, float sradius) havocbot_goalrating_items;
-void(float ratingscale, vector org, float sradius) havocbot_goalrating_enemyplayers;
+void(entity this, float ratingscale, vector org, float sradius) havocbot_goalrating_items;
+void(entity this, float ratingscale, vector org, float sradius) havocbot_goalrating_enemyplayers;
 
 /*
  * Imports