Allow more than 255 biomes, document new maximum (#9855)
authorParamat <paramat@users.noreply.github.com>
Wed, 20 May 2020 21:16:14 +0000 (22:16 +0100)
committerGitHub <noreply@github.com>
Wed, 20 May 2020 21:16:14 +0000 (22:16 +0100)
commit42fcfb75e85523a2fa5d99a453c2fabc2c04c0f6
tree5a76856ca96330263cce9fae1985172b671c8324
parentc47a680db7f3c2f241cc444a1257607492872412
Allow more than 255 biomes, document new maximum (#9855)

Change biomemap data type from u8 to u16.
New technical (not practical) maximum is 65535 biomes.
doc/lua_api.txt
src/mapgen/cavegen.cpp
src/mapgen/cavegen.h
src/mapgen/mapgen.h
src/mapgen/mg_biome.h
src/mapgen/mg_decoration.cpp
src/mapgen/mg_decoration.h
src/mapgen/mg_ore.cpp
src/mapgen/mg_ore.h
src/script/lua_api/l_mapgen.cpp
src/script/lua_api/l_mapgen.h