diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-05 21:56:45 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-05 21:56:45 +0200 |
commit | e88cdf8da714473624b221aca5a6feed2154a885 (patch) | |
tree | d5c49f766776e7e63d13dcca39fedbeda1db90db /source/Generating/ComposableGenerator.h | |
parent | Fixed Biomal CompoGen to set heightmap correctly when underwater (diff) | |
download | cuberite-e88cdf8da714473624b221aca5a6feed2154a885.tar cuberite-e88cdf8da714473624b221aca5a6feed2154a885.tar.gz cuberite-e88cdf8da714473624b221aca5a6feed2154a885.tar.bz2 cuberite-e88cdf8da714473624b221aca5a6feed2154a885.tar.lz cuberite-e88cdf8da714473624b221aca5a6feed2154a885.tar.xz cuberite-e88cdf8da714473624b221aca5a6feed2154a885.tar.zst cuberite-e88cdf8da714473624b221aca5a6feed2154a885.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Generating/ComposableGenerator.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source/Generating/ComposableGenerator.h b/source/Generating/ComposableGenerator.h index ee38bdb9d..c32e7181f 100644 --- a/source/Generating/ComposableGenerator.h +++ b/source/Generating/ComposableGenerator.h @@ -148,13 +148,12 @@ protected: cStructureGenList m_StructureGens;
cFinishGenList m_FinishGens;
- // Specific generators that can be reused for different purposes - we don't want to create multiple objects for them
- cNoise3DComposable * m_Noise3DComposable;
- int m_NumNoise3DComposableUses; ///< How many times is it actually used?
- cDistortedHeightmap * m_DistortedHeightmap;
- int m_NumDistortedHeightmapUses; ///< How many times is it actually used?
+ // Generators underlying the caches:
+ cBiomeGen * m_UnderlyingBiomeGen;
+ cTerrainHeightGen * m_UnderlyingHeightGen;
+ cTerrainCompositionGen * m_UnderlyingCompositionGen;
+
-
/// Reads the biome gen settings from the ini and initializes m_BiomeGen accordingly
void InitBiomeGen(cIniFile & a_IniFile);
|