#include "dungeongen.h"#include <cmath>#include "mapgen.h"#include "voxel.h"#include "noise.h"#include "mapblock.h"#include "mapnode.h"#include "map.h"#include "nodedef.h"#include "settings.h"
Include dependency graph for dungeongen.cpp: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) |
| int dir_to_facedir | ( | v3s16 | d | ) |
| v3s16 rand_ortho_dir | ( | PseudoRandom & | random, |
| bool | diagonal_dirs ) |
References dir(), and PseudoRandom::next().
Referenced by DungeonGen::randomizeDir().
Here is the call graph for this function:
Here is the caller graph for this function:| void random_turn | ( | PseudoRandom & | random, |
| v3s16 & | dir ) |
References dir(), PseudoRandom::range(), and turn_xz().
Referenced by DungeonGen::makeCorridor().
Here is the call graph for this function:
Here is the caller graph for this function:References dir().
Referenced by DungeonGen::makeCorridor(), and random_turn().
Here is the call graph for this function:
Here is the caller graph for this function: