gui cheat overlay
This commit is contained in:
parent
d629e8fb7b
commit
424cf782bc
19 changed files with 74 additions and 3005 deletions
|
@ -61,14 +61,13 @@ import game.future.ListenableFuture;
|
|||
import game.future.ListenableFutureTask;
|
||||
import game.gui.Font;
|
||||
import game.gui.Gui;
|
||||
import game.gui.GuiCheat;
|
||||
import game.gui.GuiConsole;
|
||||
import game.gui.GuiContainer;
|
||||
import game.gui.GuiGameOver;
|
||||
import game.gui.GuiInfo;
|
||||
import game.gui.GuiInventory;
|
||||
import game.gui.GuiMenu;
|
||||
import game.gui.Style;
|
||||
import game.gui.container.GuiContainer;
|
||||
import game.gui.container.GuiInventory;
|
||||
import game.init.BlockRegistry;
|
||||
import game.init.Config;
|
||||
import game.init.EntityRegistry;
|
||||
|
@ -1116,9 +1115,9 @@ public class Game implements IThreadListener {
|
|||
{
|
||||
gui = GuiGameOver.INSTANCE;
|
||||
}
|
||||
else if(gui == null && this.open instanceof GuiInventory && this.itemCheat) {
|
||||
gui = new GuiCheat();
|
||||
}
|
||||
// else if(gui == null && this.open instanceof GuiInventory && this.itemCheat) {
|
||||
// gui = new GuiCheat();
|
||||
// }
|
||||
|
||||
this.open = gui;
|
||||
if (gui != null)
|
||||
|
@ -2142,7 +2141,7 @@ public class Game implements IThreadListener {
|
|||
if(this.thePlayer.isRiding() && this.thePlayer.vehicle instanceof EntityHorse)
|
||||
this.thePlayer.sendHorseInventory();
|
||||
else
|
||||
this.displayGuiScreen(this.itemCheat ? new GuiCheat() : new GuiInventory(this.thePlayer));
|
||||
this.displayGuiScreen(/* this.itemCheat ? new GuiCheat() : */ new GuiInventory(this.thePlayer));
|
||||
}
|
||||
}
|
||||
if(Bind.SHOW.isPressed()) {
|
||||
|
@ -2998,7 +2997,7 @@ public class Game implements IThreadListener {
|
|||
WCF.glLineWidth(1.0F);
|
||||
GlState.disableTexture2D();
|
||||
GlState.depthMask(false);
|
||||
GlState.color(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
// GlState.color(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
WCF.glPushMatrix();
|
||||
// WCF.glMatrixMode(5888);
|
||||
// WCF.glLoadIdentity();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue