mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
before daynight mesh cache
This commit is contained in:
@@ -49,6 +49,7 @@ public:
|
||||
void step(f32 dtime);
|
||||
|
||||
Map & getMap();
|
||||
|
||||
/*
|
||||
Environment deallocates players after use.
|
||||
*/
|
||||
@@ -58,11 +59,18 @@ public:
|
||||
Player * getPlayer(u16 peer_id);
|
||||
core::list<Player*> getPlayers();
|
||||
void printPlayers(std::ostream &o);
|
||||
|
||||
void updateMeshes(v3s16 blockpos);
|
||||
void expireMeshes();
|
||||
void setDaylightRatio(u32 r);
|
||||
u32 getDaylightRatio();
|
||||
|
||||
private:
|
||||
Map *m_map;
|
||||
core::list<Player*> m_players;
|
||||
// Debug output goes here
|
||||
std::ostream &m_dout;
|
||||
u32 m_daylight_ratio;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user