mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
MapBlockMesh, mesh animation system, urgent mesh updates, athmospheric light, removed footprints
This commit is contained in:
parent
f9a66c5d46
commit
807a0d313b
22 changed files with 1216 additions and 1745 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue