X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fbiome.cpp;h=e1dfc47afbb021c31bf06e03a79d7f27c8d3d327;hb=58e6d25e033c76dc91aaac18fdeda92ac23fe0e1;hp=e68429effb74c44b506cce86ef9f40785ffd12cc;hpb=d22baa88edcdba21881310d0f5b728074c4c8876;p=oweals%2Fminetest.git diff --git a/src/biome.cpp b/src/biome.cpp index e68429eff..e1dfc47af 100644 --- a/src/biome.cpp +++ b/src/biome.cpp @@ -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() {