mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Cpp11 initializers 2 (#5999)
* C++11 patchset 10: continue cleanup on constructors * Drop obsolete bool MainMenuData::enable_public (setting is called with cURL in server loop) * More classes cleanup * More classes cleanup + change NULL tests to boolean tests
This commit is contained in:
parent
76be103a91
commit
8f7785771b
59 changed files with 326 additions and 639 deletions
|
@ -127,16 +127,6 @@ MapgenValleys::~MapgenValleys()
|
|||
|
||||
MapgenValleysParams::MapgenValleysParams()
|
||||
{
|
||||
spflags = MGVALLEYS_HUMID_RIVERS | MGVALLEYS_ALT_CHILL;
|
||||
altitude_chill = 90; // The altitude at which temperature drops by 20C.
|
||||
large_cave_depth = -33;
|
||||
lava_features = 0; // How often water will occur in caves.
|
||||
massive_cave_depth = -256; // highest altitude of massive caves
|
||||
river_depth = 4; // How deep to carve river channels.
|
||||
river_size = 5; // How wide to make rivers.
|
||||
water_features = 0; // How often water will occur in caves.
|
||||
cave_width = 0.09;
|
||||
|
||||
np_cave1 = NoiseParams(0, 12, v3f(61, 61, 61), 52534, 3, 0.5, 2.0);
|
||||
np_cave2 = NoiseParams(0, 12, v3f(67, 67, 67), 10325, 3, 0.5, 2.0);
|
||||
np_filler_depth = NoiseParams(0.f, 1.2f, v3f(256, 256, 256), 1605, 3, 0.5f, 2.f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue