summaryrefslogtreecommitdiffstats
path: root/src/Generating/StructGen.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-09-28 19:27:08 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-09-28 19:27:08 +0200
commit76e0c592ef2f9660f10ab099cb8e8cbffc35153b (patch)
tree8ba5a41c9c22e226af5588ef0048a4d9450fde51 /src/Generating/StructGen.h
parentMerge pull request #1463 from mc-server/sp_docs (diff)
downloadcuberite-76e0c592ef2f9660f10ab099cb8e8cbffc35153b.tar
cuberite-76e0c592ef2f9660f10ab099cb8e8cbffc35153b.tar.gz
cuberite-76e0c592ef2f9660f10ab099cb8e8cbffc35153b.tar.bz2
cuberite-76e0c592ef2f9660f10ab099cb8e8cbffc35153b.tar.lz
cuberite-76e0c592ef2f9660f10ab099cb8e8cbffc35153b.tar.xz
cuberite-76e0c592ef2f9660f10ab099cb8e8cbffc35153b.tar.zst
cuberite-76e0c592ef2f9660f10ab099cb8e8cbffc35153b.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/StructGen.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Generating/StructGen.h b/src/Generating/StructGen.h
index 55d5bc1c7..76bdf44d4 100644
--- a/src/Generating/StructGen.h
+++ b/src/Generating/StructGen.h
@@ -78,10 +78,11 @@ class cStructGenOreNests :
public:
struct OreInfo
{
- BLOCKTYPE BlockType; // The type of the nest.
- 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.
+ BLOCKTYPE BlockType; // The type of the nest.
+ NIBBLETYPE BlockMeta = 0; // 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.
};
typedef std::vector<OreInfo> OreList;
@@ -103,7 +104,7 @@ protected:
// cFinishGen override:
virtual void GenFinish(cChunkDesc & a_ChunkDesc) override;
- void GenerateOre(int a_ChunkX, int a_ChunkZ, BLOCKTYPE a_OreType, int a_MaxHeight, int a_NumNests, int a_NestSize, cChunkDef::BlockTypes & a_BlockTypes, int a_Seq);
+ 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);
} ;