summaryrefslogtreecommitdiffstats
path: root/src/BiomeDef.cpp
diff options
context:
space:
mode:
author12xx12 <44411062+12xx12@users.noreply.github.com>2020-08-12 09:20:38 +0200
committerGitHub <noreply@github.com>2020-08-12 09:20:38 +0200
commit47f7727b7f37972374dea1a7e0da67b7aff9782f (patch)
tree00232ee86a5bd4016bf1a77b97af1e52e6dc7ffd /src/BiomeDef.cpp
parentRemove BountySource from funding sources (diff)
downloadcuberite-47f7727b7f37972374dea1a7e0da67b7aff9782f.tar
cuberite-47f7727b7f37972374dea1a7e0da67b7aff9782f.tar.gz
cuberite-47f7727b7f37972374dea1a7e0da67b7aff9782f.tar.bz2
cuberite-47f7727b7f37972374dea1a7e0da67b7aff9782f.tar.lz
cuberite-47f7727b7f37972374dea1a7e0da67b7aff9782f.tar.xz
cuberite-47f7727b7f37972374dea1a7e0da67b7aff9782f.tar.zst
cuberite-47f7727b7f37972374dea1a7e0da67b7aff9782f.zip
Diffstat (limited to 'src/BiomeDef.cpp')
-rw-r--r--src/BiomeDef.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/BiomeDef.cpp b/src/BiomeDef.cpp
index ebb45f5e9..f56d9c815 100644
--- a/src/BiomeDef.cpp
+++ b/src/BiomeDef.cpp
@@ -246,6 +246,30 @@ bool IsBiomeMountain(EMCSBiome a_Biome)
+bool IsBiomeMesa(EMCSBiome a_Biome)
+{
+ switch (a_Biome)
+ {
+ case biMesa:
+ case biMesaPlateauF:
+ case biMesaPlateau:
+ case biMesaBryce:
+ case biMesaPlateauFM:
+ case biMesaPlateauM:
+ {
+ return true;
+ }
+ default:
+ {
+ return false;
+ }
+ }
+}
+
+
+
+
+
int GetSnowStartHeight(EMCSBiome a_Biome)
{
switch (a_Biome)