summaryrefslogtreecommitdiffstats
path: root/src/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/gui.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui.cpp b/src/gui.cpp
index 2f832a2..a38f537 100644
--- a/src/gui.cpp
+++ b/src/gui.cpp
@@ -423,6 +423,13 @@ static void build_cards() {
423 add_toggle(proj, "Blast radius", 423 add_toggle(proj, "Blast radius",
424 "Draw the projectile's damage radius on the ground.", &g_proj_radius); 424 "Draw the projectile's damage radius on the ground.", &g_proj_radius);
425 425
426 int chams = add_card(2, &g_chams, "Chams",
427 "Flat-colour NPC models.", true);
428 add_toggle(chams, "Through walls",
429 "Draw a second pass with the depth test disabled.",
430 &g_chams_walls);
431 add_color(chams, "Colour", "Chams colour.", g_chams_rgb);
432
426 int view = add_card(2, nullptr, "Camera / display", 433 int view = add_card(2, nullptr, "Camera / display",
427 "Camera FOV, viewmodel FOV and HDR brightness.", true); 434 "Camera FOV, viewmodel FOV and HDR brightness.", true);
428 add_slider(view, "Camera FOV", 435 add_slider(view, "Camera FOV",