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:
parent
c9eb17aba3
commit
9bccd75e34
13 changed files with 143 additions and 77 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue