Skip to content
This repository has been archived by the owner on Jul 15, 2020. It is now read-only.

Commit

Permalink
updated version info
Browse files Browse the repository at this point in the history
  • Loading branch information
00-Evan committed May 10, 2016
1 parent 6365946 commit f628c39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ allprojects {
apply plugin: "eclipse"
apply plugin: "idea"

version = '0.3.3b'
version = '0.3.5a'
ext {
versionCode = 74
versionCode = 99
appName = 'shattered-pixel-dungeon'
appTitle = 'Shattered Pixel Dungeon'
appId = 'com.shatteredpixel.shatteredpixeldungeon'
Expand Down
10 changes: 4 additions & 6 deletions desktop/src/com/watabou/pd/desktop/DesktopLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,23 @@
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.badlogic.gdx.backends.lwjgl.LwjglPreferences;
import com.badlogic.gdx.utils.SharedLibraryLoader;
import com.watabou.input.NoosaInputProcessor;
import com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon;
import com.shatteredpixel.shatteredpixeldungeon.Preferences;
import com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon;
import com.watabou.input.NoosaInputProcessor;
import com.watabou.utils.PDPlatformSupport;

import org.lwjgl.opengl.Display;

public class DesktopLauncher {
public static void main (String[] arg) {
String version = DesktopLauncher.class.getPackage().getSpecificationVersion();
if (version == null) {
version = "0.3.3b";
version = "0.3.5a";
}

int versionCode;
try {
versionCode = Integer.parseInt(DesktopLauncher.class.getPackage().getImplementationVersion());
} catch (NumberFormatException e) {
versionCode = 74;
versionCode = 99;
}

LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
Expand Down

0 comments on commit f628c39

Please sign in to comment.