Move the random gen to a global for now.
This commit is contained in:
parent
a37a40d45f
commit
b100950877
2 changed files with 12 additions and 11 deletions
2
map.hpp
2
map.hpp
|
@ -59,6 +59,6 @@ public:
|
|||
void generate();
|
||||
void draw_map(Room &root);
|
||||
void make_paths();
|
||||
void partition_map(std::mt19937 &gen, Room &cur, int depth);
|
||||
void partition_map(Room &cur, int depth);
|
||||
void dump();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue