summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-28 20:15:52 +0100
committermadmaxoft <github@xoft.cz>2013-11-28 20:15:52 +0100
commitc0a6c2b533ac8e3478166c4f33224134e172a6b6 (patch)
tree87da942ecfb50588c47e9f5178abedac5ac99f0d /src/Generating/ComposableGenerator.h
parentMoved json includes to where they are really needed. (diff)
downloadcuberite-c0a6c2b533ac8e3478166c4f33224134e172a6b6.tar
cuberite-c0a6c2b533ac8e3478166c4f33224134e172a6b6.tar.gz
cuberite-c0a6c2b533ac8e3478166c4f33224134e172a6b6.tar.bz2
cuberite-c0a6c2b533ac8e3478166c4f33224134e172a6b6.tar.lz
cuberite-c0a6c2b533ac8e3478166c4f33224134e172a6b6.tar.xz
cuberite-c0a6c2b533ac8e3478166c4f33224134e172a6b6.tar.zst
cuberite-c0a6c2b533ac8e3478166c4f33224134e172a6b6.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/ComposableGenerator.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Generating/ComposableGenerator.h b/src/Generating/ComposableGenerator.h
index d5e33a439..732f64303 100644
--- a/src/Generating/ComposableGenerator.h
+++ b/src/Generating/ComposableGenerator.h
@@ -48,6 +48,13 @@ public:
/// Reads parameters from the ini file, prepares generator for use.
virtual void InitializeBiomeGen(cIniFile & a_IniFile) {}
+
+ /// Creates the correct BiomeGen descendant based on the ini file settings and the seed provided.
+ /// a_CacheOffByDefault gets set to whether the cache should be enabled by default
+ /// Used in BiomeVisualiser, too.
+ /// Implemented in BioGen.cpp!
+ static cBiomeGen * CreateBiomeGen(cIniFile & a_IniFile, int a_Seed, bool & a_CacheOffByDefault);
+
} ;