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

working time-of-day sending from server to client

This commit is contained in:
Perttu Ahola 2010-12-20 14:04:31 +02:00
parent ab7477c4c3
commit 5a36956f75
10 changed files with 198 additions and 148 deletions

View file

@ -290,9 +290,8 @@ private:
PacketCounter m_packetcounter;
// Access these only in main thread.
u32 m_time;
float m_time_counter;
// Received from the server. 0-23999
MutexedVariable<u32> m_time_of_day;
// 0 <= m_daynight_i < DAYNIGHT_CACHE_COUNT
//s32 m_daynight_i;