summaryrefslogtreecommitdiff
path: root/src/pathfinder/npf/aystar.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-10-02 19:33:23 +0000
committeralberth <alberth@openttd.org>2010-10-02 19:33:23 +0000
commit4f8af5d3360d5d5c180063e2e2fad2b6e746ae9f (patch)
tree8cf1195943e6ae474872235eba3fd2029810028f /src/pathfinder/npf/aystar.h
parentfa661e4075e9c52840900b4b3837cba71149f358 (diff)
downloadopenttd-4f8af5d3360d5d5c180063e2e2fad2b6e746ae9f.tar.xz
(svn r20878) -Codechange: Make AyStarMain_ClosedList_Add a method.
Diffstat (limited to 'src/pathfinder/npf/aystar.h')
-rw-r--r--src/pathfinder/npf/aystar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pathfinder/npf/aystar.h b/src/pathfinder/npf/aystar.h
index c5f433a7a..152af1b41 100644
--- a/src/pathfinder/npf/aystar.h
+++ b/src/pathfinder/npf/aystar.h
@@ -163,6 +163,8 @@ struct AyStar {
void OpenListAdd(PathNode *parent, const AyStarNode *node, int f, int g);
OpenListNode *OpenListIsInList(const AyStarNode *node);
OpenListNode *OpenListPop();
+
+ void ClosedListAdd(const PathNode *node);
};
#endif /* AYSTAR_H */