Xonotic
|
#include "utility.qh"
#include <common/stats.qh>
#include <common/weapons/_all.qh>
#include <server/pathlib/pathlib.qh>
Go to the source code of this file.
Functions | |
bool | location_isok (vector point, bool waterok, bool air_isok) |
entity | pathlib_nodeatpoint (vector where) |
bool | tile_check_cross (entity this, vector where) |
bool | tile_check_plus (entity this, vector where) |
float | tile_check_plus2 (entity this, vector where) |
bool | tile_check_star (entity this, vector where) |
Definition at line 7 of file utility.qc.
References CONTENT_EMPTY, CONTENT_SOLID, CONTENT_WATER, Q3SURFACEFLAG_SKY, and trace_dphitq3surfaceflags.
Referenced by beamsweep(), tile_check_cross(), tile_check_plus(), and tile_check_plus2().
Definition at line 26 of file utility.qc.
References entity(), fsnap(), g_pathlib_nodes, IL_EACH, NULL, pathlib_gridsize, pathlib_searched_cnt, and vdist.
Referenced by pathlib_makenode_adaptive(), and pathlib_mknode().
Definition at line 43 of file utility.qc.
References location_isok(), MOVE_WORLDONLY, PLIB_FORWARD, PLIB_RIGHT, tile_check_down, tile_check_size, tile_check_up, trace_endpos, and vector().
Referenced by pathlib_astar(), and tile_check_star().
Definition at line 77 of file utility.qc.
References location_isok(), MOVE_WORLDONLY, PLIB_FORWARD, PLIB_RIGHT, tile_check_down, tile_check_size, tile_check_up, trace_endpos, and vector().
Referenced by tile_check_star().
Definition at line 112 of file utility.qc.
References location_isok(), MOVE_WORLDONLY, pathlib_gridsize, pathlib_node_edgeflag_back, pathlib_node_edgeflag_backleft, pathlib_node_edgeflag_backright, pathlib_node_edgeflag_forward, pathlib_node_edgeflag_forwardleft, pathlib_node_edgeflag_forwardright, pathlib_node_edgeflag_left, pathlib_node_edgeflag_none, pathlib_node_edgeflag_right, PLIB_FORWARD, PLIB_RIGHT, tile_check_down, tile_check_up, trace_endpos, and vector().
Referenced by pathlib_expandnode_star().
Definition at line 206 of file utility.qc.
References tile_check_cross(), and tile_check_plus().