Tunnels: Completely disable generation when 'cave width' >= 10.0 (#9093)
authorParamat <paramat@users.noreply.github.com>
Sat, 9 Nov 2019 02:09:52 +0000 (02:09 +0000)
committerGitHub <noreply@github.com>
Sat, 9 Nov 2019 02:09:52 +0000 (02:09 +0000)
commit29a4a8e5af53dfbf1cbec14de4cbe8d807223e1c
tree59cc48a96c8e66346d43a3adc356114d617c1266
parentd11bfa3ef5e8d63068096c52bc2faccba65b0b47
Tunnels: Completely disable generation when 'cave width' >= 10.0 (#9093)

Previously, the only way to disable the 3D noise tunnels was to set
'cave width' > 1.0, however doing so did not disable the very intensive
noise calculations or the generation loop.
All the other types of cave generation (randomwalk caves, caverns)
can already be independently and completely disabled.
This feature is now needed more because the small randomwalk caves are
now available for use as an alternative to the 3D noise tunnels.
builtin/settingtypes.txt
src/mapgen/mapgen.cpp