mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +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
|
@ -34,17 +34,17 @@ extern FlagDesc flagdesc_mapgen_fractal[];
|
|||
|
||||
struct MapgenFractalParams : public MapgenParams
|
||||
{
|
||||
u32 spflags;
|
||||
float cave_width;
|
||||
u16 fractal;
|
||||
u16 iterations;
|
||||
v3f scale;
|
||||
v3f offset;
|
||||
float slice_w;
|
||||
float julia_x;
|
||||
float julia_y;
|
||||
float julia_z;
|
||||
float julia_w;
|
||||
u32 spflags = 0;
|
||||
float cave_width = 0.09f;
|
||||
u16 fractal = 1;
|
||||
u16 iterations = 11;
|
||||
v3f scale = v3f(4096.0, 1024.0, 4096.0);
|
||||
v3f offset = v3f(1.79, 0.0, 0.0);
|
||||
float slice_w = 0.0f;
|
||||
float julia_x = 0.33f;
|
||||
float julia_y = 0.33f;
|
||||
float julia_z = 0.33f;
|
||||
float julia_w = 0.33f;
|
||||
NoiseParams np_seabed;
|
||||
NoiseParams np_filler_depth;
|
||||
NoiseParams np_cave1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue