From ba2f0c6229870fd7c1d0b0f530dd1567d43e4e03 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 27 May 2012 10:51:04 +0000 Subject: Added the CheckerBoardBiomes parameter for setting biomes that CheckerBoard generates (#179). Added string-to-biome conversion (#183). Added OreNests to default Structures configuration. git-svn-id: http://mc-server.googlecode.com/svn/trunk@506 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/BlockID.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/BlockID.h') diff --git a/source/BlockID.h b/source/BlockID.h index 323319fcb..ec7bb70ac 100644 --- a/source/BlockID.h +++ b/source/BlockID.h @@ -440,9 +440,12 @@ enum -// Translates a blocktype string into blocktype. Takes either a number or an items.ini alias as input. Returns -1 on failure. +/// Translates a blocktype string into blocktype. Takes either a number or an items.ini alias as input. Returns -1 on failure. extern int BlockStringToType(const AString & a_BlockTypeString); +/// Translates a biome string to biome enum. Takes either a number or a biome alias (built-in). Returns -1 on failure. +extern EMCSBiome StringToBiome(const AString & a_BiomeString); + -- cgit v1.2.3