From 7ed03e01ac8913a90cae827bc656969e09fc7455 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 6 Apr 2024 23:11:21 +0200 Subject: mark tiles reachable around player in region bitmask --- src/chunk.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/chunk.hpp') 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 positions = {}); + pass_region make_pass_region(const Search::pred& f, bool debug = false, ArrayView positions = {}); private: struct ground_stuff -- cgit v1.2.3