From 8cd07c04efafcd3e927a21152d10e9fafea54517 Mon Sep 17 00:00:00 2001 From: salmonik Date: Wed, 4 Nov 2026 14:04:39 +0100 Subject: Transitions: per-trigger targets and 3D wireframe; FOV range fixes - Each changelevel trigger now shows its own target map. The trigger whose target is the map we came from is marked "<- map"; the forward one is "-> map". No more appending one global previous-map line to every box. - Draw the volume as a projected 8-corner / 12-edge wireframe with the tag above its highest visible corner instead of a screen-space rectangle. - Camera FOV is 40..140 (stock 75) and viewmodel FOV 20..120 (stock 54); 0 is no longer allowed and old configs using 0 migrate to the stock value. - Log the mat_monitorgamma readback via ICvar so we can tell whether the command is rejected or the OS/compositor ignores the gamma ramp. --- src/gui.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui.cpp') diff --git a/src/gui.cpp b/src/gui.cpp index 974347a..88e5521 100644 --- a/src/gui.cpp +++ b/src/gui.cpp @@ -413,11 +413,11 @@ static void build_cards() { int view = add_card(2, nullptr, "Camera / display", "Camera FOV, viewmodel FOV and monitor gamma.", true); add_slider(view, "Camera FOV", - "World camera field of view; 0 keeps the game default (75).", 0, - 140, &g_fov_camera); + "World camera field of view (40-140; stock 75).", 40, 140, + &g_fov_camera); add_slider(view, "Viewmodel FOV", - "Weapon model field of view; 0 keeps the game default (54).", 0, - 120, &g_fov_viewmodel); + "Weapon model field of view (20-120; stock 54).", 20, 120, + &g_fov_viewmodel); add_slider(view, "Gamma x10", "mat_monitorgamma x10: 16 = 1.6, 30 = 3.0, stock is 22.", 16, 30, &g_gamma); -- cgit v1.2.3