summaryrefslogtreecommitdiffstats
path: root/src/gui.cpp
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-04 14:04:39 +0100
committersalmonik <salmonik@tuta.io>2026-11-04 14:04:39 +0100
commit8cd07c04efafcd3e927a21152d10e9fafea54517 (patch)
treec89fdf577c90e82080ff5c15982d016cc3f5f7fa /src/gui.cpp
parentAdd ESP, aim, view and movement batch (diff)
downloadhl2h-8cd07c04efafcd3e927a21152d10e9fafea54517.tar.gz
hl2h-8cd07c04efafcd3e927a21152d10e9fafea54517.zip
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.
Diffstat (limited to '')
-rw-r--r--src/gui.cpp8
1 files changed, 4 insertions, 4 deletions
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() {
413 int view = add_card(2, nullptr, "Camera / display", 413 int view = add_card(2, nullptr, "Camera / display",
414 "Camera FOV, viewmodel FOV and monitor gamma.", true); 414 "Camera FOV, viewmodel FOV and monitor gamma.", true);
415 add_slider(view, "Camera FOV", 415 add_slider(view, "Camera FOV",
416 "World camera field of view; 0 keeps the game default (75).", 0, 416 "World camera field of view (40-140; stock 75).", 40, 140,
417 140, &g_fov_camera); 417 &g_fov_camera);
418 add_slider(view, "Viewmodel FOV", 418 add_slider(view, "Viewmodel FOV",
419 "Weapon model field of view; 0 keeps the game default (54).", 0, 419 "Weapon model field of view (20-120; stock 54).", 20, 120,
420 120, &g_fov_viewmodel); 420 &g_fov_viewmodel);
421 add_slider(view, "Gamma x10", 421 add_slider(view, "Gamma x10",
422 "mat_monitorgamma x10: 16 = 1.6, 30 = 3.0, stock is 22.", 16, 30, 422 "mat_monitorgamma x10: 16 = 1.6, 30 = 3.0, stock is 22.", 16, 30,
423 &g_gamma); 423 &g_gamma);