diff options
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -493,21 +493,13 @@ public: bool isSavingEnabled(){ return m_map_saving_enabled; } - u64 getSeed(){ return m_seed; } - - MapgenParams *getMapgenParams(){ return m_mgparams; } - void setMapgenParams(MapgenParams *mgparams){ m_mgparams = mgparams; } - - // Parameters fed to the Mapgen - MapgenParams *m_mgparams; + u64 getSeed(); + s16 getWaterLevel(); 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 - u64 m_seed; - // Emerge manager EmergeManager *m_emerge; |