#include <content_mapblock.h>
Classes | |
struct | NeighborData |
Public Member Functions | |
void | getSmoothLightFrame () |
LightInfo | blendLight (const v3f &vertex_pos) |
video::SColor | blendLightColor (const v3f &vertex_pos) |
video::SColor | blendLightColor (const v3f &vertex_pos, const v3f &vertex_normal) |
void | useTile (int index=0, u8 set_flags=MATERIAL_FLAG_CRACK_OVERLAY, u8 reset_flags=0, bool special=false) |
void | getTile (int index, TileSpec *tile) |
void | getTile (v3s16 direction, TileSpec *tile) |
void | getSpecialTile (int index, TileSpec *tile, bool apply_crack=false) |
void | drawQuad (v3f *vertices, const v3s16 &normal=v3s16(0, 0, 0), float vertical_tiling=1.0) |
void | drawCuboid (const aabb3f &box, TileSpec *tiles, int tilecount, const LightInfo *lights, const f32 *txc) |
void | generateCuboidTextureCoords (aabb3f const &box, f32 *coords) |
void | drawAutoLightedCuboid (aabb3f box, const f32 *txc=NULL, TileSpec *tiles=NULL, int tile_count=0) |
void | prepareLiquidNodeDrawing () |
void | getLiquidNeighborhood () |
void | calculateCornerLevels () |
f32 | getCornerLevel (int i, int k) |
void | drawLiquidSides () |
void | drawLiquidTop () |
void | drawLiquidBottom () |
bool | isSameRail (v3s16 dir) |
void | drawPlantlikeQuad (float rotation, float quad_offset=0, bool offset_top_only=false) |
void | drawPlantlike () |
void | drawFirelikeQuad (float rotation, float opening_angle, float offset_h, float offset_v=0.0) |
void | drawLiquidNode () |
void | drawGlasslikeNode () |
void | drawGlasslikeFramedNode () |
void | drawAllfacesNode () |
void | drawTorchlikeNode () |
void | drawSignlikeNode () |
void | drawPlantlikeNode () |
void | drawPlantlikeRootedNode () |
void | drawFirelikeNode () |
void | drawFencelikeNode () |
void | drawRaillikeNode () |
void | drawNodeboxNode () |
void | drawMeshNode () |
void | errorUnknownDrawtype () |
void | drawNode () |
MapblockMeshGenerator (MeshMakeData *input, MeshCollector *output) | |
void | generate () |
void | renderSingle (content_t node, u8 param2=0x00) |
Public Attributes | |
MeshMakeData * | data |
MeshCollector * | collector |
const NodeDefManager * | nodedef |
scene::IMeshManipulator * | meshmanip |
bool | enable_mesh_cache |
v3s16 | blockpos_nodes |
v3s16 | p |
v3f | origin |
MapNode | n |
const ContentFeatures * | f |
LightPair | light |
LightFrame | frame |
video::SColor | color |
TileSpec | tile |
float | scale |
bool | top_is_same_liquid |
bool | draw_liquid_bottom |
TileSpec | tile_liquid |
TileSpec | tile_liquid_top |
content_t | c_flowing |
content_t | c_source |
video::SColor | color_liquid_top |
NeighborData | liquid_neighbors [3][3] |
f32 | corner_levels [2][2] |
int | raillike_group |
PlantlikeStyle | draw_style |
v3f | offset |
int | rotate_degree |
bool | random_offset_Y |
int | face_num |
float | plant_height |
Static Public Attributes | |
static const std::string | raillike_groupname = "connect_to_raillike" |
MapblockMeshGenerator::MapblockMeshGenerator | ( | MeshMakeData * | input, |
MeshCollector * | output | ||
) |
References blockpos_nodes, collector, data, enable_mesh_cache, g_settings, RenderingEngine::get_scene_manager(), Settings::getBool(), MeshMakeData::m_blockpos, MeshMakeData::m_client, MeshMakeData::m_smooth_lighting, MAP_BLOCKSIZE, meshmanip, IGameDef::ndef(), and nodedef.
References BS, frame, LightFrame::lightsDay, LightFrame::lightsNight, SMOOTH_LIGHTING_OVERSIZE, and LightFrame::sunlight.
Referenced by blendLightColor(), and drawAutoLightedCuboid().
video::SColor MapblockMeshGenerator::blendLightColor | ( | const v3f & | vertex_pos | ) |
References blendLight(), encode_light(), f, light, and ContentFeatures::light_source.
Referenced by drawLiquidBottom(), drawLiquidSides(), drawLiquidTop(), drawMeshNode(), and drawQuad().
video::SColor MapblockMeshGenerator::blendLightColor | ( | const v3f & | vertex_pos, |
const v3f & | vertex_normal | ||
) |
References applyFacesShading(), blendLight(), color, encode_light(), f, light, ContentFeatures::light_source, and MYMAX.
void MapblockMeshGenerator::calculateCornerLevels | ( | ) |
References corner_levels, and getCornerLevel().
Referenced by drawLiquidNode().
void MapblockMeshGenerator::drawAllfacesNode | ( | ) |
References BS, drawAutoLightedCuboid(), and useTile().
Referenced by drawNode().
void MapblockMeshGenerator::drawAutoLightedCuboid | ( | aabb3f | box, |
const f32 * | txc = NULL , |
||
TileSpec * | tiles = NULL , |
||
int | tile_count = 0 |
||
) |
References blendLight(), data, drawCuboid(), f, generateCuboidTextureCoords(), MeshMakeData::m_smooth_lighting, origin, scale, tile, and ContentFeatures::visual_scale.
Referenced by drawAllfacesNode(), drawFencelikeNode(), drawGlasslikeFramedNode(), and drawNodeboxNode().
void MapblockMeshGenerator::drawCuboid | ( | const aabb3f & | box, |
TileSpec * | tiles, | ||
int | tilecount, | ||
const LightInfo * | lights, | ||
const f32 * | txc | ||
) |
References MeshCollector::append(), applyFacesShading(), collector, data, encode_light(), f, light, ContentFeatures::light_source, MeshMakeData::m_smooth_lighting, MYMAX, MYMIN, quad_indices, TileSpec::rotation, and tile.
Referenced by drawAutoLightedCuboid().
void MapblockMeshGenerator::drawFencelikeNode | ( | ) |
References blockpos_nodes, BS, data, drawAutoLightedCuboid(), ContentFeatures::drawtype, NodeDefManager::get(), VoxelManipulator::getNodeNoEx(), TileSpec::layers, MeshMakeData::m_vmanip, MATERIAL_FLAG_CRACK, NDT_FENCELIKE, nodedef, p, TileSpec::rotation, tile, and useTile().
Referenced by drawNode().
void MapblockMeshGenerator::drawFirelikeNode | ( | ) |
References blockpos_nodes, BS, CONTENT_AIR, CONTENT_IGNORE, D6D_XN, D6D_XP, D6D_YN, D6D_YP, D6D_ZN, D6D_ZP, data, drawFirelikeQuad(), f, g_6dirs, MapNode::getContent(), VoxelManipulator::getNodeNoEx(), MeshMakeData::m_vmanip, n, p, scale, useTile(), and ContentFeatures::visual_scale.
Referenced by drawNode().
void MapblockMeshGenerator::drawFirelikeQuad | ( | float | rotation, |
float | opening_angle, | ||
float | offset_h, | ||
float | offset_v = 0.0 |
||
) |
References BS, drawQuad(), and scale.
Referenced by drawFirelikeNode().
void MapblockMeshGenerator::drawGlasslikeFramedNode | ( | ) |
References blockpos_nodes, BS, color, CPT2_GLASSLIKE_LIQUID_LEVEL, D6D_XN, D6D_XP, D6D_YN, D6D_YP, D6D_ZN, D6D_ZP, data, dir(), drawAutoLightedCuboid(), drawQuad(), encode_light(), f, FRAMED_EDGE_COUNT, FRAMED_NEIGHBOR_COUNT, g_26dirs, g_6dirs, MapNode::getContent(), VoxelManipulator::getNodeNoEx(), MapNode::getParam2(), getSpecialTile(), getTile(), TileSpec::layers, light, ContentFeatures::light_source, MeshMakeData::m_smooth_lighting, MeshMakeData::m_vmanip, n, p, ContentFeatures::param_type_2, ContentFeatures::special_tiles, TileLayer::texture, and tile.
Referenced by drawNode().
void MapblockMeshGenerator::drawGlasslikeNode | ( | ) |
References blockpos_nodes, BS, D6D_XN, D6D_XP, D6D_YN, D6D_YP, D6D_ZN, D6D_ZP, data, dir(), drawQuad(), g_6dirs, MapNode::getContent(), VoxelManipulator::getNodeNoExNoEmerge(), MeshMakeData::m_vmanip, n, p, and useTile().
Referenced by drawNode().
void MapblockMeshGenerator::drawLiquidBottom | ( | ) |
References MeshCollector::append(), blendLightColor(), BS, collector, color_liquid_top, data, MeshMakeData::m_smooth_lighting, origin, quad_indices, and tile_liquid_top.
Referenced by drawLiquidNode().
void MapblockMeshGenerator::drawLiquidNode | ( | ) |
References calculateCornerLevels(), draw_liquid_bottom, drawLiquidBottom(), drawLiquidSides(), drawLiquidTop(), getLiquidNeighborhood(), prepareLiquidNodeDrawing(), and top_is_same_liquid.
Referenced by drawNode().
void MapblockMeshGenerator::drawLiquidSides | ( | ) |
References MeshCollector::append(), blendLightColor(), BS, collector, color, MapblockMeshGenerator::NeighborData::content, corner_levels, data, NodeDefManager::get(), MapblockMeshGenerator::NeighborData::is_same_liquid, liquid_neighbors, MeshMakeData::m_smooth_lighting, nodedef, origin, quad_indices, ContentFeatures::solidness, tile_liquid, top_is_same_liquid, and MapblockMeshGenerator::NeighborData::top_is_same_liquid.
Referenced by drawLiquidNode().
void MapblockMeshGenerator::drawLiquidTop | ( | ) |
References MeshCollector::append(), blendLightColor(), blockpos_nodes, BS, collector, color_liquid_top, corner_levels, data, MeshMakeData::m_smooth_lighting, origin, p, quad_indices, and tile_liquid_top.
Referenced by drawLiquidNode().
void MapblockMeshGenerator::drawMeshNode | ( | ) |
References MeshCollector::append(), blendLightColor(), cloneMesh(), collector, color, CPT2_COLORED_FACEDIR, CPT2_COLORED_WALLMOUNTED, CPT2_FACEDIR, CPT2_WALLMOUNTED, data, enable_mesh_cache, f, MapNode::getFaceDir(), MapNode::getWallMounted(), ContentFeatures::light_source, MeshMakeData::m_smooth_lighting, ContentFeatures::mesh_ptr, meshmanip, n, nodedef, origin, ContentFeatures::param_type_2, recalculateBoundingBox(), rotateMeshBy6dFacedir(), tile, useTile(), and wallmounted_to_facedir.
Referenced by drawNode().
void MapblockMeshGenerator::drawNode | ( | ) |
References BS, data, drawAllfacesNode(), drawFencelikeNode(), drawFirelikeNode(), drawGlasslikeFramedNode(), drawGlasslikeNode(), drawLiquidNode(), drawMeshNode(), drawNodeboxNode(), drawPlantlikeNode(), drawPlantlikeRootedNode(), drawRaillikeNode(), drawSignlikeNode(), drawTorchlikeNode(), ContentFeatures::drawtype, errorUnknownDrawtype(), f, getInteriorLight(), getSmoothLightFrame(), intToFloat(), light, MeshMakeData::m_smooth_lighting, n, NDT_AIRLIKE, NDT_ALLFACES, NDT_FENCELIKE, NDT_FIRELIKE, NDT_FLOWINGLIQUID, NDT_GLASSLIKE, NDT_GLASSLIKE_FRAMED, NDT_LIQUID, NDT_MESH, NDT_NODEBOX, NDT_NORMAL, NDT_PLANTLIKE, NDT_PLANTLIKE_ROOTED, NDT_RAILLIKE, NDT_SIGNLIKE, NDT_TORCHLIKE, nodedef, origin, and p.
Referenced by generate(), and renderSingle().
void MapblockMeshGenerator::drawNodeboxNode | ( | ) |
References blockpos_nodes, data, dir(), drawAutoLightedCuboid(), f, MapNode::getNodeBoxes(), VoxelManipulator::getNodeNoEx(), getTile(), MeshMakeData::m_vmanip, n, ContentFeatures::node_box, NODEBOX_CONNECTED, NodeDefManager::nodeboxConnects(), nodedef, p, and NodeBox::type.
Referenced by drawNode().
void MapblockMeshGenerator::drawPlantlike | ( | ) |
References BS, CPT2_DEGROTATE, CPT2_LEVELED, CPT2_MESHOPTIONS, draw_style, drawPlantlikeQuad(), f, face_num, MO_BIT_RANDOM_OFFSET, MO_BIT_RANDOM_OFFSET_Y, MO_BIT_SCALE_SQRT2, MO_MASK_STYLE, n, PseudoRandom::next(), offset, p, MapNode::param2, ContentFeatures::param_type_2, plant_height, PLANT_STYLE_CROSS, PLANT_STYLE_CROSS2, PLANT_STYLE_HASH, PLANT_STYLE_HASH2, PLANT_STYLE_STAR, random_offset_Y, rotate_degree, scale, and ContentFeatures::visual_scale.
Referenced by drawPlantlikeNode(), and drawPlantlikeRootedNode().
void MapblockMeshGenerator::drawPlantlikeNode | ( | ) |
References drawPlantlike(), and useTile().
Referenced by drawNode().
void MapblockMeshGenerator::drawPlantlikeQuad | ( | float | rotation, |
float | quad_offset = 0 , |
||
bool | offset_top_only = false |
||
) |
References BS, drawQuad(), face_num, PseudoRandom::next(), offset, p, plant_height, random_offset_Y, rotate_degree, and scale.
Referenced by drawPlantlike().
void MapblockMeshGenerator::drawPlantlikeRootedNode | ( | ) |
References blockpos_nodes, BS, data, drawPlantlike(), getInteriorLight(), VoxelManipulator::getNodeNoEx(), getSmoothLightFrame(), light, MeshMakeData::m_smooth_lighting, MeshMakeData::m_vmanip, MATERIAL_FLAG_CRACK_OVERLAY, nodedef, origin, p, and useTile().
Referenced by drawNode().
void MapblockMeshGenerator::drawQuad | ( | v3f * | vertices, |
const v3s16 & | normal = v3s16(0, 0, 0) , |
||
float | vertical_tiling = 1.0 |
||
) |
References MeshCollector::append(), applyFacesShading(), blendLightColor(), collector, color, data, f, ContentFeatures::light_source, MeshMakeData::m_smooth_lighting, origin, quad_indices, and tile.
Referenced by drawFirelikeQuad(), drawGlasslikeFramedNode(), drawGlasslikeNode(), drawPlantlikeQuad(), drawRaillikeNode(), drawSignlikeNode(), and drawTorchlikeNode().
void MapblockMeshGenerator::drawRaillikeNode | ( | ) |
References BS, dir(), drawQuad(), NodeDefManager::get(), ContentFeatures::getGroup(), isSameRail(), MATERIAL_FLAG_BACKFACE_CULLING, MATERIAL_FLAG_CRACK_OVERLAY, n, nodedef, offset, raillike_group, raillike_groupname, and useTile().
Referenced by drawNode().
void MapblockMeshGenerator::drawSignlikeNode | ( | ) |
References BS, drawQuad(), DWM_XN, DWM_XP, DWM_YN, DWM_YP, DWM_ZN, DWM_ZP, f, MapNode::getWallMounted(), MATERIAL_FLAG_BACKFACE_CULLING, MATERIAL_FLAG_CRACK_OVERLAY, n, nodedef, offset, useTile(), and ContentFeatures::visual_scale.
Referenced by drawNode().
void MapblockMeshGenerator::drawTorchlikeNode | ( | ) |
References BS, drawQuad(), DWM_XN, DWM_XP, DWM_YN, DWM_YP, DWM_ZN, DWM_ZP, f, MapNode::getWallMounted(), MATERIAL_FLAG_BACKFACE_CULLING, MATERIAL_FLAG_CRACK_OVERLAY, n, nodedef, useTile(), and ContentFeatures::visual_scale.
Referenced by drawNode().
void MapblockMeshGenerator::errorUnknownDrawtype | ( | ) |
References ContentFeatures::drawtype, f, FATAL_ERROR, and infostream.
Referenced by drawNode().
void MapblockMeshGenerator::generate | ( | ) |
References blockpos_nodes, data, drawNode(), f, NodeDefManager::get(), VoxelManipulator::getNodeNoEx(), MeshMakeData::m_vmanip, MAP_BLOCKSIZE, n, nodedef, and p.
Referenced by MapBlockMesh::MapBlockMesh().
void MapblockMeshGenerator::generateCuboidTextureCoords | ( | aabb3f const & | box, |
f32 * | coords | ||
) |
f32 MapblockMeshGenerator::getCornerLevel | ( | int | i, |
int | k | ||
) |
References BS, c_flowing, c_source, MapblockMeshGenerator::NeighborData::content, CONTENT_AIR, MapblockMeshGenerator::NeighborData::level, liquid_neighbors, and MapblockMeshGenerator::NeighborData::top_is_same_liquid.
Referenced by calculateCornerLevels().
void MapblockMeshGenerator::getLiquidNeighborhood | ( | ) |
References blockpos_nodes, BS, c_flowing, c_source, MapblockMeshGenerator::NeighborData::content, CONTENT_IGNORE, data, NodeDefManager::get(), MapNode::getContent(), VoxelManipulator::getNodeNoEx(), MapblockMeshGenerator::NeighborData::is_same_liquid, MapblockMeshGenerator::NeighborData::level, LIQUID_LEVEL_MASK, LIQUID_LEVEL_MAX, liquid_neighbors, ContentFeatures::liquid_range, MeshMakeData::m_vmanip, nodedef, p, MapNode::param2, rangelim, and MapblockMeshGenerator::NeighborData::top_is_same_liquid.
Referenced by drawLiquidNode().
void MapblockMeshGenerator::getSmoothLightFrame | ( | ) |
References blockpos_nodes, data, frame, getSmoothLightTransparent(), light, light_dirs, LightPair::lightDay, LightPair::lightNight, LightFrame::lightsDay, LightFrame::lightsNight, p, and LightFrame::sunlight.
Referenced by drawNode(), and drawPlantlikeRootedNode().
void MapblockMeshGenerator::getSpecialTile | ( | int | index, |
TileSpec * | tile, | ||
bool | apply_crack = false |
||
) |
References TileLayer::color, f, MapNode::getColor(), TileLayer::has_color, TileSpec::layers, MATERIAL_FLAG_CRACK, TileLayer::material_flags, n, ContentFeatures::special_tiles, TileLayer::texture_id, and tile.
Referenced by drawGlasslikeFramedNode(), prepareLiquidNodeDrawing(), and useTile().
void MapblockMeshGenerator::getTile | ( | int | index, |
TileSpec * | tile | ||
) |
References data, getNodeTileN(), n, p, and tile.
Referenced by drawGlasslikeFramedNode(), drawNodeboxNode(), and useTile().
bool MapblockMeshGenerator::isSameRail | ( | v3s16 | dir | ) |
References blockpos_nodes, data, dir(), ContentFeatures::drawtype, NodeDefManager::get(), MapNode::getContent(), ContentFeatures::getGroup(), VoxelManipulator::getNodeNoEx(), MeshMakeData::m_vmanip, n, NDT_RAILLIKE, nodedef, p, raillike_group, and raillike_groupname.
Referenced by drawRaillikeNode().
void MapblockMeshGenerator::prepareLiquidNodeDrawing | ( | ) |
References blockpos_nodes, c_flowing, c_source, color, color_liquid_top, CPT_LIGHT, data, decode_light(), draw_liquid_bottom, encode_light(), f, NodeDefManager::get(), MapNode::getContent(), getInteriorLight(), VoxelManipulator::getNodeNoEx(), getSpecialTile(), light, ContentFeatures::light_source, LightPair::lightDay, LightPair::lightNight, ContentFeatures::liquid_alternative_flowing_id, ContentFeatures::liquid_alternative_source_id, MeshMakeData::m_smooth_lighting, MeshMakeData::m_vmanip, nodedef, p, ContentFeatures::param_type, ContentFeatures::solidness, tile_liquid, tile_liquid_top, and top_is_same_liquid.
Referenced by drawLiquidNode().
void MapblockMeshGenerator::renderSingle | ( | content_t | node, |
u8 | param2 = 0x00 |
||
) |
References drawNode(), f, NodeDefManager::get(), n, nodedef, and p.
Referenced by createSpecialNodeMesh().
void MapblockMeshGenerator::useTile | ( | int | index = 0 , |
u8 | set_flags = MATERIAL_FLAG_CRACK_OVERLAY , |
||
u8 | reset_flags = 0 , |
||
bool | special = false |
||
) |
References color, data, encode_light(), f, getSpecialTile(), getTile(), TileSpec::layers, light, ContentFeatures::light_source, MeshMakeData::m_crack_pos_relative, MeshMakeData::m_smooth_lighting, p, and tile.
Referenced by drawAllfacesNode(), drawFencelikeNode(), drawFirelikeNode(), drawGlasslikeNode(), drawMeshNode(), drawPlantlikeNode(), drawPlantlikeRootedNode(), drawRaillikeNode(), drawSignlikeNode(), and drawTorchlikeNode().
v3s16 MapblockMeshGenerator::blockpos_nodes |
content_t MapblockMeshGenerator::c_flowing |
Referenced by getCornerLevel(), getLiquidNeighborhood(), and prepareLiquidNodeDrawing().
content_t MapblockMeshGenerator::c_source |
Referenced by getCornerLevel(), getLiquidNeighborhood(), and prepareLiquidNodeDrawing().
MeshCollector* MapblockMeshGenerator::collector |
Referenced by MapblockMeshGenerator(), drawCuboid(), drawLiquidBottom(), drawLiquidSides(), drawLiquidTop(), drawMeshNode(), and drawQuad().
video::SColor MapblockMeshGenerator::color |
Referenced by blendLightColor(), drawGlasslikeFramedNode(), drawLiquidSides(), drawMeshNode(), drawQuad(), prepareLiquidNodeDrawing(), and useTile().
video::SColor MapblockMeshGenerator::color_liquid_top |
Referenced by drawLiquidBottom(), drawLiquidTop(), and prepareLiquidNodeDrawing().
f32 MapblockMeshGenerator::corner_levels[2][2] |
Referenced by calculateCornerLevels(), drawLiquidSides(), and drawLiquidTop().
MeshMakeData* MapblockMeshGenerator::data |
Referenced by MapblockMeshGenerator(), drawAutoLightedCuboid(), drawCuboid(), drawFencelikeNode(), drawFirelikeNode(), drawGlasslikeFramedNode(), drawGlasslikeNode(), drawLiquidBottom(), drawLiquidSides(), drawLiquidTop(), drawMeshNode(), drawNode(), drawNodeboxNode(), drawPlantlikeRootedNode(), drawQuad(), generate(), getLiquidNeighborhood(), getSmoothLightFrame(), getTile(), isSameRail(), prepareLiquidNodeDrawing(), and useTile().
bool MapblockMeshGenerator::draw_liquid_bottom |
Referenced by drawLiquidNode(), and prepareLiquidNodeDrawing().
PlantlikeStyle MapblockMeshGenerator::draw_style |
Referenced by drawPlantlike().
bool MapblockMeshGenerator::enable_mesh_cache |
Referenced by MapblockMeshGenerator(), and drawMeshNode().
const ContentFeatures* MapblockMeshGenerator::f |
Referenced by blendLightColor(), drawAutoLightedCuboid(), drawCuboid(), drawFirelikeNode(), drawGlasslikeFramedNode(), drawMeshNode(), drawNode(), drawNodeboxNode(), drawPlantlike(), drawQuad(), drawSignlikeNode(), drawTorchlikeNode(), errorUnknownDrawtype(), generate(), getSpecialTile(), prepareLiquidNodeDrawing(), renderSingle(), and useTile().
int MapblockMeshGenerator::face_num |
Referenced by drawPlantlike(), and drawPlantlikeQuad().
LightFrame MapblockMeshGenerator::frame |
Referenced by blendLight(), and getSmoothLightFrame().
LightPair MapblockMeshGenerator::light |
NeighborData MapblockMeshGenerator::liquid_neighbors[3][3] |
Referenced by drawLiquidSides(), getCornerLevel(), and getLiquidNeighborhood().
scene::IMeshManipulator* MapblockMeshGenerator::meshmanip |
Referenced by MapblockMeshGenerator(), and drawMeshNode().
MapNode MapblockMeshGenerator::n |
const NodeDefManager* MapblockMeshGenerator::nodedef |
Referenced by MapblockMeshGenerator(), drawFencelikeNode(), drawLiquidSides(), drawMeshNode(), drawNode(), drawNodeboxNode(), drawPlantlikeRootedNode(), drawRaillikeNode(), drawSignlikeNode(), drawTorchlikeNode(), generate(), getLiquidNeighborhood(), isSameRail(), prepareLiquidNodeDrawing(), and renderSingle().
v3f MapblockMeshGenerator::offset |
Referenced by drawPlantlike(), drawPlantlikeQuad(), drawRaillikeNode(), and drawSignlikeNode().
v3f MapblockMeshGenerator::origin |
Referenced by drawAutoLightedCuboid(), drawLiquidBottom(), drawLiquidSides(), drawLiquidTop(), drawMeshNode(), drawNode(), drawPlantlikeRootedNode(), and drawQuad().
v3s16 MapblockMeshGenerator::p |
Referenced by drawFencelikeNode(), drawFirelikeNode(), drawGlasslikeFramedNode(), drawGlasslikeNode(), drawLiquidTop(), drawNode(), drawNodeboxNode(), drawPlantlike(), drawPlantlikeQuad(), drawPlantlikeRootedNode(), generate(), getLiquidNeighborhood(), getSmoothLightFrame(), getTile(), isSameRail(), prepareLiquidNodeDrawing(), renderSingle(), and useTile().
float MapblockMeshGenerator::plant_height |
Referenced by drawPlantlike(), and drawPlantlikeQuad().
int MapblockMeshGenerator::raillike_group |
Referenced by drawRaillikeNode(), and isSameRail().
|
static |
Referenced by drawRaillikeNode(), and isSameRail().
bool MapblockMeshGenerator::random_offset_Y |
Referenced by drawPlantlike(), and drawPlantlikeQuad().
int MapblockMeshGenerator::rotate_degree |
Referenced by drawPlantlike(), and drawPlantlikeQuad().
float MapblockMeshGenerator::scale |
Referenced by drawAutoLightedCuboid(), drawFirelikeNode(), drawFirelikeQuad(), drawPlantlike(), and drawPlantlikeQuad().
TileSpec MapblockMeshGenerator::tile |
Referenced by drawAutoLightedCuboid(), drawCuboid(), drawFencelikeNode(), drawGlasslikeFramedNode(), drawMeshNode(), drawQuad(), getSpecialTile(), getTile(), and useTile().
TileSpec MapblockMeshGenerator::tile_liquid |
Referenced by drawLiquidSides(), and prepareLiquidNodeDrawing().
TileSpec MapblockMeshGenerator::tile_liquid_top |
Referenced by drawLiquidBottom(), drawLiquidTop(), and prepareLiquidNodeDrawing().
bool MapblockMeshGenerator::top_is_same_liquid |
Referenced by drawLiquidNode(), drawLiquidSides(), and prepareLiquidNodeDrawing().