1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Dynamic sky, fog and cloud colors; sun and moon

This commit is contained in:
Perttu Ahola 2012-03-16 16:34:30 +02:00
parent 58bed83d03
commit 2e90ed07ac
30 changed files with 1132 additions and 244 deletions

View file

@ -426,11 +426,6 @@ public:
core::list<PlayerInfo> getPlayerInfo();
/*u32 getDayNightRatio()
{
return time_to_daynight_ratio(m_time_of_day.get());
}*/
// Environment must be locked when called
void setTimeOfDay(u32 time)
{
@ -714,10 +709,6 @@ private:
Time related stuff
*/
// 0-23999
//MutexedVariable<u32> m_time_of_day;
// Used to buffer dtime for adding to m_time_of_day
float m_time_counter;
// Timer for sending time of day over network
float m_time_of_day_send_timer;
// Uptime of server in seconds