Dungeongen: Add and improve parameters
authorparamat <mat.gregory@virginmedia.com>
Tue, 21 Feb 2017 01:56:34 +0000 (01:56 +0000)
committerparamat <mat.gregory@virginmedia.com>
Sun, 26 Feb 2017 06:46:14 +0000 (06:46 +0000)
commita901a56859e5beaec6a542eae037dc0b736a20e3
tree0c566b3018494a7d3fec5d230b432bb2891bae79
parent4d634ef675020964413020f6215529670af0091a
Dungeongen: Add and improve parameters

Add:
Bool for 'only_in_ground'.
Min and max corridor length.
Min and max room size with X, Y, Z components.
Min and max large room size with X, Y, Z components.

'only_in_ground = false' allows core mapgens to create structures
in air and water using dungeongen.
Corridor length parameters replace a fixed random range.
Room size parameters replace the former system where one parameter
'roomsize' was added to fixed random ranges.

All parameters are set for no change to current dungeon behaviour.

Remove some now-redundant and long-unused code.
src/dungeongen.cpp
src/dungeongen.h
src/mapgen.cpp
src/mapgen_v6.cpp