]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/bot/api.qc
85b0e46568ddad223ba9cce0d67808d616df82ac
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / api.qc
1 #include "api.qh"
2
3 #if 1
4
5 #include "default/_mod.inc"
6 #include "default/havocbot/_mod.inc"
7
8 #else
9
10 bool bot_aim(entity this, float shotspeed, float shotspeedupward, float maxshottime, float applygravity) { return false; }
11 void bot_clientconnect(entity this) { }
12 void bot_clientdisconnect(entity this) { }
13 void bot_cmdhelp(string scmd) { }
14 void bot_endgame() { }
15 bool bot_fixcount() { return true; }
16 void bot_list_commands() { }
17 void bot_queuecommand(entity bot, string cmdstring) { }
18 void bot_relinkplayerlist() { }
19 void bot_resetqueues() { }
20 void bot_serverframe() { }
21 bool bot_shouldattack(entity this, entity e) { return false; }
22 void bot_think(entity this) { }
23
24 entity find_bot_by_name(string name) { return NULL; }
25 entity find_bot_by_number(float number) { return NULL; }
26
27 void havocbot_goalrating_controlpoints(entity this, float ratingscale, vector org, float sradius) { }
28 void havocbot_goalrating_enemyplayers(entity this, float ratingscale, vector org, float sradius) { }
29 void havocbot_goalrating_items(entity this, float ratingscale, vector org, float sradius) { }
30
31 entity navigation_findnearestwaypoint(entity ent, float walkfromwp) { return NULL; }
32 void navigation_goalrating_end(entity this) { }
33 void navigation_goalrating_start(entity this) { }
34 void navigation_markroutes(entity this, entity fixed_source_waypoint) { }
35 void navigation_markroutes_inverted(entity fixed_source_waypoint) { }
36 void navigation_routerating(entity this, entity e, float f, float rangebias) { }
37
38 bool tracewalk(entity e, vector start, vector m1, vector m2, vector end, float movemode) { return false; }
39
40 void waypoint_remove(entity e) { }
41 void waypoint_saveall() { }
42 void waypoint_schedulerelinkall() { }
43 void waypoint_schedulerelink(entity wp) { }
44 void waypoint_spawnforitem(entity e) { }
45 void waypoint_spawnforitem_force(entity e, vector org) { }
46 void waypoint_spawnforteleporter(entity e, vector destination, float timetaken) { }
47 void waypoint_spawnforteleporter_v(entity e, vector org, vector destination, float timetaken) { }
48 entity waypoint_spawn(vector m1, vector m2, float f) { return NULL; }
49 #endif