summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-09 10:35:51 +0100
committermadmaxoft <github@xoft.cz>2014-01-09 10:35:51 +0100
commitbd17662412e68463f38fb73b1b1aa43032262b78 (patch)
tree20a66efe1fa1c0e4cb2dd469b2da5596175fdca4 /src/Generating/ComposableGenerator.h
parentHeight generator creating moved info HeiGen.cpp. (diff)
downloadcuberite-bd17662412e68463f38fb73b1b1aa43032262b78.tar
cuberite-bd17662412e68463f38fb73b1b1aa43032262b78.tar.gz
cuberite-bd17662412e68463f38fb73b1b1aa43032262b78.tar.bz2
cuberite-bd17662412e68463f38fb73b1b1aa43032262b78.tar.lz
cuberite-bd17662412e68463f38fb73b1b1aa43032262b78.tar.xz
cuberite-bd17662412e68463f38fb73b1b1aa43032262b78.tar.zst
cuberite-bd17662412e68463f38fb73b1b1aa43032262b78.zip
Diffstat (limited to 'src/Generating/ComposableGenerator.h')
-rw-r--r--src/Generating/ComposableGenerator.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Generating/ComposableGenerator.h b/src/Generating/ComposableGenerator.h
index a6b77f7be..7c9c97586 100644
--- a/src/Generating/ComposableGenerator.h
+++ b/src/Generating/ComposableGenerator.h
@@ -104,6 +104,12 @@ public:
/// Reads parameters from the ini file, prepares generator for use.
virtual void InitializeCompoGen(cIniFile & a_IniFile) {}
+
+ /** Creates the correct TerrainCompositionGen descendant based on the ini file settings and the seed provided.
+ a_BiomeGen is the underlying biome generator, some composition generators may depend on it to generate more biomes
+ a_HeightGen is the underlying height generator, some composition generators may depend on it providing additional values
+ */
+ static cTerrainCompositionGen * CreateCompositionGen(cIniFile & a_IniFile, cBiomeGen & a_BiomeGen, cTerrainHeightGen & a_HeightGen, int a_Seed);
} ;