Skip to content

Commit 7fafe65

Browse files
Wuzzy2SmallJoker
authored andcommitted
All Settings: Set min limit for crtitical settings (#9000)
1 parent 653d7b8 commit 7fafe65

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

builtin/settingtypes.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ always_fly_fast (Always fly and fast) bool true
112112

113113
# The time in seconds it takes between repeated right clicks when holding the right
114114
# mouse button.
115-
repeat_rightclick_time (Rightclick repetition interval) float 0.25
115+
repeat_rightclick_time (Rightclick repetition interval) float 0.25 0.001
116116

117117
# Automatically jump up single-node obstacles.
118118
autojump (Automatic jumping) bool false
@@ -150,7 +150,7 @@ joystick_type (Joystick type) enum auto auto,generic,xbox
150150

151151
# The time in seconds it takes between repeated events
152152
# when holding down a joystick button combination.
153-
repeat_joystick_button_time (Joystick button repetition interval) float 0.17
153+
repeat_joystick_button_time (Joystick button repetition interval) float 0.17 0.001
154154

155155
# The sensitivity of the joystick axes for moving the
156156
# ingame view frustum around.
@@ -597,10 +597,10 @@ arm_inertia (Arm inertia) bool true
597597

598598
# If FPS would go higher than this, limit it by sleeping
599599
# to not waste CPU power for no benefit.
600-
fps_max (Maximum FPS) int 60
600+
fps_max (Maximum FPS) int 60 1
601601

602602
# Maximum FPS when game is paused.
603-
pause_fps_max (FPS in pause menu) int 20
603+
pause_fps_max (FPS in pause menu) int 20 1
604604

605605
# Open the pause menu when the window's focus is lost. Does not pause if a formspec is
606606
# open.
@@ -616,10 +616,10 @@ viewing_range (Viewing range) int 100 20 4000
616616
near_plane (Near clipping plane) float 0.1 0 0.5
617617

618618
# Width component of the initial window size.
619-
screen_w (Screen width) int 1024
619+
screen_w (Screen width) int 1024 1
620620

621621
# Height component of the initial window size.
622-
screen_h (Screen height) int 600
622+
screen_h (Screen height) int 600 1
623623

624624
# Save window size automatically when modified.
625625
autosave_screensize (Autosave screen size) bool true
@@ -806,7 +806,7 @@ menu_clouds (Clouds in menu) bool true
806806
# This will smooth over some of the rough edges, and blend
807807
# pixels when scaling down, at the cost of blurring some
808808
# edge pixels when images are scaled by non-integer sizes.
809-
gui_scaling (GUI scaling) float 1.0
809+
gui_scaling (GUI scaling) float 1.0 0.001
810810

811811
# When gui_scaling_filter is true, all GUI images need to be
812812
# filtered in software, but some images are generated directly
@@ -831,7 +831,7 @@ freetype (FreeType fonts) bool true
831831
# Path to TrueTypeFont or bitmap.
832832
font_path (Font path) filepath fonts/liberationsans.ttf
833833

834-
font_size (Font size) int 16
834+
font_size (Font size) int 16 1
835835

836836
# Font shadow offset, if 0 then shadow will not be drawn.
837837
font_shadow (Font shadow) int 1
@@ -841,11 +841,11 @@ font_shadow_alpha (Font shadow alpha) int 127 0 255
841841

842842
mono_font_path (Monospace font path) filepath fonts/liberationmono.ttf
843843

844-
mono_font_size (Monospace font size) int 15
844+
mono_font_size (Monospace font size) int 15 1
845845

846846
# This font will be used for certain languages.
847847
fallback_font_path (Fallback font) filepath fonts/DroidSansFallbackFull.ttf
848-
fallback_font_size (Fallback font size) int 15
848+
fallback_font_size (Fallback font size) int 15 1
849849
fallback_font_shadow (Fallback font shadow) int 1
850850
fallback_font_shadow_alpha (Fallback font shadow alpha) int 128 0 255
851851

@@ -863,7 +863,7 @@ screenshot_quality (Screenshot quality) int 0 0 100
863863
[*Advanced]
864864

865865
# Adjust dpi configuration to your screen (non X11/Android only) e.g. for 4k screens.
866-
screen_dpi (DPI) int 72
866+
screen_dpi (DPI) int 72 1
867867

868868
# Windows systems only: Start Minetest with the command line window in the background.
869869
# Contains the same information as the file debug.txt (default name).

0 commit comments

Comments
 (0)