Better map generation and a test that re-rolls maps that aren't valid to figure out the stats of map gen failures.

This commit is contained in:
Zed A. Shaw 2026-03-11 12:31:51 -04:00
parent 8090251a71
commit f85ae8a6c6
12 changed files with 131 additions and 76 deletions

View file

@ -6,6 +6,7 @@ namespace matrix {
using Matrix = shiterator::Base<int>;
using viewport = shiterator::viewport_t<Matrix>;
using perimeter = shiterator::perimeter_t<Matrix>;
using each_cell = shiterator::each_cell_t<Matrix>;
@ -17,7 +18,7 @@ namespace matrix {
using rando_rect = shiterator::rando_rect_t<Matrix>;
using rando_rect = shiterator::rando_rect_t<Matrix>;
using rando_box = shiterator::rando_box_t<Matrix>;
using line = shiterator::line;
using line = shiterator::line_t;
void dump(const std::string &msg, Matrix &map, int show_x=-1, int show_y=-1);