Node definition manager refactor (#7016)
[oweals/minetest.git] / src / content_mapblock.h
index 3d196aa99f174f3e202e434dbc5dc3ba045ff830..7b90ce4b9081cb4c28502058e8444b5863ce6763 100644 (file)
@@ -49,7 +49,7 @@ public:
        MeshMakeData *data;
        MeshCollector *collector;
 
-       INodeDefManager *nodedef;
+       const NodeDefManager *nodedef;
        scene::IMeshManipulator *meshmanip;
 
 // options
@@ -92,6 +92,7 @@ public:
 
 // liquid-specific
        bool top_is_same_liquid;
+       bool draw_liquid_bottom;
        TileSpec tile_liquid;
        TileSpec tile_liquid_top;
        content_t c_flowing;
@@ -112,6 +113,7 @@ public:
        f32 getCornerLevel(int i, int k);
        void drawLiquidSides();
        void drawLiquidTop();
+       void drawLiquidBottom();
 
 // raillike-specific
        // name of the group that enables connecting to raillike nodes of different kind