Option to hide all objects

This commit is contained in:
yugecin
2016-09-30 23:11:43 +02:00
parent 722180d9ff
commit 5b264a5277
4 changed files with 29 additions and 7 deletions

View File

@@ -1422,12 +1422,14 @@ public class Game extends BasicGameState {
// normal case
if (!loseState) {
gameObj.draw(g, trackPosition, false);
if (Dancer.mirror && GameMod.AUTO.isActive()) {
g.pushTransform();
g.rotate(Options.width / 2f, Options.height / 2f, 180f);
gameObj.draw(g, trackPosition, true);
g.popTransform();
if (!Dancer.hideobjects) {
gameObj.draw(g, trackPosition, false);
if (Dancer.mirror && GameMod.AUTO.isActive()) {
g.pushTransform();
g.rotate(Options.width / 2f, Options.height / 2f, 180f);
gameObj.draw(g, trackPosition, true);
g.popTransform();
}
}
}
// death: make objects "fall" off the screen
@@ -1462,7 +1464,9 @@ public class Game extends BasicGameState {
}
// draw result objects
data.drawHitResults(trackPosition);
if (!Dancer.hideobjects) {
data.drawHitResults(trackPosition);
}
}
/**

View File

@@ -113,12 +113,15 @@ public class OptionsMenu extends BasicGameState {
GameOption.DANCE_CIRCLE_STREAMS,
GameOption.DANCE_ONLY_CIRCLE_STACKS,
GameOption.DANCE_MIRROR,
}),
DANCEDISP ("Dance display", new GameOption[] {
GameOption.DANCE_DRAW_APPROACH,
GameOption.DANCE_OBJECT_COLOR_OVERRIDE,
GameOption.DANCE_OBJECT_COLOR_OVERRIDE_MIRRORED,
GameOption.DANCE_RGB_INC,
GameOption.DANCE_CURSOR_USE_OBJECT_COLOR,
GameOption.DANCE_REMOVE_BG,
GameOption.DANCE_HIDE_OBJECTS,
GameOption.DANCE_HIDE_UI,
}),
PIPPI ("Pippi", new GameOption[] {