Xonotic
|
#include "path_waypoint.qh"
#include <server/bot/api.qh>
#include <server/pathlib/main.qh>
#include <server/pathlib/pathlib.qh>
Go to the source code of this file.
Functions | |
entity | pathlib_waypointpath (entity wp_from, entity wp_to, float callback) |
void | pathlib_waypointpath_autostep () |
entity | pathlib_waypointpath_step () |
entity | pathlib_wpp_bestopen () |
void | pathlib_wpp_close (entity wp) |
float | pathlib_wpp_expand (entity wp) |
var float | pathlib_wpp_open (entity wp, entity child, float cost) |
float | pathlib_wpp_opencb (entity wp, entity child, float cost) |
float | pathlib_wpp_openncb (entity wp, entity child, float cost) |
void | plas_think (entity this) |
Definition at line 132 of file path_waypoint.qc.
References closedlist, ftos(), g_waypoints, gettime(), GETTIME_REALTIME, goal_node, IL_EACH, LOG_TRACE, NULL, openlist, pathlib_closed_cnt, pathlib_foundgoal, pathlib_h_none(), pathlib_heuristic(), pathlib_movecost, pathlib_movecost_diag, pathlib_open_cnt, pathlib_searched_cnt, pathlib_starttime, pathlib_wpp_expand(), pathlib_wpp_open(), pathlib_wpp_opencb(), pathlib_wpp_openncb(), pathlib_wpp_waypointcallback(), spawn(), start_node, and vlen().
void pathlib_waypointpath_autostep | ( | ) |
Definition at line 238 of file path_waypoint.qc.
References entity(), plas_think(), setthink, spawn(), and time.
entity pathlib_waypointpath_step | ( | ) |
Definition at line 192 of file path_waypoint.qc.
References buildpath_nodefilter(), buildpath_nodefilter_none(), entity(), ftos(), goal_node, LOG_TRACE, NULL, path_build(), pathlib_foundgoal, pathlib_wpp_bestopen(), pathlib_wpp_close(), pathlib_wpp_expand(), and start_node.
Referenced by plas_think().
entity pathlib_wpp_bestopen | ( | ) |
Definition at line 115 of file path_waypoint.qc.
References best, best_open_node, entity(), FOREACH_ENTITY_ENT, NULL, openlist, and pathlib_list.
Referenced by pathlib_waypointpath_step().
Definition at line 9 of file path_waypoint.qc.
References best_open_node, closedlist, goal_node, NULL, pathlib_closed_cnt, pathlib_foundgoal, and pathlib_open_cnt.
Referenced by pathlib_waypointpath_step().
Definition at line 77 of file path_waypoint.qc.
References pathlib_wpp_open().
Referenced by pathlib_waypointpath(), and pathlib_waypointpath_step().
Referenced by pathlib_waypointpath(), and pathlib_wpp_expand().
Definition at line 23 of file path_waypoint.qc.
References best_open_node, closedlist, goal_node, openlist, pathlib_foundgoal, pathlib_heuristic(), pathlib_open_cnt, pathlib_wpp_waypointcallback(), and vlen().
Referenced by pathlib_waypointpath().
Definition at line 51 of file path_waypoint.qc.
References best_open_node, closedlist, goal_node, openlist, pathlib_foundgoal, pathlib_heuristic(), pathlib_open_cnt, and vlen().
Referenced by pathlib_waypointpath().
Definition at line 230 of file path_waypoint.qc.
References nextthink, pathlib_foundgoal, pathlib_waypointpath_step(), and time.
Referenced by pathlib_waypointpath_autostep().