Hit error bar changes.

- Always show the bar until no ticks are left.
- Fade out the bar.
- Moved from "Custom" options into "Gameplay".
- Separated drawing from update logic.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han
2015-02-20 15:08:16 -05:00
parent dfeb93d696
commit e6f85e9c5c
3 changed files with 64 additions and 47 deletions

View File

@@ -364,7 +364,7 @@ public class Options {
@Override
public void click(GameContainer container) { themeSongEnabled = !themeSongEnabled; }
},
SHOW_HIT_ERROR_BAR ("Show Hit Error Bar", "Displays hit accuracy information at the bottom of the screen.") {
SHOW_HIT_ERROR_BAR ("Show Hit Error Bar", "Shows precisely how accurate you were with each hit.") {
@Override
public String getValueString() { return showHitErrorBar ? "Yes" : "No"; }
@@ -1057,7 +1057,7 @@ public class Options {
case "PerfectHit":
showPerfectHit = Boolean.parseBoolean(value);
break;
case "HitErrorBar":
case "ScoreMeter":
showHitErrorBar = Boolean.parseBoolean(value);
break;
case "FixedCS":
@@ -1163,7 +1163,7 @@ public class Options {
writer.newLine();
writer.write(String.format("PerfectHit = %b", showPerfectHit));
writer.newLine();
writer.write(String.format("HitErrorBar = %b", showHitErrorBar));
writer.write(String.format("ScoreMeter = %b", showHitErrorBar));
writer.newLine();
writer.write(String.format(Locale.US, "FixedCS = %.1f", fixedCS));
writer.newLine();