comment cleanup 2, test commit
This commit is contained in:
parent
c528157a0e
commit
6c59ca5d73
1 changed files with 1 additions and 25 deletions
|
@ -471,43 +471,19 @@ public class Game implements IThreadListener {
|
||||||
public void inputGui() {
|
public void inputGui() {
|
||||||
if (this.open != null)
|
if (this.open != null)
|
||||||
{
|
{
|
||||||
// SKC.info("p" + SKC.isBindPressed(SKC.KEY_MENU) + "d" + SKC.isBindDown(SKC.KEY_MENU));
|
|
||||||
// if (SKC.isBindPressed(SKC.KEY_MENU) || (!(this.open instanceof GuiEmpty) && SKC.isBindPressed(SKC.KEY_INVENTORY)))
|
|
||||||
// {
|
|
||||||
//
|
|
||||||
// }
|
|
||||||
// else if(SKC.isBindPressed(SKC.KEY_MENU)) { // && this.open.canClose()) {
|
|
||||||
// this.displayGuiScreen(null);
|
|
||||||
// if(this.open == null)
|
|
||||||
// this.setIngameFocus();
|
|
||||||
// }
|
|
||||||
|
|
||||||
// else { // if(this.open != null) {
|
|
||||||
if(Bind.THROW.isPressed())
|
if(Bind.THROW.isPressed())
|
||||||
this.open.dropItem();
|
this.open.dropItem();
|
||||||
for(int z = 0; z < this.keyBindsHotbar.length; z++) {
|
for(int z = 0; z < this.keyBindsHotbar.length; z++) {
|
||||||
if(this.keyBindsHotbar[z].isPressed())
|
if(this.keyBindsHotbar[z].isPressed())
|
||||||
this.open.useHotbar(z);
|
this.open.useHotbar(z);
|
||||||
}
|
}
|
||||||
// }
|
|
||||||
|
|
||||||
this.primary = this.secondary = this.tertiary = this.quarternary = false;
|
this.primary = this.secondary = this.tertiary = this.quarternary = false;
|
||||||
this.zooming = false;
|
this.zooming = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
else // if (this.open == null)
|
else
|
||||||
{
|
{
|
||||||
// if (SKC.isBindPressed(SKC.KEY_MENU))
|
|
||||||
// {
|
|
||||||
|
|
||||||
// this.displayInGameMenu();
|
|
||||||
// }
|
|
||||||
|
|
||||||
// if (this.keyBindHideGui.isPressed())
|
|
||||||
// {
|
|
||||||
// this.hideGUI = !this.hideGUI;
|
|
||||||
// }
|
|
||||||
|
|
||||||
if (Bind.PERSPECTIVE.isPressed())
|
if (Bind.PERSPECTIVE.isPressed())
|
||||||
{
|
{
|
||||||
++this.thirdPersonView;
|
++this.thirdPersonView;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue