improve fov setting
This commit is contained in:
parent
3bc5181273
commit
0be3f218e5
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue