summaryrefslogtreecommitdiffstats
path: root/src/BiomeDef.h
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.h
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 '')
-rw-r--r--src/BiomeDef.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/BiomeDef.h b/src/BiomeDef.h
index 888e3bb19..f8dea3e9f 100644
--- a/src/BiomeDef.h
+++ b/src/BiomeDef.h
@@ -154,6 +154,9 @@ extern bool IsBiomeCold(EMCSBiome a_Biome);
/** Returns true if the biome is mountainous (mutations of the extreme hills biome) */
extern bool IsBiomeMountain(EMCSBiome a_Biome);
+/** Returns true if the biome is Mesa or one of its mutations. */
+extern bool IsBiomeMesa(EMCSBiome a_Biome);
+
/** Returns the height when a biome when a biome starts snowing. */
extern int GetSnowStartHeight(EMCSBiome a_Biome);