v1.4.0: final commit

This commit is contained in:
Evan Debenham
2022-10-03 17:32:18 -04:00
parent 475f44b2f4
commit 2ba1c90c32
3 changed files with 4 additions and 7 deletions

View File

@@ -14,8 +14,8 @@ allprojects {
appName = 'Shattered Pixel Dungeon'
appPackageName = 'com.shatteredpixel.shatteredpixeldungeon'
appVersionCode = 659
appVersionName = '1.4.0-BETA-3'
appVersionCode = 660
appVersionName = '1.4.0'
appJavaCompatibility = JavaVersion.VERSION_1_8

View File

@@ -40,6 +40,7 @@ public class ShatteredPixelDungeon extends Game {
public static final int v1_1_2 = 588;
public static final int v1_2_3 = 628;
public static final int v1_3_2 = 648;
public static final int v1_4_0 = 660;
public ShatteredPixelDungeon( PlatformSupport platform ) {
super( sceneClass == null ? WelcomeScene.class : sceneClass, platform );

View File

@@ -57,7 +57,7 @@ import java.util.Collections;
public class WelcomeScene extends PixelScene {
private static final int LATEST_UPDATE = 650;
private static final int LATEST_UPDATE = ShatteredPixelDungeon.v1_4_0;
//used so that the game does not keep showing the window forever if cleaning fails
private static boolean triedCleaningTemp = false;
@@ -210,10 +210,6 @@ public class WelcomeScene extends PixelScene {
message = Messages.get(this, "what_msg");
}
message = "Greetings Beta Testers!\n\n" +
"The beta for v1.4.0 is now wrapping up! Everything seems to be working well, and I've just added the last few UI tweaks I wanted to for this update.\n\n" +
"Expect v1.4.0 to release very early next week.";
text.text(message, Math.min(w-20, 300));
float textSpace = okay.top() - topRegion - 4;
text.setPos((w - text.width()) / 2f, (topRegion + 2) + (textSpace - text.height())/2);