diff options
author | Mattes D <github@xoft.cz> | 2014-11-23 12:33:04 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-11-23 12:33:04 +0100 |
commit | e9797c6a2a78d1caedc6cc2b6620b34e18a8b41f (patch) | |
tree | 2aabeb2ff85f9d8951b9837e132e4dabed9d6108 /src/Generating/Trees.h | |
parent | cWorld: Changed generator defaults. (diff) | |
parent | Merge pull request #1612 from p-mcgowan/pigsIntoZombiePigmenOnLightning (diff) | |
download | cuberite-e9797c6a2a78d1caedc6cc2b6620b34e18a8b41f.tar cuberite-e9797c6a2a78d1caedc6cc2b6620b34e18a8b41f.tar.gz cuberite-e9797c6a2a78d1caedc6cc2b6620b34e18a8b41f.tar.bz2 cuberite-e9797c6a2a78d1caedc6cc2b6620b34e18a8b41f.tar.lz cuberite-e9797c6a2a78d1caedc6cc2b6620b34e18a8b41f.tar.xz cuberite-e9797c6a2a78d1caedc6cc2b6620b34e18a8b41f.tar.zst cuberite-e9797c6a2a78d1caedc6cc2b6620b34e18a8b41f.zip |
Diffstat (limited to 'src/Generating/Trees.h')
-rw-r--r-- | src/Generating/Trees.h | 6 |
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); |