diff options
author | madmaxoft <github@xoft.cz> | 2014-04-29 15:36:05 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-29 15:36:05 +0200 |
commit | 5d33ce226ff95b527b0e5e620078bf79b0bb11b9 (patch) | |
tree | 030fe19618dc8e6566cea04923c6cf4e17777d07 /src/BiomeDef.h | |
parent | Fixed ProtoProxy. (diff) | |
download | cuberite-5d33ce226ff95b527b0e5e620078bf79b0bb11b9.tar cuberite-5d33ce226ff95b527b0e5e620078bf79b0bb11b9.tar.gz cuberite-5d33ce226ff95b527b0e5e620078bf79b0bb11b9.tar.bz2 cuberite-5d33ce226ff95b527b0e5e620078bf79b0bb11b9.tar.lz cuberite-5d33ce226ff95b527b0e5e620078bf79b0bb11b9.tar.xz cuberite-5d33ce226ff95b527b0e5e620078bf79b0bb11b9.tar.zst cuberite-5d33ce226ff95b527b0e5e620078bf79b0bb11b9.zip |
Diffstat (limited to 'src/BiomeDef.h')
-rw-r--r-- | src/BiomeDef.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/BiomeDef.h b/src/BiomeDef.h index 474d4df76..67916890d 100644 --- a/src/BiomeDef.h +++ b/src/BiomeDef.h @@ -104,10 +104,13 @@ enum EMCSBiome biMaxVariantBiome = biNumVariantBiomes - 1, // The maximum biome value } ; -/// Translates a biome string to biome enum. Takes either a number or a biome alias (built-in). Returns biInvalidBiome on failure. +/** Translates a biome string to biome enum. Takes either a number or a biome alias (built-in). Returns biInvalidBiome on failure. */ extern EMCSBiome StringToBiome(const AString & a_BiomeString); -/// Returns true if the biome has no downfall - deserts and savannas +/** Translates biome enum into biome string. Returns empty string on failure (unknown biome). */ +extern AString BiomeToString(int a_Biome); + +/** Returns true if the biome has no downfall - deserts and savannas */ extern bool IsBiomeNoDownfall(EMCSBiome a_Biome); |