change defaults, add texture
This commit is contained in:
parent
1fe5003028
commit
8a9e9451b7
5 changed files with 107 additions and 105 deletions
|
@ -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();
|
||||
|
|
|
@ -103,7 +103,7 @@ public enum Font implements Identifyable, Displayable {
|
|||
img = null;
|
||||
}
|
||||
if(img == null)
|
||||
throw new IllegalStateException("Konnte erforderliche Schriftart nicht laden");
|
||||
img = new BufferedImage(XGLYPH * 16, YGLYPH * 16, BufferedImage.TYPE_INT_ARGB);
|
||||
int[] data = new int[XGLYPH * 16 * YGLYPH * 16];
|
||||
img.getRGB(0, 0, XGLYPH * 16, YGLYPH * 16, data, 0, XGLYPH * 16);
|
||||
calculate(data, SIZES, XGLYPH, YGLYPH, 0);
|
||||
|
|
BIN
client/src/main/resources/textures/blocks/concrete_plate.png
Normal file
BIN
client/src/main/resources/textures/blocks/concrete_plate.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 252 B |
Loading…
Add table
Add a link
Reference in a new issue