diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-11-25 16:52:32 +0100 |
---|---|---|
committer | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-11-25 16:52:32 +0100 |
commit | d6ad5245b3590cc71686a763d71db82542b2f279 (patch) | |
tree | e03a27694e4b589f5bf04d2a595393661fa36654 /src/Generating/StructGen.h | |
parent | Merge pull request #2687 from Gargaj/signfix (diff) | |
parent | OrePockets finisher is now configurable. (diff) | |
download | cuberite-d6ad5245b3590cc71686a763d71db82542b2f279.tar cuberite-d6ad5245b3590cc71686a763d71db82542b2f279.tar.gz cuberite-d6ad5245b3590cc71686a763d71db82542b2f279.tar.bz2 cuberite-d6ad5245b3590cc71686a763d71db82542b2f279.tar.lz cuberite-d6ad5245b3590cc71686a763d71db82542b2f279.tar.xz cuberite-d6ad5245b3590cc71686a763d71db82542b2f279.tar.zst cuberite-d6ad5245b3590cc71686a763d71db82542b2f279.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/StructGen.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/src/Generating/StructGen.h b/src/Generating/StructGen.h index 796abf0f5..b5cfcb07c 100644 --- a/src/Generating/StructGen.h +++ b/src/Generating/StructGen.h @@ -72,54 +72,6 @@ protected: -class cStructGenOreNests : - public cFinishGen -{ -public: - struct OreInfo - { - BLOCKTYPE BlockType; // The type of the nest. - NIBBLETYPE BlockMeta; // The block meta - int MaxHeight; // The highest possible a nest can occur - int NumNests; // How many nests per chunk - int NestSize; // The amount of blocks a nest can have. - - OreInfo() : - BlockType(0), - BlockMeta(0), - MaxHeight(0), - NumNests(0), - NestSize(0) - { - } - }; - - typedef std::vector<OreInfo> OreList; - - cStructGenOreNests(int a_Seed, OreList a_OreList, BLOCKTYPE a_ToReplace) : - m_Noise(a_Seed), - m_Seed(a_Seed), - m_OreList(a_OreList), - m_ToReplace(a_ToReplace) - {} - -protected: - cNoise m_Noise; - int m_Seed; - - OreList m_OreList; // A list of possible ores. - BLOCKTYPE m_ToReplace; - - // cFinishGen override: - virtual void GenFinish(cChunkDesc & a_ChunkDesc) override; - - void GenerateOre(int a_ChunkX, int a_ChunkZ, BLOCKTYPE a_OreType, NIBBLETYPE a_BlockMeta, int a_MaxHeight, int a_NumNests, int a_NestSize, cChunkDef::BlockTypes & a_BlockTypes, cChunkDesc::BlockNibbleBytes & a_BlockMetas, int a_Seq); -} ; - - - - - class cStructGenLakes : public cFinishGen { |