summaryrefslogtreecommitdiffstats
path: root/src/BiomeDef.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-26 18:17:04 +0100
committerMattes D <github@xoft.cz>2014-10-26 18:17:04 +0100
commitec8c05066600b6c9744f8e9e61650505992bf63f (patch)
tree97effa6f30b65b3b23427e4445cf0496e003dd81 /src/BiomeDef.h
parentMerge pull request #1565 from mc-server/MergedIniFile (diff)
downloadcuberite-ec8c05066600b6c9744f8e9e61650505992bf63f.tar
cuberite-ec8c05066600b6c9744f8e9e61650505992bf63f.tar.gz
cuberite-ec8c05066600b6c9744f8e9e61650505992bf63f.tar.bz2
cuberite-ec8c05066600b6c9744f8e9e61650505992bf63f.tar.lz
cuberite-ec8c05066600b6c9744f8e9e61650505992bf63f.tar.xz
cuberite-ec8c05066600b6c9744f8e9e61650505992bf63f.tar.zst
cuberite-ec8c05066600b6c9744f8e9e61650505992bf63f.zip
Diffstat (limited to 'src/BiomeDef.h')
-rw-r--r--src/BiomeDef.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/BiomeDef.h b/src/BiomeDef.h
index f929596e9..dfab50663 100644
--- a/src/BiomeDef.h
+++ b/src/BiomeDef.h
@@ -113,5 +113,14 @@ extern AString BiomeToString(int a_Biome);
/** Returns true if the biome has no downfall - deserts and savannas */
extern bool IsBiomeNoDownfall(EMCSBiome a_Biome);
+/** Returns true if the biome is very cold
+(has snow on ground everywhere, turns top water to ice, has snowfall instead of rain everywhere).
+Doesn't report mildly cold biomes (where it snows above certain elevation), use IsBiomeCold() for those. */
+extern bool IsBiomeVeryCold(EMCSBiome a_Biome);
+
+/** Returns true if the biome is cold
+(has snow and snowfall at higher elevations but not at regular heights).
+Doesn't report Very Cold biomes, use IsBiomeVeryCold() for those. */
+extern bool IsBiomeCold(EMCSBiome a_Biome);
// tolua_end