summaryrefslogtreecommitdiffhomepage
path: root/src/path-search.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/path-search.hpp')
-rw-r--r--src/path-search.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/path-search.hpp b/src/path-search.hpp
index 05abc941..bea1b76b 100644
--- a/src/path-search.hpp
+++ b/src/path-search.hpp
@@ -88,6 +88,9 @@ public:
chunk_cache cache;
+ size_t cache_chunk_index(chunk_coords coord);
+ static size_t cache_tile_index(local_coords tile, Vector2i subdiv);
+
using pred = fu2::function_view<path_search_continue(collision_data) const>;
static const pred& never_continue() noexcept;
static const pred& always_continue() noexcept;