From 272541a8bbc1fc63628db8f985eddeb5fdb79e17 Mon Sep 17 00:00:00 2001 From: paramat Date: Wed, 4 Nov 2015 02:18:37 +0000 Subject: [PATCH] Mgfractal: Add documentation to conf.example and settingtypes --- builtin/settingtypes.txt | 64 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 60 insertions(+), 4 deletions(-) diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 6fbc8f2..ef39239 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -812,7 +812,7 @@ liquid_update (Liquid update tick) float 1.0 # Name of map generator to be used when creating a new world. # Creating a world in the main menu will override this. -mg_name (Mapgen name) enum v6 v5,v6,v7,singlenode +mg_name (Mapgen name) enum v6 v5,v6,v7,fractal,singlenode # Water surface level of the world. water_level (Water level) int 1 @@ -885,13 +885,13 @@ mgv5_np_cave2 (Mapgen v5 cave2 noise parameters) noise_params 0, 12, (50, 50, 50 [***Mapgen v6] -# Map generation attributes specific to Mapgen V6. +# Map generation attributes specific to Mapgen v6. # When snowbiomes are enabled jungles are enabled and the jungles flag is ignored. # Flags that are not specified in the flag string are not modified from the default. # Flags starting with "no" are used to explicitly disable them. mgv6_spflags (Mapgen v6 flags) flags jungles,biomeblend,mudflow,snowbiomes jungles,biomeblend,mudflow,snowbiomes,nojungles,nobiomeblend,nomudflow,nosnowbiomes -# Controls size of deserts and beaches in Mapgen V6. +# Controls size of deserts and beaches in Mapgen v6. # When snowbiomes are enabled 'mgv6_freq_desert' is ignored. mgv6_freq_desert (Mapgen v6 desert frequency) float 0.45 mgv6_freq_beach (Mapgen v6 beach frequency) float 0.15 @@ -909,7 +909,8 @@ mgv6_np_trees (Mapgen v6 trees noise parameters) noise_params 0, 1, (125, 125, 1 mgv6_np_apple_trees (Mapgen v6 apple trees noise parameters) noise_params 0, 1, (100, 100, 100), 342902, 3, 0.45, 2.0 [***Mapgen v7] -# Map generation attributes specific to Mapgen V7. + +# Map generation attributes specific to Mapgen v7. # 'ridges' are the rivers. # Flags that are not specified in the flag string are not modified from the default. # Flags starting with "no" are used to explicitly disable them. @@ -927,6 +928,61 @@ mgv7_np_ridge (Mapgen v7 ridge noise parameters) noise_params 0, 1, (100, 100, 1 mgv7_np_cave1 (Mapgen v7 cave1 noise parameters) noise_params 0, 12, (100, 100, 100), 52534, 4, 0.5, 2.0 mgv7_np_cave2 (Mapgen v7 cave2 noise parameters) noise_params 0, 12, (100, 100, 100), 10325, 4, 0.5, 2.0 +[***Mapgen fractal] + +# Map generation attributes specific to Mapgen fractal. +# 'julia' selects a julia set to be generated instead of a mandelbrot set. +# Flags that are not specified in the flag string are not modified from the default. +# Flags starting with "no" are used to explicitly disable them. +mgfractal_spflags (Mapgen fractal flags) flags nojulia julia,nojulia + +# Mandelbrot set: iterations of recursive function. +# Controls scale of finest detail. +mgfractal_m_iterations (Mapgen fractal mandelbrot iterations) int 9 +# +# TODO +# Mandelbrot set: Approximate scale in nodes. +#mgfractal_m_scale (Mapgen fractal mandelbrot scale) v3f (1024.0, 256.0, 1024.0) +# +# Mandelbrot set: Offsets the fractal from world centre. +# Range -2 to 2, multiply by m_scale for actual offset in nodes. +#mgfractal_m_offset (Mapgen fractal mandelbrot offset) v3f (1.75, 0.0, 0.0) + +# Mandelbrot set: W co-ordinate of the generated 3D slice of the 4D shape. +mgfractal_m_slice_w (Mapgen fractal mandelbrot slice w) float 0.0 + +# Julia set: iterations of recursive function. +# Controls scale of finest detail. +mgfractal_j_iterations (Mapgen fractal julia iterations) int 9 +# +# TODO +# Julia set: Approximate scale in nodes. +#mgfractal_j_scale (Mapgen fractal julia scale) v3f (2048.0, 512.0, 2048.0) +# +# Julia set: Offsets the fractal from world centre. +# Range -2 to 2, multiply by j_scale for actual offset in nodes. +#mgfractal_j_offset (Mapgen fractal julia offset) v3f (0.0, 1.0, 0.0) + +# Julia set: W co-ordinate of the generated 3D slice of the 4D shape. +mgfractal_j_slice_w (Mapgen fractal julia slice w) float 0.0 + +# Julia set: X value determining the 4D shape. +mgfractal_julia_x (Mapgen fractal julia x) float 0.33 + +# Julia set: Y value determining the 4D shape. +mgfractal_julia_y (Mapgen fractal julia y) float 0.33 + +# Julia set: Z value determining the 4D shape. +mgfractal_julia_z (Mapgen fractal julia z) float 0.33 + +# Julia set: W value determining the 4D shape. +mgfractal_julia_w (Mapgen fractal julia w) float 0.33 + +mgfractal_np_seabed (Mapgen fractal seabed noise parameters) noise_params -14, 9, (600, 600, 600), 41900, 5, 0.6, 2.0 +mgfractal_np_filler_depth (Mapgen fractal filler depth noise parameters) noise_params 0, 1.2, (150, 150, 150), 261, 3, 0.7, 2.0 +mgfractal_np_cave1 (Mapgen fractal cave1 noise parameters) noise_params 0, 12, (128, 128, 128), 52534, 4, 0.5, 2.0 +mgfractal_np_cave2 (Mapgen fractal cave2 noise parameters) noise_params 0, 12, (128, 128, 128), 10325, 4, 0.5, 2.0 + [*Security] # Prevent mods from doing insecure things like running shell commands.