A slightly working flood iterator and a working compass iterator.
This commit is contained in:
parent
043c0d91df
commit
1295e9631d
6 changed files with 214 additions and 4 deletions
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue