Add option to do circles in lazy sliders
This commit is contained in:
parent
9d6c413eb7
commit
c58cf824a3
|
@ -932,6 +932,20 @@ public class Options {
|
|||
}
|
||||
},
|
||||
|
||||
DANCE_CIRLCE_IN_LAZY_SLIDERS ("Do circles in lazy sliders", "CircleInLazySlider", "Circle in hitcircle in lazy sliders", Pippi.circleLazySliders) {
|
||||
@Override
|
||||
public void click(GameContainer container) {
|
||||
bool = !bool;
|
||||
Pippi.circleLazySliders = bool;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void read(String s) {
|
||||
super.read(s);
|
||||
Pippi.circleLazySliders = bool;
|
||||
}
|
||||
},
|
||||
|
||||
DANCE_HIDE_UI ("Hide all UI", "HideUI", ".", Dancer.hideui) {
|
||||
@Override
|
||||
public void click(GameContainer container) {
|
||||
|
|
|
@ -114,6 +114,7 @@ public class OptionsMenu extends BasicGameState {
|
|||
GameOption.DANCE_CIRCLE_STREAMS,
|
||||
GameOption.DANCE_ONLY_CIRCLE_STACKS,
|
||||
GameOption.DANCE_CIRLCE_IN_SLOW_SLIDERS,
|
||||
GameOption.DANCE_CIRLCE_IN_LAZY_SLIDERS,
|
||||
GameOption.DANCE_MIRROR,
|
||||
}),
|
||||
DANCEDISP ("Dance display", new GameOption[] {
|
||||
|
|
|
@ -27,12 +27,13 @@ public class Pippi {
|
|||
private static int currentdelta;
|
||||
private static final int targetdelta = 4;
|
||||
|
||||
public static boolean enabled;
|
||||
public static boolean enabled = false;
|
||||
public static int angleInc = 10;
|
||||
public static int angleSliderInc = 50;
|
||||
public static boolean preventWobblyStreams = true;
|
||||
public static boolean followcircleExpand = true;
|
||||
public static boolean circleSlowSliders = true;
|
||||
public static boolean circleSlowSliders = false;
|
||||
public static boolean circleLazySliders = false;
|
||||
|
||||
private static double pippirad;
|
||||
private static double pippiminrad;
|
||||
|
@ -48,6 +49,9 @@ public class Pippi {
|
|||
|
||||
public static void dance(int time, GameObject c, boolean isCurrentLazySlider) {
|
||||
boolean slowSlider = circleSlowSliders && c.isSlider() && (((((Slider) c).pixelLength < 200 || c.getEndTime() - c.getTime() > 400)) || isCurrentLazySlider);
|
||||
if (!slowSlider) {
|
||||
slowSlider = circleLazySliders && isCurrentLazySlider;
|
||||
}
|
||||
if ((!enabled || c.isSpinner()) && !slowSlider) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user