diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-07-14 16:36:53 +0200 |
---|---|---|
committer | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-07-14 16:36:53 +0200 |
commit | e92335b669ff2093d78469264fbe86a9df8fa707 (patch) | |
tree | 0a59f649e01974f0786aca75a81d260c2f01002d /src/Generating/Trees.h | |
parent | Merge pull request #2351 from SamJBarney/TorchStairFix (diff) | |
parent | Sapling Growth Update (diff) | |
download | cuberite-e92335b669ff2093d78469264fbe86a9df8fa707.tar cuberite-e92335b669ff2093d78469264fbe86a9df8fa707.tar.gz cuberite-e92335b669ff2093d78469264fbe86a9df8fa707.tar.bz2 cuberite-e92335b669ff2093d78469264fbe86a9df8fa707.tar.lz cuberite-e92335b669ff2093d78469264fbe86a9df8fa707.tar.xz cuberite-e92335b669ff2093d78469264fbe86a9df8fa707.tar.zst cuberite-e92335b669ff2093d78469264fbe86a9df8fa707.zip |
Diffstat (limited to 'src/Generating/Trees.h')
-rw-r--r-- | src/Generating/Trees.h | 6 |
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); |