diff options
author | Samuel Barney <samjbarney@gmail.com> | 2015-07-17 23:26:21 +0200 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2015-07-17 23:26:21 +0200 |
commit | 9fde99aca2ffb38fb7b27478b58b46dbabbbf5ea (patch) | |
tree | 733909f5a60cc0ea86fe1757c291e7bfb1b8232c /src/Generating/Trees.h | |
parent | Merge pull request #2295 from bibo38/rabbitcolors (diff) | |
download | cuberite-9fde99aca2ffb38fb7b27478b58b46dbabbbf5ea.tar cuberite-9fde99aca2ffb38fb7b27478b58b46dbabbbf5ea.tar.gz cuberite-9fde99aca2ffb38fb7b27478b58b46dbabbbf5ea.tar.bz2 cuberite-9fde99aca2ffb38fb7b27478b58b46dbabbbf5ea.tar.lz cuberite-9fde99aca2ffb38fb7b27478b58b46dbabbbf5ea.tar.xz cuberite-9fde99aca2ffb38fb7b27478b58b46dbabbbf5ea.tar.zst cuberite-9fde99aca2ffb38fb7b27478b58b46dbabbbf5ea.zip |
Diffstat (limited to 'src/Generating/Trees.h')
-rw-r--r-- | src/Generating/Trees.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Generating/Trees.h b/src/Generating/Trees.h index 092d71182..b0363e050 100644 --- a/src/Generating/Trees.h +++ b/src/Generating/Trees.h @@ -106,6 +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); +/// Moves the x and z coordinants to the north-west corner of a 2x2 of saplings. Returns true if a 2x2 was found, otherwise it returns false bool GetLargeTreeAdjustment(cWorld & a_World, int & a_X, int & a_Y, int & a_Z, NIBBLETYPE a_Meta); |