summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-12-31 02:45:03 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-12-31 02:45:03 +0100
commit262e589f1c42dc647aba5e7cfe82b43bf446fdab (patch)
tree66225f7d5fee8f9fb6e733e9922510528fc020d8 /core/src/ch/asynk/rustanddust
parent5b359edb7a575838ba7ccc33fb5eefd946915b0d (diff)
downloadRustAndDust-262e589f1c42dc647aba5e7cfe82b43bf446fdab.zip
RustAndDust-262e589f1c42dc647aba5e7cfe82b43bf446fdab.tar.gz
Options: remove 'Automatic Path' option
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r--core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java3
-rw-r--r--core/src/ch/asynk/rustanddust/menu/OptionsMenu.java19
2 files changed, 8 insertions, 14 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java b/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java
index 858d4ad..65b599a 100644
--- a/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java
+++ b/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java
@@ -13,7 +13,6 @@ import ch.asynk.rustanddust.ui.Position;
public class OptionsPanel extends Patch
{
private String [] checkStrings = {
- "Automatic Path",
};
private String [] fxStrings = { "OFF", "10%", "20%", "30%", "40%", "50%", "60%", "70%", "80%", "90%", "ON" };
@@ -123,7 +122,6 @@ public class OptionsPanel extends Patch
private void getValues()
{
- checkValues[0] = game.config.autoPath;
fxVolumeIdx = (int) (game.config.fxVolume * 10);
fxVolumeValue.write(fxStrings[fxVolumeIdx], fxVolumeValue.getX(), fxVolumeValue.getY());
}
@@ -157,7 +155,6 @@ public class OptionsPanel extends Patch
public void apply()
{
- game.config.autoPath = checkValues[0];
}
@Override
diff --git a/core/src/ch/asynk/rustanddust/menu/OptionsMenu.java b/core/src/ch/asynk/rustanddust/menu/OptionsMenu.java
index e80d995..e3ff8cf 100644
--- a/core/src/ch/asynk/rustanddust/menu/OptionsMenu.java
+++ b/core/src/ch/asynk/rustanddust/menu/OptionsMenu.java
@@ -24,7 +24,6 @@ public class OptionsMenu extends Patch
private String [] checkStrings = {
"Debug",
- "Automatic Path",
"Show Enemy Possibilities",
"Show Moves Assists",
"Show Targets",
@@ -77,11 +76,10 @@ public class OptionsMenu extends Patch
private void getValues()
{
- checkValues[5] = game.config.showMoves;
- checkValues[4] = game.config.showTargets;
- checkValues[3] = game.config.showMoveAssists;
- checkValues[2] = game.config.showEnemyPossibilities;
- checkValues[1] = game.config.autoPath;
+ checkValues[4] = game.config.showMoves;
+ checkValues[3] = game.config.showTargets;
+ checkValues[2] = game.config.showMoveAssists;
+ checkValues[1] = game.config.showEnemyPossibilities;
checkValues[0] = game.config.debug;
fxVolumeIdx = (int) (game.config.fxVolume * 10);
fxVolumeValue.write(fxStrings[fxVolumeIdx], fxVolumeValue.getX(), fxVolumeValue.getY());
@@ -91,11 +89,10 @@ public class OptionsMenu extends Patch
private boolean apply()
{
- game.config.showMoves = checkValues[5];
- game.config.showTargets = checkValues[4];
- game.config.showMoveAssists = checkValues[3];
- game.config.showEnemyPossibilities = checkValues[2];
- game.config.autoPath = checkValues[1];
+ game.config.showMoves = checkValues[4];
+ game.config.showTargets = checkValues[3];
+ game.config.showMoveAssists = checkValues[2];
+ game.config.showEnemyPossibilities = checkValues[1];
game.config.debug = checkValues[0];
game.config.fxVolume = (fxVolumeIdx / 10.0f);
game.config.graphics = game.config.graphics.get(graphicsIdx);