+#include "expandnode.qh"
+#include "pathlib.qh"
+#include "utility.qh"
+
vector plib_points2[8];
vector plib_points[8];
float plib_fvals[8];
float pathlib_expandnode_starf(entity node, vector start, vector goal)
{
vector where,f,r,t;
- float fc,fc2,c;
+ float fc,c;
entity nap;
where = node.origin;
plib_points2[0] = plib_points[0];
vector bp;
bp = plib_points[0];
- fc2 = 0;
+ int fc2 = 0;
for(int i = 0; i < 8; ++i)
{
c = 0;
r = PLIB_RIGHT * pathlib_gridsize;
if (node.pathlib_node_edgeflags == pathlib_node_edgeflag_unknown)
- node.pathlib_node_edgeflags = tile_check_plus2(node.origin);
+ node.pathlib_node_edgeflags = tile_check_plus2(node, node.origin);
if(node.pathlib_node_edgeflags == pathlib_node_edgeflag_none)
{
- dprint("Node at ", vtos(node.origin), " not expanable");
+ LOG_TRACE("Node at ", vtos(node.origin), " not expanable");
return pathlib_open_cnt;
}