4 //#define PATHLIB_RDFIELDS
5 #ifdef PATHLIB_RDFIELDS
6 #define path_next swampslug
7 #define path_prev lasertarget
17 .float pathlib_node_g;
18 .float pathlib_node_h;
19 .float pathlib_node_f;
21 float pathlib_open_cnt;
22 float pathlib_closed_cnt;
23 float pathlib_made_cnt;
24 float pathlib_merge_cnt;
25 float pathlib_recycle_cnt;
26 float pathlib_searched_cnt;
28 float pathlib_bestopen_seached;
29 float pathlib_bestcash_hits;
30 float pathlib_bestcash_saved;
32 float pathlib_gridsize;
34 float pathlib_movecost;
35 float pathlib_movecost_diag;
36 float pathlib_movecost_waterfactor;
38 float pathlib_edge_check_size;
40 float pathlib_foundgoal;
43 entity best_open_node;
46 #define inwater(point) (pointcontents(point) == CONTENT_WATER)