diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-02-19 16:58:31 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-02-19 16:58:31 +0100 |
commit | a5a52fe1605c33e2c3687c6de9f7925cbe9a9a47 (patch) | |
tree | 4f84c5787be9d325e1d8ed6a81a7035fd9f52799 /src/Generating | |
parent | Merge pull request #694 from mc-server/itemframes (diff) | |
download | cuberite-a5a52fe1605c33e2c3687c6de9f7925cbe9a9a47.tar cuberite-a5a52fe1605c33e2c3687c6de9f7925cbe9a9a47.tar.gz cuberite-a5a52fe1605c33e2c3687c6de9f7925cbe9a9a47.tar.bz2 cuberite-a5a52fe1605c33e2c3687c6de9f7925cbe9a9a47.tar.lz cuberite-a5a52fe1605c33e2c3687c6de9f7925cbe9a9a47.tar.xz cuberite-a5a52fe1605c33e2c3687c6de9f7925cbe9a9a47.tar.zst cuberite-a5a52fe1605c33e2c3687c6de9f7925cbe9a9a47.zip |
Diffstat (limited to 'src/Generating')
-rw-r--r-- | src/Generating/Trees.cpp | 18 | ||||
-rw-r--r-- | src/Generating/Trees.h | 6 |
2 files changed, 24 insertions, 0 deletions
diff --git a/src/Generating/Trees.cpp b/src/Generating/Trees.cpp index 7e8a3c75f..ada20954a 100644 --- a/src/Generating/Trees.cpp +++ b/src/Generating/Trees.cpp @@ -382,6 +382,24 @@ void GetBirchTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_Nois +void GetAcaciaTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_Noise, int a_Seq, sSetBlockVector & a_LogBlocks, sSetBlockVector & a_OtherBlocks) +{ + // TODO +} + + + + + +void GetDarkoacTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_Noise, int a_Seq, sSetBlockVector & a_LogBlocks, sSetBlockVector & a_OtherBlocks) +{ + // TODO +} + + + + + void GetTallBirchTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_Noise, int a_Seq, sSetBlockVector & a_LogBlocks, sSetBlockVector & a_OtherBlocks) { int Height = 9 + (a_Noise.IntNoise3DInt(a_BlockX + 64 * a_Seq, a_BlockY, a_BlockZ) % 3); diff --git a/src/Generating/Trees.h b/src/Generating/Trees.h index 514158eb7..7619f4458 100644 --- a/src/Generating/Trees.h +++ b/src/Generating/Trees.h @@ -63,6 +63,12 @@ void GetLargeAppleTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a /// 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); +/// Generates an image of a random acacia tree +void GetAcaciaTreeImage(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 darkoac tree +void GetDarkoacTreeImage(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 large birch tree void GetTallBirchTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_Noise, int a_Seq, sSetBlockVector & a_LogBlocks,sSetBlockVector & a_OtherBlocks); |