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.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/pathfinder/npf/aystar.h b/src/pathfinder/npf/aystar.h
index 38101cc91..3c346a80c 100644
--- a/src/pathfinder/npf/aystar.h
+++ b/src/pathfinder/npf/aystar.h
@@ -150,15 +150,10 @@ struct AyStar {
void Clear();
void CheckTile(AyStarNode *current, OpenListNode *parent);
- /* These will contain the open and closed lists */
-
- /* The actual closed list */
- Hash ClosedListHash;
- /* The open queue */
- BinaryHeap OpenListQueue;
- /* An extra hash to speed up the process of looking up an element in
- * the open list */
- Hash OpenListHash;
+protected:
+ Hash closedlist_hash; ///< The actual closed list.
+ BinaryHeap openlist_queue; ///< The open queue.
+ Hash openlist_hash; ///< An extra hash to speed up the process of looking up an element in the open list.
void OpenListAdd(PathNode *parent, const AyStarNode *node, int f, int g);
OpenListNode *OpenListIsInList(const AyStarNode *node);