Go to the source code of this file.
Classes | |
struct | DungeonParams |
class | DungeonGen |
Macros | |
#define | VMANIP_FLAG_DUNGEON_INSIDE VOXELFLAG_CHECKED1 |
#define | VMANIP_FLAG_DUNGEON_PRESERVE VOXELFLAG_CHECKED2 |
#define | VMANIP_FLAG_DUNGEON_UNTOUCHABLE |
Functions | |
v3s16 | rand_ortho_dir (PseudoRandom &random, bool diagonal_dirs) |
v3s16 | turn_xz (v3s16 olddir, int t) |
void | random_turn (PseudoRandom &random, v3s16 &dir) |
int | dir_to_facedir (v3s16 d) |
Variables | |
NoiseParams | nparams_dungeon_density |
NoiseParams | nparams_dungeon_alt_wall |
#define VMANIP_FLAG_DUNGEON_INSIDE VOXELFLAG_CHECKED1 |
#define VMANIP_FLAG_DUNGEON_PRESERVE VOXELFLAG_CHECKED2 |
Referenced by DungeonGen::generate().
#define VMANIP_FLAG_DUNGEON_UNTOUCHABLE |
Referenced by DungeonGen::makeCorridor(), DungeonGen::makeDungeon(), and DungeonGen::makeRoom().
int dir_to_facedir | ( | v3s16 | d | ) |
v3s16 rand_ortho_dir | ( | PseudoRandom & | random, |
bool | diagonal_dirs ) |
References dir(), and PseudoRandom::next().
Referenced by DungeonGen::randomizeDir().
void random_turn | ( | PseudoRandom & | random, |
v3s16 & | dir ) |
References dir(), PseudoRandom::range(), and turn_xz().
Referenced by DungeonGen::makeCorridor().
References dir().
Referenced by DungeonGen::makeCorridor(), and random_turn().
|
extern |
|
extern |