Map generation limit: Make per-world
authorparamat <mat.gregory@virginmedia.com>
Thu, 23 Mar 2017 00:18:59 +0000 (00:18 +0000)
committerparamat <mat.gregory@virginmedia.com>
Mon, 27 Mar 2017 02:18:09 +0000 (03:18 +0100)
commitec0c4d33db9e0b7b3e541757e34c04c08c3b48c9
treea1d31e46b60906c71c9aa29a0588d6016b63f6d3
parent09f2cd0264993e7b81d84d77bfc670b40ef82444
Map generation limit: Make per-world

The setting limits map generation but affects nothing else.
Add 'mapgen_limit' to global mapgen parameters.
Move 'blockpos_over_mapgen_limit()' to the only place it is called
from: map.cpp.
Allow teleportation to any part of the world even if over the set
mapgen limit.
Simplify the reading of this limit in mgvalleys.
Remove the 'map_generation_limit' setting.
builtin/game/chatcommands.lua
builtin/settingtypes.txt
minetest.conf.example
src/defaultsettings.cpp
src/map.cpp
src/map.h
src/mapblock.h
src/mapgen.cpp
src/mapgen.h
src/mapgen_valleys.cpp
src/mapgen_valleys.h