A slightly working flood iterator and a working compass iterator.

This commit is contained in:
Zed A. Shaw 2024-12-17 17:32:27 -05:00
parent 043c0d91df
commit 1295e9631d
6 changed files with 214 additions and 4 deletions

View file

@ -120,6 +120,8 @@ void WorldBuilder::generate() {
place_rooms();
dbc::check($map.room_count() > 0, "map generated zero rooms, map too small?");
for(size_t i = 0; i < $map.$rooms.size() - 1; i++) {
tunnel_doors(holes, $map.$rooms[i], $map.$rooms[i+1]);
}