Angband
Data Fields
dun_data Struct Reference

Structure to hold all "dungeon generation" data. More...

#include <generate.h>

Data Fields

const struct cave_profileprofile
 
int cent_n
 
struct loccent
 
int door_n
 
struct locdoor
 
int wall_n
 
struct locwall
 
int tunn_n
 
struct loctunn
 
int block_hgt
 
int block_wid
 
int row_blocks
 
int col_blocks
 
bool ** room_map
 
int pit_num
 
struct pit_profilepit_type
 
struct connectorjoin
 

Detailed Description

Structure to hold all "dungeon generation" data.

Field Documentation

int block_hgt

Number of grids in each block (horizontally)

Referenced by classic_gen(), find_space(), lair_gen(), modified_chunk(), modified_gen(), moria_chunk(), moria_gen(), and room_build().

int block_wid

Number of blocks along each axis

Referenced by classic_gen(), find_space(), lair_gen(), modified_chunk(), modified_gen(), moria_chunk(), moria_gen(), and room_build().

struct loc* cent

Array of possible door locations

Referenced by cave_generate(), classic_gen(), find_space(), modified_chunk(), moria_chunk(), and room_build().

int cent_n
int col_blocks

Array of which blocks are used

Referenced by classic_gen(), find_space(), modified_chunk(), moria_chunk(), and room_build().

struct loc* door

Array of wall piercing locations

Referenced by build_tunnel(), cave_generate(), classic_gen(), modified_chunk(), and moria_chunk().

int door_n
struct connector* join
int pit_num

Current pit profile in use

Referenced by classic_gen(), modified_chunk(), moria_chunk(), and room_build().

struct pit_profile* pit_type

Info for connecting to persistent levels

Referenced by build_nest(), build_pit(), gauntlet_gen(), get_chamber_monsters(), lair_gen(), mon_pit_hook(), mon_restrict(), and set_pit_type().

const struct cave_profile* profile
bool** room_map

Number of pits/nests on the level

Referenced by classic_gen(), find_space(), modified_chunk(), moria_chunk(), and room_build().

int row_blocks
struct loc* tunn

Number of grids in each block (vertically)

Referenced by build_tunnel(), and cave_generate().

int tunn_n

Referenced by build_tunnel().

struct loc* wall

Array of tunnel grids

Referenced by build_tunnel(), and cave_generate().

int wall_n

Referenced by build_tunnel().


The documentation for this struct was generated from the following file: