summaryrefslogtreecommitdiff
path: root/src/common.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.hpp')
-rw-r--r--src/common.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common.hpp b/src/common.hpp
index 6d4c7c2..10fafcf 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -144,6 +144,10 @@ namespace world {
} path_node_t;
class path_finder_t {
+ path_node_t *node_at(tile_index_t index);
+ bool is_accessible(tile_index_t index);
+ bool diagonal_test(tile_index_t index, size_t i);
+
public:
v2f_t src, dst, tile_center;
cflags_t cflags;