summaryrefslogtreecommitdiffstats
path: root/src/Generating/Trees.h
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2015-07-13 19:02:00 +0200
committerSamuel Barney <samjbarney@gmail.com>2015-07-13 23:24:38 +0200
commitd017fe5e392636e684dd287f69ebc45334fd5969 (patch)
tree866ccff11b5ba053d8d9da0caa42d5e7f77e184f /src/Generating/Trees.h
parentMerge pull request #2344 from bibo38/make_ptr (diff)
downloadcuberite-d017fe5e392636e684dd287f69ebc45334fd5969.tar
cuberite-d017fe5e392636e684dd287f69ebc45334fd5969.tar.gz
cuberite-d017fe5e392636e684dd287f69ebc45334fd5969.tar.bz2
cuberite-d017fe5e392636e684dd287f69ebc45334fd5969.tar.lz
cuberite-d017fe5e392636e684dd287f69ebc45334fd5969.tar.xz
cuberite-d017fe5e392636e684dd287f69ebc45334fd5969.tar.zst
cuberite-d017fe5e392636e684dd287f69ebc45334fd5969.zip
Diffstat (limited to 'src/Generating/Trees.h')
-rw-r--r--src/Generating/Trees.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Generating/Trees.h b/src/Generating/Trees.h
index a2c8274f5..092d71182 100644
--- a/src/Generating/Trees.h
+++ b/src/Generating/Trees.h
@@ -20,6 +20,8 @@ logs can overwrite others(leaves), but others shouldn't overwrite logs. This is
#include "../ChunkDef.h"
#include "../Noise/Noise.h"
+class cWorld;
+
@@ -96,7 +98,7 @@ void GetSwampTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_Nois
void GetAppleBushImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_Noise, int a_Seq, sSetBlockVector & a_LogBlocks, sSetBlockVector & a_OtherBlocks);
/// Generates an image of a random jungle tree
-void GetJungleTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_Noise, int a_Seq, sSetBlockVector & a_LogBlocks, sSetBlockVector & a_OtherBlocks);
+void GetJungleTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_Noise, int a_Seq, sSetBlockVector & a_LogBlocks, sSetBlockVector & a_OtherBlocks, bool a_Large);
/// Generates an image of a large jungle tree (2x2 trunk)
void GetLargeJungleTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_Noise, int a_Seq, sSetBlockVector & a_LogBlocks, sSetBlockVector & a_OtherBlocks);
@@ -104,7 +106,7 @@ void GetLargeJungleTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise &
/// Generates an image of a small jungle tree (1x1 trunk)
void GetSmallJungleTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_Noise, int a_Seq, sSetBlockVector & a_LogBlocks, sSetBlockVector & a_OtherBlocks);
-
+bool GetLargeTreeAdjustment(cWorld & a_World, int & a_X, int & a_Y, int & a_Z, NIBBLETYPE a_Meta);