Skip to content

Commit

Permalink
Tanks v1.5.1 - bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aehmttw committed Mar 25, 2023
1 parent b71bffa commit fb35991
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/java/tanks/Game.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public enum Framework {lwjgl, libgdx}
public static double[][] tilesDepth = new double[28][18];

//Remember to change the version in android's build.gradle and ios's robovm.properties
public static final String version = "Tanks v1.5.0";
public static final String version = "Tanks v1.5.1";
public static final int network_protocol = 50;
public static boolean debug = false;
public static boolean traceAllRays = false;
Expand Down
7 changes: 7 additions & 0 deletions src/main/java/tanks/gui/screen/ScreenChangelog.java
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,13 @@ public static void setupLogs()
}
);

new Changelog("v1.5.1", new String[]
{
"*What's new in Tanks v1.5.1:\n\n" +
"Bug fixes\n"
}
);

}
}
}
4 changes: 2 additions & 2 deletions src/main/java/tanks/gui/screen/ScreenCrusadeStats.java
Original file line number Diff line number Diff line change
Expand Up @@ -649,9 +649,9 @@ else if (this.view == View.levels)
this.showRecordButton.fullInfo = true;

if (this.showRecord)
this.showRecordButton.image = "/icons/nostar.png";
this.showRecordButton.image = "icons/nostar.png";
else
this.showRecordButton.image = "/icons/star.png";
this.showRecordButton.image = "icons/star.png";

this.showRecordButton.imageSizeX = 25;
this.showRecordButton.imageSizeY = 25;
Expand Down
6 changes: 5 additions & 1 deletion src/main/java/tanks/gui/screen/ScreenOverlayControls.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ public ScreenOverlayControls()
mouseTargetHeight.enabled = false;
}

Button back = new Button(Drawing.drawing.interfaceSizeX / 6, Drawing.drawing.interfaceSizeY / 2 + 360, this.objWidth, this.objHeight, "Back", () -> Game.screen = new ScreenOptions()
Button back = new Button(Drawing.drawing.interfaceSizeX / 6, Drawing.drawing.interfaceSizeY / 2 + 360, this.objWidth, this.objHeight, "Back", () ->
{
Game.screen = new ScreenOptions();
Game.game.input.save();
}
);

Button mouseTarget = new Button(Drawing.drawing.interfaceSizeX / 6, Drawing.drawing.interfaceSizeY / 2 + 150, this.objWidth, this.objHeight, "", new Runnable()
Expand Down

0 comments on commit fb35991

Please sign in to comment.