diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-06 23:11:21 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-06 23:49:50 +0200 |
| commit | 7ed03e01ac8913a90cae827bc656969e09fc7455 (patch) | |
| tree | be3f87d4bbae74806aa45f72f5069ee82f8fc9ac /src/chunk.hpp | |
| parent | d26b3630c7248bc367d6e45faacc5ff0d734c66e (diff) | |
mark tiles reachable around player in region bitmask
Diffstat (limited to 'src/chunk.hpp')
| -rw-r--r-- | src/chunk.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chunk.hpp b/src/chunk.hpp index 266d01e5..2eccef14 100644 --- a/src/chunk.hpp +++ b/src/chunk.hpp @@ -117,8 +117,8 @@ public: static constexpr size_t max_wall_quad_count = TILE_COUNT*Wall::Direction_COUNT*(Wall::Group_COUNT+4); - pass_region make_pass_region(bool debug = false); - pass_region make_pass_region(const Search::pred& f, bool debug = false); + pass_region make_pass_region(bool debug = false, ArrayView<Vector2i> positions = {}); + pass_region make_pass_region(const Search::pred& f, bool debug = false, ArrayView<Vector2i> positions = {}); private: struct ground_stuff |
