mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
MapBlockMesh, mesh animation system, urgent mesh updates, athmospheric light, removed footprints
This commit is contained in:
@@ -407,24 +407,6 @@ public:
|
||||
virtual void addPlayer(Player *player);
|
||||
LocalPlayer * getLocalPlayer();
|
||||
|
||||
// Slightly deprecated
|
||||
void updateMeshes(v3s16 blockpos);
|
||||
void expireMeshes(bool only_daynight_diffed);
|
||||
|
||||
void setTimeOfDay(u32 time)
|
||||
{
|
||||
u32 old_dr = getDayNightRatio();
|
||||
|
||||
Environment::setTimeOfDay(time);
|
||||
|
||||
if(getDayNightRatio() != old_dr)
|
||||
{
|
||||
/*infostream<<"ClientEnvironment: DayNightRatio changed"
|
||||
<<" -> expiring meshes"<<std::endl;*/
|
||||
expireMeshes(true);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
ClientSimpleObjects
|
||||
*/
|
||||
|
Reference in New Issue
Block a user