Fix water-glass and water-lava surfaces
[oweals/minetest.git] / src / camera.h
index fbee4a3786af523b9a78779f2d8ea395c3a627b8..b6349d2c888f1dc9cb536f99d3cda47c8e17ecf2 100644 (file)
@@ -24,6 +24,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "inventory.h"
 #include "tile.h"
 #include "utility.h"
+#include <ICameraSceneNode.h>
+#include <IMeshCache.h>
+#include <IAnimatedMesh.h>
 
 class LocalPlayer;
 class MapDrawControl;
@@ -205,6 +208,8 @@ public:
        f32 getSpriteThickness() const { return m_thickness; }
        void setSpriteThickness(f32 thickness);
 
+       void updateLight(u8 light);
+
        void removeSpriteFromCache(video::ITexture* texture);
 
        virtual const core::aabbox3d<f32>& getBoundingBox() const;
@@ -216,6 +221,7 @@ private:
        f32 m_thickness;
        scene::IMesh* m_cubemesh;
        bool m_is_cube;
+       u8 m_light;
 
        // internal extrusion helper methods
        io::path getExtrudedName(video::ITexture* texture);