summaryrefslogtreecommitdiff
path: root/src/environment.h
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2012-03-13 18:56:12 +0100
committerPerttu Ahola <celeron55@gmail.com>2012-03-15 21:45:44 +0200
commit807a0d313ba667356ee8af8ef5ae82b6c4881d15 (patch)
treec4674e1c193cfcf8359c788ed5894d3cc1849648 /src/environment.h
parentf9a66c5d46b225d0ddbbad939232348bc5ebf959 (diff)
downloadminetest-807a0d313ba667356ee8af8ef5ae82b6c4881d15.tar.gz
minetest-807a0d313ba667356ee8af8ef5ae82b6c4881d15.tar.bz2
minetest-807a0d313ba667356ee8af8ef5ae82b6c4881d15.zip
MapBlockMesh, mesh animation system, urgent mesh updates, athmospheric light, removed footprints
Diffstat (limited to 'src/environment.h')
-rw-r--r--src/environment.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/environment.h b/src/environment.h
index fcd16e296..65495fc85 100644
--- a/src/environment.h
+++ b/src/environment.h
@@ -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
*/