summaryrefslogtreecommitdiffstats
path: root/source/Generating/BioGen.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Generating/BioGen.h7
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;