diff options
Diffstat (limited to '')
-rw-r--r-- | src/BiomeDef.cpp | 24 |
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) |