Fix alpha for liquid nodes (#5494)
[oweals/minetest.git] / src / content_mapblock.h
index c8425024f11f0a2f7c2231290348085c07aa3145..310e38e7cbf284168296357ad5cef9ef378f877a 100644 (file)
@@ -60,12 +60,12 @@ public:
 // lighting
        void getSmoothLightFrame();
        u16 blendLight(const v3f &vertex_pos);
-       video::SColor blendLight(const v3f &vertex_pos, video::SColor tile_color);
-       video::SColor blendLight(const v3f &vertex_pos, const v3f &vertex_normal, video::SColor tile_color);
+       video::SColor blendLightColor(const v3f &vertex_pos);
+       video::SColor blendLightColor(const v3f &vertex_pos, const v3f &vertex_normal);
 
        void useTile(int index, bool disable_backface_culling);
        void useDefaultTile(bool set_color = true);
-       TileSpec getTile(const v3s16 &direction);
+       void getTile(const v3s16 &direction, TileSpec &tile);
 
 // face drawing
        void drawQuad(v3f *vertices, const v3s16 &normal = v3s16(0, 0, 0));