Fix alpha for liquid nodes (#5494)
[oweals/minetest.git] / src / mg_biome.h
index eb0a18a2fae0f87527d0c7c889391592d0ef8f36..15088f7dd5bee1c8e08765fa7a0100d45f3e9988 100644 (file)
@@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "nodedef.h"
 #include "noise.h"
 
+class Server;
 class Settings;
 class BiomeManager;
 
@@ -134,8 +135,8 @@ protected:
 
 struct BiomeParamsOriginal : public BiomeParams {
        BiomeParamsOriginal() :
-               np_heat(50, 50, v3f(750.0, 750.0, 750.0), 5349, 3, 0.5, 2.0),
-               np_humidity(50, 50, v3f(750.0, 750.0, 750.0), 842, 3, 0.5, 2.0),
+               np_heat(50, 50, v3f(1000.0, 1000.0, 1000.0), 5349, 3, 0.5, 2.0),
+               np_humidity(50, 50, v3f(1000.0, 1000.0, 1000.0), 842, 3, 0.5, 2.0),
                np_heat_blend(0, 1.5, v3f(8.0, 8.0, 8.0), 13, 2, 1.0, 2.0),
                np_humidity_blend(0, 1.5, v3f(8.0, 8.0, 8.0), 90003, 2, 1.0, 2.0)
        {
@@ -186,7 +187,7 @@ private:
 
 class BiomeManager : public ObjDefManager {
 public:
-       BiomeManager(IGameDef *gamedef);
+       BiomeManager(Server *server);
        virtual ~BiomeManager();
 
        const char *getObjectTitle() const
@@ -223,7 +224,7 @@ public:
        virtual void clear();
 
 private:
-       IGameDef *m_gamedef;
+       Server *m_server;
 
 };