summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-05-04 02:05:57 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-05-04 02:05:57 +0200
commit09c0730b0f4c938195b6d51ce12a0ef4329b4d1b (patch)
tree6337c8d51240840d61bda513030f3656e253356d
parenteb474d91126ba5fbf5f2824fd0b32cd2c0f2535d (diff)
downloadRustAndDust-26.zip
RustAndDust-26.tar.gz
ok, I fucked up, path optimisation is not ready yetv26
-rw-r--r--android/AndroidManifest.xml2
-rw-r--r--core/src/ch/asynk/rustanddust/engine/PathBuilder.java4
-rw-r--r--core/src/ch/asynk/rustanddust/screens/MenuScreen.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml
index 19db4d2..9c7dc15 100644
--- a/android/AndroidManifest.xml
+++ b/android/AndroidManifest.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="ch.asynk.rustanddust.android"
- android:versionCode="25"
+ android:versionCode="26"
android:versionName="1.0.1" >
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="20" />
diff --git a/core/src/ch/asynk/rustanddust/engine/PathBuilder.java b/core/src/ch/asynk/rustanddust/engine/PathBuilder.java
index 35eb997..cae1d94 100644
--- a/core/src/ch/asynk/rustanddust/engine/PathBuilder.java
+++ b/core/src/ch/asynk/rustanddust/engine/PathBuilder.java
@@ -115,8 +115,8 @@ public class PathBuilder implements Disposable
} else {
this.distance = board.distance(from, to);
findAllPaths(from, pawn.getMovementPoints(), 0, true);
- for (Tile t : objectives)
- toggleCtrlTile(t, false);
+ // for (Tile t : objectives)
+ // toggleCtrlTile(t, false);
}
// printToErr("paths", paths);
diff --git a/core/src/ch/asynk/rustanddust/screens/MenuScreen.java b/core/src/ch/asynk/rustanddust/screens/MenuScreen.java
index b89a904..e90d0ad 100644
--- a/core/src/ch/asynk/rustanddust/screens/MenuScreen.java
+++ b/core/src/ch/asynk/rustanddust/screens/MenuScreen.java
@@ -77,7 +77,7 @@ public class MenuScreen implements Screen
this.geFlag = new Sprite(game.getUiRegion(game.UI_GE_FLAG));
this.versionLabel = new Label(game.font);
- this.versionLabel.write("v25");
+ this.versionLabel.write("v26");
this.ctrl = new MenuCtrl(game);
Gdx.input.setInputProcessor(new InputAdapter() {