Add GUI setting for shading trees on slopes in viewports

Deafult on, only for non-map mode
(Slope shading is always on in map mode)
This commit is contained in:
Jonathan G Rennison
2021-02-26 18:03:00 +00:00
parent 4ef363422a
commit 93f2d5e056
5 changed files with 25 additions and 1 deletions

View File

@@ -5094,6 +5094,15 @@ strval = STR_CONFIG_SETTING_VEHICLE_NAMES_TRADITIONAL
proc = RedrawScreen
cat = SC_BASIC
[SDTC_BOOL]
var = gui.shade_trees_on_slopes
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
def = true
str = STR_CONFIG_SETTING_SHADED_TREES_ON_SLOPES
strhelp = STR_CONFIG_SETTING_SHADED_TREES_ON_SLOPES_HELPTEXT
proc = RedrawScreen
cat = SC_BASIC
; For the dedicated build we'll enable dates in logs by default.
[SDTC_BOOL]
ifdef = DEDICATED