summaryrefslogtreecommitdiff
path: root/src/pathfinder/npf/aystar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pathfinder/npf/aystar.h')
-rw-r--r--src/pathfinder/npf/aystar.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/pathfinder/npf/aystar.h b/src/pathfinder/npf/aystar.h
index 199e3d944..92e8d39c8 100644
--- a/src/pathfinder/npf/aystar.h
+++ b/src/pathfinder/npf/aystar.h
@@ -139,6 +139,8 @@ struct AyStar {
AyStarNode neighbours[12];
byte num_neighbours;
+ void Init(Hash_HashProc hash, uint num_buckets);
+
/* These will contain the methods for manipulating the AyStar. Only
* Main() should be called externally */
void AddStartNode(AyStarNode *start_node, uint g);
@@ -159,11 +161,4 @@ struct AyStar {
Hash OpenListHash;
};
-
-/* Initialize an AyStar. You should fill all appropriate fields before
- * callling init_AyStar (see the declaration of AyStar for which fields are
- * internal */
-void init_AyStar(AyStar *aystar, Hash_HashProc hash, uint num_buckets);
-
-
#endif /* AYSTAR_H */