Cleaned up the maze placement so that I can have mazes without rooms and with other features.
This commit is contained in:
parent
37715f05a5
commit
20f03731e5
6 changed files with 34 additions and 25 deletions
2
maze.hpp
2
maze.hpp
|
@ -8,7 +8,7 @@ namespace maze {
|
|||
|
||||
void hunt_and_kill(Matrix& maze, std::vector<Room>& rooms, std::vector<Point>& dead_ends);
|
||||
|
||||
void randomize_rooms(std::vector<Room>& rooms_out, std::vector<Point> maybe_here);
|
||||
void randomize_rooms(std::vector<Room>& rooms_out, std::vector<Point>& maybe_here);
|
||||
|
||||
void inner_donut(Matrix& maze, float outer_rad, float inner_rad);
|
||||
void inner_box(Matrix& map, size_t outer_size, size_t inner_size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue