diff options
author | 12xx12 <44411062+12xx12@users.noreply.github.com> | 2020-08-09 22:49:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-09 22:49:40 +0200 |
commit | fed03048ad699fb8bc4e216c8ad2ae4d57e5a17f (patch) | |
tree | a44291edf9509a237c250a20ce6b521448932186 /src/BiomeDef.cpp | |
parent | Fix arrows preventing block placement (diff) | |
download | cuberite-fed03048ad699fb8bc4e216c8ad2ae4d57e5a17f.tar cuberite-fed03048ad699fb8bc4e216c8ad2ae4d57e5a17f.tar.gz cuberite-fed03048ad699fb8bc4e216c8ad2ae4d57e5a17f.tar.bz2 cuberite-fed03048ad699fb8bc4e216c8ad2ae4d57e5a17f.tar.lz cuberite-fed03048ad699fb8bc4e216c8ad2ae4d57e5a17f.tar.xz cuberite-fed03048ad699fb8bc4e216c8ad2ae4d57e5a17f.tar.zst cuberite-fed03048ad699fb8bc4e216c8ad2ae4d57e5a17f.zip |
Diffstat (limited to 'src/BiomeDef.cpp')
-rw-r--r-- | src/BiomeDef.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/BiomeDef.cpp b/src/BiomeDef.cpp index bef808ef2..ebb45f5e9 100644 --- a/src/BiomeDef.cpp +++ b/src/BiomeDef.cpp @@ -223,6 +223,29 @@ bool IsBiomeCold(EMCSBiome a_Biome) +bool IsBiomeMountain(EMCSBiome a_Biome) +{ + switch (a_Biome) + { + case biExtremeHills: + case biExtremeHillsEdge: + case biExtremeHillsM: + case biExtremeHillsPlus: + case biExtremeHillsPlusM: + { + return true; + } + default: + { + return false; + } + } +} + + + + + int GetSnowStartHeight(EMCSBiome a_Biome) { switch (a_Biome) |