1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-31 07:25:22 +01:00

Cleanup in content_mapblock (#5746)

NDT_LIQUID is being drawn by MapBlockMesh since a long time ago...
This commit is contained in:
numberZero
2017-05-20 14:29:54 +04:00
committed by Loïc Blot
parent 1ff5ee0b69
commit 7779bac3a5
2 changed files with 37 additions and 60 deletions

View File

@@ -93,13 +93,12 @@ public:
NeighborData liquid_neighbors[3][3];
f32 corner_levels[2][2];
void prepareLiquidNodeDrawing(bool flowing);
void getLiquidNeighborhood(bool flowing);
void resetCornerLevels();
void prepareLiquidNodeDrawing();
void getLiquidNeighborhood();
void calculateCornerLevels();
f32 getCornerLevel(int i, int k);
void drawLiquidSides(bool flowing);
void drawLiquidTop(bool flowing);
void drawLiquidSides();
void drawLiquidTop();
// raillike-specific
// name of the group that enables connecting to raillike nodes of different kind
@@ -122,7 +121,7 @@ public:
float offset_h, float offset_v = 0.0);
// drawtypes
void drawLiquidNode(bool flowing);
void drawLiquidNode();
void drawGlasslikeNode();
void drawGlasslikeFramedNode();
void drawAllfacesNode();