#include <mg_biome.h>
Public Member Functions | |
ObjDef * | clone () const |
virtual void | resolveNodeNames () |
Public Member Functions inherited from ObjDef | |
virtual | ~ObjDef ()=default |
Public Member Functions inherited from NodeResolver | |
NodeResolver () | |
virtual | ~NodeResolver () |
void | cloneTo (NodeResolver *res) const |
bool | getIdFromNrBacklog (content_t *result_out, const std::string &node_alt, content_t c_fallback, bool error_on_fallback=true) |
bool | getIdsFromNrBacklog (std::vector< content_t > *result_out, bool all_required=false, content_t c_fallback=CONTENT_IGNORE) |
bool | isResolveDone () const |
void | reset (bool resolve_done=false) |
Public Attributes | |
u32 | flags |
content_t | c_top |
content_t | c_filler |
content_t | c_stone |
content_t | c_water_top |
content_t | c_water |
content_t | c_river_water |
content_t | c_riverbed |
content_t | c_dust |
std::vector< content_t > | c_cave_liquid |
content_t | c_dungeon |
content_t | c_dungeon_alt |
content_t | c_dungeon_stair |
s16 | depth_top |
s16 | depth_filler |
s16 | depth_water_top |
s16 | depth_riverbed |
v3s16 | min_pos |
v3s16 | max_pos |
float | heat_point |
float | humidity_point |
s16 | vertical_blend |
Public Attributes inherited from ObjDef | |
u32 | index |
u32 | uid |
ObjDefHandle | handle |
std::string | name |
Public Attributes inherited from NodeResolver | |
std::vector< std::string > | m_nodenames |
std::vector< size_t > | m_nnlistsizes |
Additional Inherited Members | |
Protected Member Functions inherited from ObjDef | |
void | cloneTo (ObjDef *def) const |
Protected Attributes inherited from NodeResolver | |
const NodeDefManager * | m_ndef = nullptr |
u32 | m_nodenames_idx = 0 |
|
virtual |
Implements ObjDef.
References c_cave_liquid, c_dungeon, c_dungeon_alt, c_dungeon_stair, c_dust, c_filler, c_river_water, c_riverbed, c_stone, c_top, c_water, c_water_top, NodeResolver::cloneTo(), ObjDef::cloneTo(), depth_filler, depth_riverbed, depth_top, depth_water_top, flags, heat_point, humidity_point, max_pos, min_pos, and vertical_blend.
|
virtual |
Implements NodeResolver.
References c_cave_liquid, c_dungeon, c_dungeon_alt, c_dungeon_stair, c_dust, c_filler, c_river_water, c_riverbed, c_stone, c_top, c_water, c_water_top, CONTENT_AIR, CONTENT_IGNORE, NodeResolver::getIdFromNrBacklog(), and NodeResolver::getIdsFromNrBacklog().
std::vector<content_t> Biome::c_cave_liquid |
Referenced by clone(), CavesRandomWalk::makeCave(), and resolveNodeNames().
content_t Biome::c_dungeon |
Referenced by clone(), MapgenBasic::generateDungeons(), and resolveNodeNames().
content_t Biome::c_dungeon_alt |
Referenced by clone(), MapgenBasic::generateDungeons(), and resolveNodeNames().
content_t Biome::c_dungeon_stair |
Referenced by clone(), MapgenBasic::generateDungeons(), and resolveNodeNames().
content_t Biome::c_dust |
Referenced by clone(), MapgenBasic::dustTopNodes(), and resolveNodeNames().
content_t Biome::c_filler |
Referenced by clone(), MapgenBasic::generateBiomes(), CavesNoiseIntersection::generateCaves(), and resolveNodeNames().
content_t Biome::c_river_water |
Referenced by clone(), MapgenBasic::generateBiomes(), CavesNoiseIntersection::generateCaves(), and resolveNodeNames().
content_t Biome::c_riverbed |
Referenced by clone(), MapgenBasic::generateBiomes(), CavesNoiseIntersection::generateCaves(), and resolveNodeNames().
content_t Biome::c_stone |
content_t Biome::c_top |
Referenced by clone(), MapgenBasic::generateBiomes(), CavesNoiseIntersection::generateCaves(), and resolveNodeNames().
content_t Biome::c_water |
Referenced by clone(), MapgenBasic::generateBiomes(), CavesNoiseIntersection::generateCaves(), and resolveNodeNames().
content_t Biome::c_water_top |
Referenced by clone(), MapgenBasic::generateBiomes(), CavesNoiseIntersection::generateCaves(), and resolveNodeNames().
s16 Biome::depth_filler |
s16 Biome::depth_riverbed |
s16 Biome::depth_top |
s16 Biome::depth_water_top |
Referenced by BiomeManager::BiomeManager(), clone(), MapgenBasic::generateBiomes(), and read_biome_def().
u32 Biome::flags |
Referenced by BiomeManager::BiomeManager(), clone(), and read_biome_def().
float Biome::heat_point |
Referenced by BiomeManager::BiomeManager(), BiomeGenOriginal::calcBiomeFromNoise(), clone(), and read_biome_def().
float Biome::humidity_point |
Referenced by BiomeManager::BiomeManager(), BiomeGenOriginal::calcBiomeFromNoise(), clone(), and read_biome_def().
v3s16 Biome::max_pos |
v3s16 Biome::min_pos |
s16 Biome::vertical_blend |
Referenced by BiomeManager::BiomeManager(), BiomeGenOriginal::calcBiomeFromNoise(), clone(), and read_biome_def().