aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2015-11-04 23:07:29 +0000
committerparamat <mat.gregory@virginmedia.com>2015-11-05 00:53:39 +0000
commit732cabee193c101fb59c9f3a6c181b32d77fe37d (patch)
tree732bda0f35765c494a5e8c3edb78191b9eb05423
parentc75ab521153b928e6718d7d3ac4c2104f13ac1e4 (diff)
downloadminetest-732cabee193c101fb59c9f3a6c181b32d77fe37d.tar.gz
minetest-732cabee193c101fb59c9f3a6c181b32d77fe37d.tar.bz2
minetest-732cabee193c101fb59c9f3a6c181b32d77fe37d.zip
Settingtypes: Correct documentation for mgfractal
Use type 'string' for v3fs and add comments
-rw-r--r--builtin/settingtypes.txt26
1 files changed, 16 insertions, 10 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index ef39239df..9ddf5b5ae 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -939,14 +939,17 @@ 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)
-#
+# Format is 3 numbers separated by commas, inside brackets.
+mgfractal_m_scale (Mapgen fractal mandelbrot scale) string (1024.0, 256.0, 1024.0)
+# 'string' is currently used for a v3f argument.
+
# Mandelbrot set: Offsets the fractal from world centre.
+# Format is 3 numbers separated by commas, inside brackets.
# 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)
+mgfractal_m_offset (Mapgen fractal mandelbrot offset) string (1.75, 0.0, 0.0)
+# 'string' is currently used for a v3f argument.
# 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
@@ -954,14 +957,17 @@ 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)
-#
+# Format is 3 numbers separated by commas, inside brackets.
+mgfractal_j_scale (Mapgen fractal julia scale) string (2048.0, 512.0, 2048.0)
+# 'string' is currently used for a v3f argument.
+
# Julia set: Offsets the fractal from world centre.
+# Format is 3 numbers separated by commas, inside brackets.
# 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)
+mgfractal_j_offset (Mapgen fractal julia offset) string (0.0, 1.0, 0.0)
+# 'string' is currently used for a v3f argument.
# 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