1
0
Fork 0

improve fov setting

This commit is contained in:
Sen 2025-09-01 17:26:24 +02:00
parent 3bc5181273
commit 0be3f218e5
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
2 changed files with 2 additions and 2 deletions

View file

@ -566,7 +566,7 @@ public class Client implements IThreadListener {
private int lightRange = 32;
@Variable(name = "chunk_light_onload", category = CVarCategory.RENDER, min = 0, max = 32, display = "Licht-Init. / Tick")
private int lightInit = 0;
@Variable(name = "draw_fov", category = CVarCategory.RENDER, min = 1.0f, max = 179.0f, display = "Sichtfeld (FOV)", unit = "°", precision = 1)
@Variable(name = "draw_fov", category = CVarCategory.RENDER, min = 20.0f, max = 160.0f, display = "Sichtfeld (FOV)", unit = "°", precision = 1)
public float fov = 70.0f;
@Variable(name = "draw_wireframe", category = CVarCategory.RENDER, display = "Gitter-Render-Modus")
private boolean wireframe = false;

View file

@ -121,7 +121,7 @@ public class GuiGraphics extends GuiOptions {
}
private String getFovName() {
return this.gm.fov < 25.0f ? "Fernglas" : (this.gm.fov > 120.0f ? "Pro-Gamer TM" : "Normal");
return this.gm.fov <= 30.0f ? "Fernglas" : (this.gm.fov <= 50.0f ? "Adlerauge" : (this.gm.fov >= 150.0f ? "Augenschmerzen" : (this.gm.fov >= 120.0f ? "PC-FPS-Pro TM" : "Normal")));
}
public void updateScreen() {