Fixed up dbc.cpp so now just use it everywhere. I next need to find a way to pass that to format automatically.

This commit is contained in:
Zed A. Shaw 2025-03-17 23:53:58 -04:00
parent 2baa044695
commit a6d83db20c
10 changed files with 25 additions and 21 deletions

View file

@ -295,8 +295,6 @@ void WorldBuilder::make_room(size_t origin_x, size_t origin_y, size_t w, size_t
void WorldBuilder::place_rooms() {
for(auto &cur : $map.$rooms) {
// println("ROOM x/y={},{}; w/h={},{}; map={},{}",
// cur.x, cur.y, cur.width, cur.height, $map.$width, $map.$height);
add_door(cur);
make_room(cur.x, cur.y, cur.width, cur.height);
}