1
0
Fork 0

change defaults, add texture

This commit is contained in:
Sen 2025-06-30 21:06:13 +02:00
parent 1fe5003028
commit 8a9e9451b7
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
5 changed files with 107 additions and 105 deletions

View file

@ -432,7 +432,7 @@ public class Client implements IThreadListener {
private int scale = 1;
@Variable(name = "gui_scale", category = CVarCategory.GUI, min = 1, max = 5, display = "Skalierung", unit = "x", callback = RedrawFunction.class)
private int scaleVar = 1;
private int scaleVar = 2;
@Variable(name = "phy_sensitivity", category = CVarCategory.INPUT, min = 0.01f, max = 10.0f, display = "Mausempfindlichkeit", precision = 2, unit = "%")
public float sensitivity = 1.0f;
@ -475,10 +475,10 @@ public class Client implements IThreadListener {
@Variable(name = "gui_scroll_lines", category = CVarCategory.GUI, min = 1, max = 10, display = "Scrollbreite", unit = "Zeilen")
public int scrollLines = 3;
@Variable(name = "gui_font", category = CVarCategory.GUI, display = "Schriftart", callback = FontFunction.class)
public Font font = Font.LARGE;
public Font font = Font.SMALL;
@Variable(name = "draw_downfall_range", category = CVarCategory.RENDER, min = 0, max = 15, display = "Niederschlag-Radius")
public int downfallRange = 10;
public int downfallRange = 4;
@Variable(name = "draw_rain_particle_range", category = CVarCategory.RENDER, min = 0, max = 25, display = "Regen-Partikel-Radius")
public int rainParticleRange = 10;
@ -636,6 +636,8 @@ public class Client implements IThreadListener {
public void refreshResources()
{
Font.unload();
Font.load(this.font);
this.textureManager.onReload();
ColormapLoader.reload();
this.modelManager.onReload();
@ -2250,7 +2252,7 @@ public class Client implements IThreadListener {
this.registerDebug();
System.gc();
System.gc();
Font.load(Font.LARGE);
Font.load(this.font);
GlState.enableBlend();
GlState.blendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
this.initConsole();