Dungeonator
1.0.0
a dungeon generator library
|
the implementation file for maze generation code More...
Go to the source code of this file.
Functions | |
void | backtrackMaze (Grid *grid, regions_t regions, int x, int y, int region) |
the implementation file for maze generation code
the implementation file for maze generation code, currently only implementing recursive backtracking
run recursive backtracking (aka depth-first search) on a grid to generate a maze
[in,out] | grid | the grid to run the algorithm on |
[in] | regions | the regions array |
[in] | x | the starting x position for backtracking |
[in] | y | the starting y position for backtracking |
[in] | region | the region of the maze |