diff options
Diffstat (limited to 'src/environment.h')
-rw-r--r-- | src/environment.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/environment.h b/src/environment.h index ebc80ad1a..6fdf6d33d 100644 --- a/src/environment.h +++ b/src/environment.h @@ -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 |