summaryrefslogtreecommitdiffstats
path: root/src/Generating/Trees.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-11-20 21:30:50 +0100
committerMattes D <github@xoft.cz>2014-11-20 21:30:50 +0100
commitf3e9fa74d25cd6d9494ee80677fef6ef552a06e3 (patch)
tree43f3aa838ddb4f204b7d3ec930f3527eddbbb0dc /src/Generating/Trees.h
parentMerge pull request #1603 from mc-server/ImprovedNoise (diff)
parentChanged comment (diff)
downloadcuberite-f3e9fa74d25cd6d9494ee80677fef6ef552a06e3.tar
cuberite-f3e9fa74d25cd6d9494ee80677fef6ef552a06e3.tar.gz
cuberite-f3e9fa74d25cd6d9494ee80677fef6ef552a06e3.tar.bz2
cuberite-f3e9fa74d25cd6d9494ee80677fef6ef552a06e3.tar.lz
cuberite-f3e9fa74d25cd6d9494ee80677fef6ef552a06e3.tar.xz
cuberite-f3e9fa74d25cd6d9494ee80677fef6ef552a06e3.tar.zst
cuberite-f3e9fa74d25cd6d9494ee80677fef6ef552a06e3.zip
Diffstat (limited to 'src/Generating/Trees.h')
-rw-r--r--src/Generating/Trees.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Generating/Trees.h b/src/Generating/Trees.h
index cc0fa87d9..a2c8274f5 100644
--- a/src/Generating/Trees.h
+++ b/src/Generating/Trees.h
@@ -62,6 +62,12 @@ void GetSmallAppleTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a
/// Generates an image of a large (branching) apple tree
void GetLargeAppleTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_Noise, int a_Seq, sSetBlockVector & a_LogBlocks, sSetBlockVector & a_OtherBlocks);
+/// Generates a branch for a large apple tree
+void GetLargeAppleTreeBranch(int a_BlockX, int a_BlockY, int a_BlockZ, int a_BranchLength, Vector3d a_StartDirection, Vector3d a_Direction, int a_TreeHeight, cNoise & a_Noise, sSetBlockVector & a_LogBlocks);
+
+/// Returns the meta for a log from the given direction
+NIBBLETYPE GetLogMetaFromDirection(NIBBLETYPE a_BlockMeta, Vector3d a_Direction);
+
/// Generates an image of a random birch tree
void GetBirchTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_Noise, int a_Seq, sSetBlockVector & a_LogBlocks, sSetBlockVector & a_OtherBlocks);