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
|
@ -147,12 +147,6 @@ MapgenV6::~MapgenV6()
|
|||
|
||||
MapgenV6Params::MapgenV6Params()
|
||||
{
|
||||
spflags = MGV6_JUNGLES | MGV6_SNOWBIOMES | MGV6_TREES |
|
||||
MGV6_BIOMEBLEND | MGV6_MUDFLOW;
|
||||
|
||||
freq_desert = 0.45;
|
||||
freq_beach = 0.15;
|
||||
|
||||
np_terrain_base = NoiseParams(-4, 20.0, v3f(250.0, 250.0, 250.0), 82341, 5, 0.6, 2.0);
|
||||
np_terrain_higher = NoiseParams(20, 16.0, v3f(500.0, 500.0, 500.0), 85039, 5, 0.6, 2.0);
|
||||
np_steepness = NoiseParams(0.85, 0.5, v3f(125.0, 125.0, 125.0), -932, 5, 0.7, 2.0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue