Use multiple light positions for CAO lighting
[oweals/minetest.git] / src / client / content_cao.h
index 8e2a13ea8929d57a2235d7befd9fe2294d4a17d3..699148c52306416eaaa4ea318db4e04678afb888 100644 (file)
@@ -236,13 +236,14 @@ public:
                m_visuals_expired = true;
        }
 
-       void updateLight(u8 light_at_pos);
-
-       void updateLightNoCheck(u8 light_at_pos);
+       void updateLight(u32 day_night_ratio);
 
        void setNodeLight(u8 light);
 
-       v3s16 getLightPosition();
+       /* Get light position(s).
+        * returns number of positions written into pos[], which must have space
+        * for at least 3 vectors. */
+       u16 getLightPosition(v3s16 *pos);
 
        void updateNametag();