mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
day/night working client side
This commit is contained in:
parent
240499dc2c
commit
0ca9423b8b
22 changed files with 955 additions and 676 deletions
|
@ -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<Player*> m_players;
|
||||
// Debug output goes here
|
||||
std::ostream &m_dout;
|
||||
u32 m_daylight_ratio;
|
||||
u32 m_daynight_ratio;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue