lineofsight:: first commit

This commit is contained in:
Zeno Rogue
2026-07-31 11:26:30 +02:00
parent 1880494dd2
commit 9dbbd113a7
12 changed files with 153 additions and 21 deletions
+8
View File
@@ -1672,6 +1672,14 @@ EX void initConfig() {
}, "stereo/high-FOV mode", 'm')
->set_reaction(reset_all_shaders);
param_enum(lineofsight, "mode-lineofsight", los::none)
->editable({
{"OFF", "You see everything in range, but also everything in range sees you!"},
{"geodesic", "Graph geodesic: any sequence of tiles is OK for line-of-sight as long as there are no shortcuts"},
{"geometric", "Approximations of geometric straight lines."}},
"line-of-sight mode", 'v')
->set_reaction(switchLOS_quiet);
param_f(vid.plevel_factor, "plevel_factor", 0.7);
param_b(nohud, "no-hud", false);