nexus/astar.h

9 lines
332 B
C
Raw Normal View History

#include "defs.h"
int calcg(lifeform_t *lf, cell_t *thiscell, node_t *parent, int dirfromparent);
int calcg_map(cell_t *thiscell, node_t *parent, int dirfromparent);
int calcheuristic(cell_t *c, cell_t *end);
int calch_map(cell_t *c, int destroomid);
void clearnode(node_t *n);
int insert(node_t *n, node_t *list, int *listcount);