1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Weather: Clean up getHeat/getHumidity somewhat

This commit is contained in:
kwolekr 2013-09-16 22:52:24 -04:00
parent c9eb17aba3
commit 9bccd75e34
13 changed files with 143 additions and 77 deletions

View file

@ -477,8 +477,8 @@ public:
// Parameters fed to the Mapgen
MapgenParams *m_mgparams;
virtual s16 getHeat(ServerEnvironment *env, v3s16 p, MapBlock *block = NULL);
virtual s16 getHumidity(ServerEnvironment *env, v3s16 p, MapBlock *block = NULL);
virtual s16 updateBlockHeat(ServerEnvironment *env, v3s16 p, MapBlock *block = NULL);
virtual s16 updateBlockHumidity(ServerEnvironment *env, v3s16 p, MapBlock *block = NULL);
private:
// Seed used for all kinds of randomness in generation