diff options
author | madmaxoft <github@xoft.cz> | 2013-11-28 22:08:42 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-11-28 22:08:42 +0100 |
commit | f6df5cea878d3dbd7bcff14749b173e5e88600eb (patch) | |
tree | 163f7a8fefd5b309cbe01d755a76c27b2f115b2a /src/Generating/Trees.cpp | |
parent | Added new biomes to old composition generator. (diff) | |
download | cuberite-f6df5cea878d3dbd7bcff14749b173e5e88600eb.tar cuberite-f6df5cea878d3dbd7bcff14749b173e5e88600eb.tar.gz cuberite-f6df5cea878d3dbd7bcff14749b173e5e88600eb.tar.bz2 cuberite-f6df5cea878d3dbd7bcff14749b173e5e88600eb.tar.lz cuberite-f6df5cea878d3dbd7bcff14749b173e5e88600eb.tar.xz cuberite-f6df5cea878d3dbd7bcff14749b173e5e88600eb.tar.zst cuberite-f6df5cea878d3dbd7bcff14749b173e5e88600eb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/Trees.cpp | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/Generating/Trees.cpp b/src/Generating/Trees.cpp index 7ca30c60f..fbed57cb6 100644 --- a/src/Generating/Trees.cpp +++ b/src/Generating/Trees.cpp @@ -161,6 +161,9 @@ void GetTreeImageByBiome(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_No case biMushroomIsland: case biMushroomShore: case biForestHills: + case biDeepOcean: + case biStoneBeach: + case biColdBeach: { // Apple or birch trees: if (a_Noise.IntNoise3DInt(a_BlockX, a_BlockY + 16 * a_Seq, a_BlockZ + 16 * a_Seq) < 0x5fffffff) @@ -193,6 +196,7 @@ void GetTreeImageByBiome(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_No case biJungle: case biJungleHills: + case biJungleEdge: { // Apple bushes, large jungle trees, small jungle trees if (a_Noise.IntNoise3DInt(a_BlockX, a_BlockY + 16 * a_Seq, a_BlockZ + 16 * a_Seq) < 0x6fffffff) @@ -203,6 +207,52 @@ void GetTreeImageByBiome(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_No { GetJungleTreeImage(a_BlockX, a_BlockY, a_BlockZ, a_Noise, a_Seq, a_LogBlocks, a_OtherBlocks); } + break; + } + + case biBirchForest: + case biBirchForestHills: + { + GetBirchTreeImage(a_BlockX, a_BlockY, a_BlockZ, a_Noise, a_Seq, a_LogBlocks, a_OtherBlocks); + break; + } + + case biRoofedForest: + case biColdTaiga: + case biColdTaigaHills: + case biMegaTaiga: + case biMegaTaigaHills: + case biExtremeHillsPlus: + case biSavanna: + case biSavannaPlateau: + case biMesa: + case biMesaPlateauF: + case biMesaPlateau: + case biSunflowerPlains: + case biDesertM: + case biExtremeHillsM: + case biFlowerForest: + case biTaigaM: + case biSwamplandM: + case biIcePlainsSpikes: + case biJungleM: + case biJungleEdgeM: + case biBirchForestM: + case biBirchForestHillsM: + case biRoofedForestM: + case biColdTaigaM: + case biMegaSpruceTaiga: + case biMegaSpruceTaigaHills: + case biExtremeHillsPlusM: + case biSavannaM: + case biSavannaPlateauM: + case biMesaBryce: + case biMesaPlateauFM: + case biMesaPlateauM: + { + // TODO: These need their special trees + GetBirchTreeImage(a_BlockX, a_BlockY, a_BlockZ, a_Noise, a_Seq, a_LogBlocks, a_OtherBlocks); + break; } } } |