summaryrefslogtreecommitdiffstats
path: root/src/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/gui.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/gui.cpp b/src/gui.cpp
index 9981f25..aa47868 100644
--- a/src/gui.cpp
+++ b/src/gui.cpp
@@ -401,6 +401,24 @@ static void build_cards() {
401 add_toggle(tint, "Skybox", "Tint the skybox textures.", &g_tint_sky_on); 401 add_toggle(tint, "Skybox", "Tint the skybox textures.", &g_tint_sky_on);
402 add_color(tint, "Sky colour", "Click the swatch to open the picker.", 402 add_color(tint, "Sky colour", "Click the swatch to open the picker.",
403 g_tint_sky_rgb); 403 g_tint_sky_rgb);
404 add_toggle(tint, "Props",
405 "Tint model materials under models/props (map props, static "
406 "and physics).",
407 &g_tint_prop_on);
408 add_color(tint, "Prop colour", "Click the swatch to open the picker.",
409 g_tint_prop_rgb);
410
411 int fog = add_card(2, &g_fog, "Fog",
412 "Override the map's fog colour and distances.", true);
413 add_color(fog, "Colour", "Click the swatch to open the picker.", g_fog_rgb);
414 add_slider(fog, "Start", "Distance in units where fog starts.", 0, 8000,
415 &g_fog_start);
416 add_slider(fog, "End", "Distance in units where fog is fully opaque.", 0,
417 20000, &g_fog_end);
418 add_toggle(fog, "Skybox fog", "Apply the same fog to the 3D skybox.",
419 &g_fog_skybox);
420 add_toggle(fog, "Remove fog",
421 "Disable fog entirely instead of recolouring it.", &g_fog_disable);
404 422
405 int spread = add_card(3, &g_spread, "Spread control", 423 int spread = add_card(3, &g_spread, "Spread control",
406 "Choose a server shot seed that tightens the cone.", 424 "Choose a server shot seed that tightens the cone.",