Add a terrible maze generation algorithm to test if a maze style map looks/feels better. The walls are disabled so you can walk around.
This commit is contained in:
parent
6cbfcf993e
commit
7a0b2f988d
9 changed files with 207 additions and 52 deletions
7
maze.hpp
Normal file
7
maze.hpp
Normal file
|
@ -0,0 +1,7 @@
|
|||
#pragma once
|
||||
#include "matrix.hpp"
|
||||
#include "map.hpp"
|
||||
|
||||
namespace maze {
|
||||
void recursive_div(matrix::Matrix& map, std::vector<Room>& rooms);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue