add option to enable/disable sb
This commit is contained in:
@@ -57,6 +57,7 @@ import com.sun.jna.platform.win32.WinReg;
|
||||
import yugecin.opsudance.*;
|
||||
import yugecin.opsudance.movers.factories.AutoMoverFactory;
|
||||
import yugecin.opsudance.spinners.Spinner;
|
||||
import yugecin.opsudance.ui.SBOverlay;
|
||||
|
||||
/**
|
||||
* Handles all user options.
|
||||
@@ -1022,6 +1023,20 @@ public class Options {
|
||||
}
|
||||
},
|
||||
|
||||
DANCE_ENABLE_SB ("Enable storyboard", "EnableStoryBoard", "Dance storyboard", false) {
|
||||
@Override
|
||||
public void click(GameContainer container) {
|
||||
super.click(container);
|
||||
SBOverlay.isActive = bool;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void read(String s) {
|
||||
super.read(s);
|
||||
SBOverlay.isActive = bool;
|
||||
}
|
||||
},
|
||||
|
||||
DANCE_HIDE_WATERMARK ("Hide watermark", "HideWaterMark", "Hide the githublink in the top left corner of the playfield", false) {
|
||||
@Override
|
||||
public String getValueString() {
|
||||
|
||||
@@ -134,6 +134,7 @@ public class OptionsMenu extends BasicGameState {
|
||||
GameOption.DANCE_REMOVE_BG,
|
||||
GameOption.DANCE_HIDE_OBJECTS,
|
||||
GameOption.DANCE_HIDE_UI,
|
||||
GameOption.DANCE_ENABLE_SB,
|
||||
GameOption.DANCE_HIDE_WATERMARK,
|
||||
}),
|
||||
PIPPI ("Pippi", new GameOption[] {
|
||||
|
||||
Reference in New Issue
Block a user