3 #include "floor/floor-base-definitions.h"
4 #include "system/angband.h"
7 * Bounds on some arrays used in the "dun_data_type" structure.
8 * These bounds are checked, though usually this is a formality.
16 * The "size" of a "generation block" in grids
22 * Maximum numbers of rooms along each axis (currently 6x6)
24 #define MAX_ROOMS_ROW (MAX_HGT / BLOCK_HGT)
25 #define MAX_ROOMS_COL (MAX_WID / BLOCK_WID)
28 * Simple structure to hold a map location
36 * Structure to hold all "dungeon generation" data
38 struct dun_data_type {
39 /* Array of centers of rooms */
43 /* Array of possible door locations */
47 /* Array of wall piercing locations */
51 /* Array of tunnel grids */
55 /* Number of blocks along each axis */
59 /* Array of which blocks are used */
60 bool room_map[MAX_ROOMS_ROW][MAX_ROOMS_COL];
62 /* Various type of dungeon floors */
67 int tunnel_fail_count;
73 int alloc_monster_num;