Slight better but I think place_doors can be even better.

This commit is contained in:
Zed A. Shaw 2026-03-15 01:21:33 -04:00
parent f304538325
commit 908f5bfb3e
4 changed files with 37 additions and 36 deletions

View file

@ -41,11 +41,11 @@ namespace maze {
void open_box(size_t outer_size);
void add_dead_end(Point at);
bool room_should_exist(Room& room, bool allow_dupes=false);
void make_doors();
void place_doors();
bool validate();
bool repair();
void punch_dead_end(size_t at_x, size_t at_y, size_t x, size_t y);
void in_bounds(size_t x, size_t y);
bool space_available(size_t x, size_t y);
};
std::pair<Builder, bool> script(Map& map, nlohmann::json& config);