diff options
author | madmaxoft <github@xoft.cz> | 2013-11-28 20:15:52 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-11-28 20:15:52 +0100 |
commit | c0a6c2b533ac8e3478166c4f33224134e172a6b6 (patch) | |
tree | 87da942ecfb50588c47e9f5178abedac5ac99f0d /src/Generating/ComposableGenerator.h | |
parent | Moved json includes to where they are really needed. (diff) | |
download | cuberite-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.h | 7 |
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); + } ; |