Node highlighting.
[oweals/minetest.git] / src / biome.cpp
index e68429effb74c44b506cce86ef9f40785ffd12cc..e1dfc47afbb021c31bf06e03a79d7f27c8d3d327 100644 (file)
@@ -21,13 +21,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "nodedef.h"
 #include "map.h" //for ManualMapVoxelManipulator
 #include "log.h"
+#include "util/numeric.h"
 #include "main.h"
+#include "util/mathconstants.h"
+#include "porting.h"
 
-
-NoiseParams nparams_biome_def_heat =
-       {50, 50, v3f(500.0, 500.0, 500.0), 5349, 3, 0.70};
-NoiseParams nparams_biome_def_humidity =
-       {50, 50, v3f(500.0, 500.0, 500.0), 842, 3, 0.55};
+NoiseParams nparams_biome_def_heat(50, 50, v3f(500.0, 500.0, 500.0), 5349, 3, 0.70);
+NoiseParams nparams_biome_def_humidity(50, 50, v3f(500.0, 500.0, 500.0), 842, 3, 0.55);
 
 
 BiomeDefManager::BiomeDefManager() {