diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-06 12:52:06 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-06 12:52:06 +0200 |
commit | d402f109df796e691306879903ddf09b2328d9e6 (patch) | |
tree | 73dfd5a0eea545654dcf3b4250ff7b4ac91a027e /src/path-search.hpp | |
parent | 268e5aa4bfe6f46f1fd4b8ceb50c54904c7536bf (diff) |
a
Diffstat (limited to 'src/path-search.hpp')
-rw-r--r-- | src/path-search.hpp | 3 |
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; |