Dungeonator  1.0.0
a dungeon generator library
generate.h
Go to the documentation of this file.
1 #ifndef GENERATE_H
2 #define GENERATE_H
3 
9 #include "grid.h"
10 #include "rooms.h"
11 #include "maze.h"
12 #include "connectors.h"
13 #include "dead_ends.h"
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif // __cplusplus
18 
30  bool generateDungeon(Grid* grid, int width, int height, int placeTries, int additionalRoomSize);
31 
32 #ifdef __cplusplus
33 }
34 #endif // __cplusplus
35 
36 #endif // !GENERATE_H
37 
file for connections between regions (doors)
code for removing the dead-ends of the dungeon
bool generateDungeon(Grid *grid, int width, int height, int placeTries, int additionalRoomSize)
Definition: generate.c:3
declaration file for grid functions
the implementation file for maze generation code
code for placing and detecting collisions of rooms
Definition: grid.h:36