WTF
This commit is contained in:
parent
df1f20e364
commit
7d9c258992
|
@ -83,19 +83,19 @@ public class GuiScreen extends Screen {
|
||||||
gui.buttons.clear();
|
gui.buttons.clear();
|
||||||
gui.minecraft.setCurrentScreen(gui);
|
gui.minecraft.setCurrentScreen(gui);
|
||||||
}
|
}
|
||||||
|
GL11.updateDisplay();
|
||||||
for(int var1 = 0; var1 < 5; var1++) {
|
for(int var1 = 0; var1 < 3; var1++) {
|
||||||
minecraft.width = GL11.parent.getClientWidth();
|
minecraft.width = GL11.parent.getClientWidth();
|
||||||
minecraft.height = GL11.parent.getClientHeight();
|
minecraft.height = GL11.parent.getClientHeight();
|
||||||
GL11.canvas.setWidth(minecraft.width);
|
GL11.canvas.setWidth(minecraft.width);
|
||||||
GL11.canvas.setHeight(minecraft.height);
|
GL11.canvas.setHeight(minecraft.height);
|
||||||
minecraft.hud = null;
|
minecraft.hud = null;
|
||||||
|
}
|
||||||
|
GL11.updateDisplay();
|
||||||
HUDScreen hud = new HUDScreen(minecraft, minecraft.width, minecraft.height);
|
HUDScreen hud = new HUDScreen(minecraft, minecraft.width, minecraft.height);
|
||||||
hud.render(minecraft.timer.delta, minecraft.currentScreen != null, GL11.mouseGetX() * minecraft.width * 240 / minecraft.height / minecraft.width, minecraft.height * 240 / minecraft.height - GL11.mouseGetY() * minecraft.height * 240 / minecraft.height / minecraft.height - 1);
|
hud.render(minecraft.timer.delta, minecraft.currentScreen != null, GL11.mouseGetX() * minecraft.width * 240 / minecraft.height / minecraft.width, minecraft.height * 240 / minecraft.height - GL11.mouseGetY() * minecraft.height * 240 / minecraft.height / minecraft.height - 1);
|
||||||
minecraft.hud = hud;
|
minecraft.hud = hud;
|
||||||
}
|
}
|
||||||
GL11.updateDisplay();
|
|
||||||
}
|
|
||||||
|
|
||||||
public final void open(Minecraft var1, int var2, int var3) {
|
public final void open(Minecraft var1, int var2, int var3) {
|
||||||
this.minecraft = var1;
|
this.minecraft = var1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user