Hunt-and-kill algorithm rocks. It handles everything I need for map gen, including spawn points, room placement, and the maze like map.

This commit is contained in:
Zed A. Shaw 2025-05-19 01:40:23 -04:00
parent 0f8e61797f
commit a0b785cb2a
8 changed files with 62 additions and 336 deletions

View file

@ -3,7 +3,5 @@
#include "map.hpp"
namespace maze {
void recursive_div(matrix::Matrix& map, std::vector<Room>& rooms);
void hunt_and_kill(Matrix& maze, std::vector<Room>& rooms);
void hunt_and_kill(Matrix& maze, std::vector<Room>& rooms, std::vector<Point>& dead_ends);
}