From 0ca9423b8b2cf7bd1435fb09eba7a9f50d444864 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 19 Dec 2010 16:51:45 +0200 Subject: day/night working client side --- src/environment.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/environment.h') diff --git a/src/environment.h b/src/environment.h index 6fdf6d33d..4b18d6b73 100644 --- a/src/environment.h +++ b/src/environment.h @@ -61,16 +61,16 @@ public: void printPlayers(std::ostream &o); void updateMeshes(v3s16 blockpos); - void expireMeshes(); - void setDaylightRatio(u32 r); - u32 getDaylightRatio(); + void expireMeshes(bool only_daynight_diffed); + void setDayNightRatio(u32 r); + u32 getDayNightRatio(); private: Map *m_map; core::list m_players; // Debug output goes here std::ostream &m_dout; - u32 m_daylight_ratio; + u32 m_daynight_ratio; }; #endif -- cgit v1.2.3