summaryrefslogtreecommitdiffstats
path: root/src/BiomeDef.cpp
diff options
context:
space:
mode:
author12xx12 <44411062+12xx12@users.noreply.github.com>2020-08-09 22:49:40 +0200
committerGitHub <noreply@github.com>2020-08-09 22:49:40 +0200
commitfed03048ad699fb8bc4e216c8ad2ae4d57e5a17f (patch)
treea44291edf9509a237c250a20ce6b521448932186 /src/BiomeDef.cpp
parentFix arrows preventing block placement (diff)
downloadcuberite-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 '')
-rw-r--r--src/BiomeDef.cpp23
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)