#include "modifiedstate.h"
#include "util/container.h"
#include "nodetimer.h"
-#include "database.h"
+class Database;
class ClientMap;
class MapSector;
class ServerMapSector;
// 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