summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch')
-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);