1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-21 11:55:43 +02:00

Mgv7 floatlands: Add exponent parameter

Allows more control over shape of floatland mountain terrain.
Terrain shape is unchanged.
This commit is contained in:
paramat
2017-12-24 22:38:35 +00:00
committed by paramat
parent f3b9d87076
commit 2aad3be2cb
2 changed files with 44 additions and 37 deletions

View File

@@ -42,6 +42,7 @@ struct MapgenV7Params : public MapgenParams {
s16 lava_depth = -256;
float float_mount_density = 0.6f;
float float_mount_height = 128.0f;
float float_mount_exponent = 0.75f;
s16 floatland_level = 1280;
s16 shadow_limit = 1024;
s16 cavern_limit = -256;
@@ -95,6 +96,7 @@ private:
s16 large_cave_depth;
float float_mount_density;
float float_mount_height;
float float_mount_exponent;
s16 floatland_level;
s16 shadow_limit;