Xonotic
bot_null.qc
Go to the documentation of this file.
1 #include "bot_null.qh"
2 
3 #if 0
4 bool bot_aim(entity this, .entity weaponentity, float shotspeed, float shotspeedupward, float maxshottime, float applygravity) { return false; }
5 void bot_clientconnect(entity this) { }
6 void bot_clientdisconnect(entity this) { }
7 void bot_cmdhelp(string scmd) { }
8 void bot_endgame() { }
9 bool bot_fixcount(bool multiple_per_frame) { return true; }
10 void bot_list_commands() { }
11 void bot_queuecommand(entity bot, string cmdstring) { }
12 void bot_relinkplayerlist() { }
13 void bot_resetqueues() { }
14 void bot_serverframe() { }
15 bool bot_shouldattack(entity this, entity e) { return false; }
16 void bot_think(entity this) { }
17 
18 entity find_bot_by_name(string name) { return NULL; }
19 entity find_bot_by_number(float number) { return NULL; }
20 
21 void havocbot_goalrating_enemyplayers(entity this, float ratingscale, vector org, float sradius) { }
22 void havocbot_goalrating_items(entity this, float ratingscale, vector org, float sradius) { }
23 
24 entity navigation_findnearestwaypoint(entity ent, float walkfromwp) { return NULL; }
25 void navigation_goalrating_end(entity this) { }
27 void navigation_markroutes(entity this, entity fixed_source_waypoint) { }
28 void navigation_markroutes_inverted(entity fixed_source_waypoint) { }
29 void navigation_routerating(entity this, entity e, float f, float rangebias) { }
30 
31 bool tracewalk(entity e, vector start, vector m1, vector m2, vector end, float end_height, float movemode) { return false; }
32 
34 void waypoint_remove(entity wp) { }
35 void waypoint_saveall() { }
38 void waypoint_spawnforitem(entity e) { }
40 void waypoint_spawnforteleporter(entity e, vector destination, float timetaken, entity tracetest_ent) { }
41 void waypoint_spawnforteleporter_wz(entity e, entity tracetest_ent) { }
42 void waypoint_spawn_fromeditor(entity pl, bool at_crosshair, bool is_jump_wp, bool is_crouch_wp, bool is_support_wp) { }
43 entity waypoint_spawn(vector m1, vector m2, float f) { return NULL; }
44 #endif
bool bot_aim(entity this,.entity weaponentity, float shotspeed, float shotspeedupward, float maxshottime, float applygravity)
void navigation_goalrating_start(entity this)
Definition: navigation.qc:1830
void navigation_markroutes_inverted(entity fixed_source_waypoint)
Definition: navigation.qc:1171
void havocbot_goalrating_items(entity this, float ratingscale, vector org, float sradius)
Definition: roles.qc:106
void waypoint_remove(entity wp)
Definition: waypoints.qc:821
void navigation_goalrating_end(entity this)
Definition: navigation.qc:1845
int int number
Definition: impulse.qc:89
void bot_relinkplayerlist()
Definition: bot.qc:381
void bot_cmdhelp(string scmd)
Definition: scripting.qc:331
entity() spawn
entity find_bot_by_name(string name)
Definition: scripting.qc:235
void navigation_markroutes(entity this, entity fixed_source_waypoint)
Definition: navigation.qc:1081
void waypoint_spawn_fromeditor(entity pl, bool at_crosshair, bool is_jump_wp, bool is_crouch_wp, bool is_support_wp)
Definition: waypoints.qc:570
bool tracewalk(entity e, vector start, vector m1, vector m2, vector end, float end_height, float movemode)
Definition: navigation.qc:273
void havocbot_goalrating_enemyplayers(entity this, float ratingscale, vector org, float sradius)
Definition: roles.qc:176
void bot_clientconnect(entity this)
Definition: bot.qc:426
void waypoint_spawnforteleporter_wz(entity e, entity tracetest_ent)
Definition: waypoints.qc:2031
void navigation_routerating(entity this, entity e, float f, float rangebias)
Definition: navigation.qc:1220
void bot_list_commands()
Definition: scripting.qc:444
entity find_bot_by_number(float number)
Definition: scripting.qc:246
void waypoint_spawnforitem_force(entity e, vector org)
Definition: waypoints.qc:1978
void waypoint_saveall()
Definition: waypoints.qc:1760
#define NULL
Definition: post.qh:17
void bot_endgame()
Definition: bot.qc:369
void waypoint_spawnforteleporter(entity e, vector destination, float timetaken, entity tracetest_ent)
Definition: waypoints.qc:2069
vector(float skel, float bonenum) _skel_get_boneabs_hidden
void bot_serverframe()
Definition: bot.qc:658
bool bot_shouldattack(entity this, entity e)
Definition: aim.qc:112
void bot_think(entity this)
Definition: bot.qc:57
void waypoint_spawnforitem(entity e)
Definition: waypoints.qc:2007
void waypoint_schedulerelinkall()
Definition: waypoints.qc:1309
void bot_resetqueues()
Definition: scripting.qc:1165
void bot_queuecommand(entity bot, string cmdstring)
Definition: scripting.qc:30
void bot_clientdisconnect(entity this)
Definition: bot.qc:411
void waypoint_schedulerelink(entity wp)
Definition: waypoints.qc:1275
entity waypoint_spawn(vector m1, vector m2, float f)
Definition: waypoints.qc:431
bool bot_fixcount(bool multiple_per_frame)
Definition: bot.qc:591
void waypoint_remove_fromeditor(entity pl)
Definition: waypoints.qc:840
entity navigation_findnearestwaypoint(entity ent, float walkfromwp)
Definition: navigation.qc:1011