diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-24 17:07:51 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-24 17:07:51 +0100 |
commit | 5462f43baefdf839d7d2e5036d2ec3c95d888c02 (patch) | |
tree | a202c0b0b8f6f11934c849c751ea0e573b2ffb13 /source/Generating/BioGen.h | |
parent | Updated core plugin. (diff) | |
download | cuberite-5462f43baefdf839d7d2e5036d2ec3c95d888c02.tar cuberite-5462f43baefdf839d7d2e5036d2ec3c95d888c02.tar.gz cuberite-5462f43baefdf839d7d2e5036d2ec3c95d888c02.tar.bz2 cuberite-5462f43baefdf839d7d2e5036d2ec3c95d888c02.tar.lz cuberite-5462f43baefdf839d7d2e5036d2ec3c95d888c02.tar.xz cuberite-5462f43baefdf839d7d2e5036d2ec3c95d888c02.tar.zst cuberite-5462f43baefdf839d7d2e5036d2ec3c95d888c02.zip |
Diffstat (limited to 'source/Generating/BioGen.h')
-rw-r--r-- | source/Generating/BioGen.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/Generating/BioGen.h b/source/Generating/BioGen.h index 88ca3e438..ad3ff01a3 100644 --- a/source/Generating/BioGen.h +++ b/source/Generating/BioGen.h @@ -180,10 +180,11 @@ protected: int m_OceanCellSize; int m_MushroomIslandSize; int m_RiverCellSize; - float m_RiverWidthThreshold; - float m_LandBiomesSize; + double m_RiverWidthThreshold; + float m_LandBiomesSize; - typedef int IntMap[17 * 17]; // x + 17 * z, expected trimmed into [0..255] range + typedef int IntMap[17 * 17]; // x + 17 * z, expected trimmed into [0..255] range + typedef double DblMap[17 * 17]; // x + 17 * z, expected trimmed into [0..1] range // cBiomeGen overrides: virtual void GenBiomes(int a_ChunkX, int a_ChunkZ, cChunkDef::BiomeMap & a_BiomeMap) override; |