Skip to content

Commit 8ee1618

Browse files
Wuzzy2paramat
authored andcommittedOct 25, 2019
Add help texts for settings that lack one (#9007)
1 parent 53ebd80 commit 8ee1618

File tree

1 file changed

+55
-14
lines changed

1 file changed

+55
-14
lines changed
 

‎builtin/settingtypes.txt

+55-14
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,8 @@ keymap_decrease_viewing_range_min (View range decrease key) key -
440440

441441
[**Basic]
442442

443-
# Enable VBO
443+
# Enable vertex buffer objects.
444+
# This should greatly improve graphics performance.
444445
enable_vbo (VBO) bool true
445446

446447
# Whether to fog out the end of the visible area.
@@ -574,21 +575,30 @@ parallax_occlusion_bias (Parallax occlusion bias) float 0.04
574575

575576
[***Waving Nodes]
576577

577-
# Set to true enables waving water.
578+
# Set to true to enable waving liquids (like water).
578579
# Requires shaders to be enabled.
579-
enable_waving_water (Waving water) bool false
580+
enable_waving_water (Waving liquids) bool false
580581

581-
water_wave_height (Waving water wave height) float 1.0
582+
# The maximum height of the surface of waving liquids.
583+
# 1.0 = Wave reaches the top of blocks.
584+
# 0.0 = Wave doesn't move at all.
585+
# Requires waving liquids to be enabled.
586+
water_wave_height (Waving liquids wave height) float 1.0 0.0 1.0
582587

583-
water_wave_length (Waving water wavelength) float 20.0
588+
# Length of liquid waves.
589+
# Requires waving liquids to be enabled.
590+
water_wave_length (Waving liquids wavelength) float 20.0 0.1
584591

585-
water_wave_speed (Waving water wave speed) float 5.0
592+
# How fast liquid waves will move. Higher = faster.
593+
# If negative, liquid waves will move backwards.
594+
# Requires waving liquids to be enabled.
595+
water_wave_speed (Waving liquids wave speed) float 5.0
586596

587-
# Set to true enables waving leaves.
597+
# Set to true to enable waving leaves.
588598
# Requires shaders to be enabled.
589599
enable_waving_leaves (Waving leaves) bool false
590600

591-
# Set to true enables waving plants.
601+
# Set to true to enable waving plants.
592602
# Requires shaders to be enabled.
593603
enable_waving_plants (Waving plants) bool false
594604

@@ -838,27 +848,46 @@ tooltip_show_delay (Tooltip delay) int 400
838848
tooltip_append_itemname (Append item name) bool false
839849

840850
# Whether FreeType fonts are used, requires FreeType support to be compiled in.
851+
# If disabled, bitmap and XML vectors fonts are used instead.
841852
freetype (FreeType fonts) bool true
842853

843-
# Path to TrueTypeFont or bitmap.
854+
# Path to the default font.
855+
# If “freetype” setting is enabled: Must be a TrueType font.
856+
# If “freetype” setting is disabled: Must be a bitmap or XML vectors font.
857+
# The fallback font will be used if the font cannot be loaded.
844858
font_path (Font path) filepath fonts/liberationsans.ttf
845859

860+
# Font size of the default font in point (pt).
846861
font_size (Font size) int 16 1
847862

848-
# Font shadow offset, if 0 then shadow will not be drawn.
863+
# Shadow offset (in pixels) of the default font. If 0, then shadow will not be drawn.
849864
font_shadow (Font shadow) int 1
850865

851-
# Font shadow alpha (opaqueness, between 0 and 255).
866+
# Opaqueness (alpha) of the shadow behind the default font, between 0 and 255.
852867
font_shadow_alpha (Font shadow alpha) int 127 0 255
853868

869+
# Path to the monospace font.
870+
# If “freetype” setting is enabled: Must be a TrueType font.
871+
# If “freetype” setting is disabled: Must be a bitmap or XML vectors font.
872+
# This font is used for e.g. the console and profiler screen.
854873
mono_font_path (Monospace font path) filepath fonts/liberationmono.ttf
855874

875+
# Font size of the monospace font in point (pt).
856876
mono_font_size (Monospace font size) int 15 1
857877

858-
# This font will be used for certain languages.
859-
fallback_font_path (Fallback font) filepath fonts/DroidSansFallbackFull.ttf
878+
# Path of the fallback font.
879+
# If “freetype” setting is enabled: Must be a TrueType font.
880+
# If “freetype” setting is disabled: Must be a bitmap or XML vectors font.
881+
# This font will be used for certain languages or if the default font is unavailable.
882+
fallback_font_path (Fallback font path) filepath fonts/DroidSansFallbackFull.ttf
883+
884+
# Font size of the fallback font in point (pt).
860885
fallback_font_size (Fallback font size) int 15 1
886+
887+
# Shadow offset (in pixels) of the fallback font. If 0, then shadow will not be drawn.
861888
fallback_font_shadow (Fallback font shadow) int 1
889+
890+
# Opaqueness (alpha) of the shadow behind the fallback font, between 0 and 255.
862891
fallback_font_shadow_alpha (Fallback font shadow alpha) int 128 0 255
863892

864893
# Path to save screenshots at.
@@ -883,10 +912,20 @@ enable_console (Enable console window) bool false
883912

884913
[Sound]
885914

915+
# Enables the sound system.
916+
# If disabled, this completely disables all sounds everywhere and the in-game
917+
# sound controls will be non-functional.
918+
# Changing this setting requires a restart.
886919
enable_sound (Sound) bool true
887920

921+
# Volume of all sounds.
922+
# Requires the sound system to be enabled.
888923
sound_volume (Volume) float 0.7 0.0 1.0
889924

925+
# Whether to mute sounds. You can unmute sounds at any time, unless the
926+
# sound system is disabled (enable_sound=false).
927+
# In-game, you can toggle the mute state with the mute key or by using the
928+
# pause menu.
890929
mute_sound (Mute sound) bool false
891930

892931
[Client]
@@ -987,6 +1026,7 @@ remote_media (Remote media) string
9871026

9881027
# Enable/disable running an IPv6 server.
9891028
# Ignored if bind_address is set.
1029+
# Needs enable_ipv6 to be enabled.
9901030
ipv6_server (IPv6 server) bool false
9911031

9921032
[**Advanced]
@@ -1338,7 +1378,8 @@ debug_log_level (Debug log level) enum action ,none,error,warning,action,info,ve
13381378
# debug.txt is only moved if this setting is positive.
13391379
debug_log_size_max (Debug log file size threshold) int 50
13401380

1341-
# IPv6 support.
1381+
# Enable IPv6 support (for both client and server).
1382+
# Required for IPv6 connections to work at all.
13421383
enable_ipv6 (IPv6) bool true
13431384

13441385
[*Advanced]

0 commit comments

Comments
 (0)
Please sign in to comment.