]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/map.h
Fix spaces float islands code
[dragonfireclient.git] / src / map.h
index 15725f00e73ac6d725d46eb520195c15ea4d8137..b70b18acc0ff80c9d4b85668705d780d9fe951d3 100644 (file)
--- a/src/map.h
+++ b/src/map.h
@@ -33,8 +33,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "modifiedstate.h"
 #include "util/container.h"
 #include "nodetimer.h"
-#include "database.h"
 
+class Database;
 class ClientMap;
 class MapSector;
 class ServerMapSector;
@@ -477,8 +477,8 @@ class ServerMap : public Map
        // 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