97 int res = atoi(a_BiomeString.c_str());
98 if ((res != 0) || (a_BiomeString.compare(
"0") == 0))
int GetSnowStartHeight(EMCSBiome a_Biome)
Returns the height when a biome when a biome starts snowing.
bool IsBiomeNoDownfall(EMCSBiome a_Biome)
Returns true if the biome has no downfall - deserts and savannas.
bool IsBiomeVeryCold(EMCSBiome a_Biome)
Returns true if the biome is very cold (has snow on ground everywhere, turns top water to ice,...
bool IsBiomeMountain(EMCSBiome a_Biome)
Returns true if the biome is mountainous (mutations of the extreme hills biome)
EMCSBiome StringToBiome(const AString &a_BiomeString)
Translates a biome string to biome enum.
static struct @0 g_BiomeMap[]
AString BiomeToString(int a_Biome)
Translates biome enum into biome string.
bool IsBiomeMesa(EMCSBiome a_Biome)
Returns true if the biome is Mesa or one of its mutations.
bool IsBiomeCold(EMCSBiome a_Biome)
Returns true if the biome is cold (has snow and snowfall at higher elevations but not at regular heig...
EMCSBiome
Biome IDs The first batch corresponds to the clientside biomes, used by MineCraft.
#define ARRAYCOUNT(X)
Evaluates to the number of elements in an array (compile-time!)
int NoCaseCompare(const AString &s1, const AString &s2)
Case-insensitive string comparison.