Added Clean Callback Setting to GuiReplaySettings
This commit is contained in:
@@ -98,9 +98,9 @@ public class GuiConstants {
|
||||
public static final int REPLAY_SETTINGS_SEND_CHAT = 9006;
|
||||
public static final int REPLAY_SETTINGS_FORCE_LINEAR = 9007;
|
||||
public static final int REPLAY_SETTINGS_ENABLE_LIGHTING = 9008;
|
||||
public static final int REPLAY_SETTINGS_RESOURCEPACK_ID = 9010;
|
||||
public static final int REPLAY_SETTINGS_INDICATOR_ID = 9012;
|
||||
public static final int REPLAY_SETTINGS_PATHPREVIEW_ID = 9013;
|
||||
public static final int REPLAY_SETTINGS_CLEARCALLBACK_ID = 9014;
|
||||
|
||||
public static final int REPLAY_EDITING_CANCEL_BUTTON = 1234;
|
||||
}
|
||||
|
||||
@@ -77,13 +77,13 @@ public class GuiReplaySettings extends GuiScreen {
|
||||
I18n.format("replaymod.gui.settings.interpolation.linear"), I18n.format("replaymod.gui.settings.interpolation.cubic"));
|
||||
buttonList.add(linearButton);
|
||||
|
||||
} else if(o == ReplayOptions.useResources) {
|
||||
GuiToggleButton resourcePackButton = new GuiSettingsOnOffButton(REPLAY_SETTINGS_RESOURCEPACK_ID, xPos, yPos, 150, 20, o);
|
||||
buttonList.add(resourcePackButton);
|
||||
|
||||
} else if(o == ReplayOptions.previewPath) {
|
||||
GuiToggleButton pathPreviewButton = new GuiSettingsOnOffButton(REPLAY_SETTINGS_PATHPREVIEW_ID, xPos, yPos, 150, 20, o);
|
||||
buttonList.add(pathPreviewButton);
|
||||
|
||||
} else if(o == ReplayOptions.keyframeCleanCallback) {
|
||||
GuiToggleButton keyframeClearCallbackButton = new GuiSettingsOnOffButton(REPLAY_SETTINGS_CLEARCALLBACK_ID, xPos, yPos, 150, 20, o);
|
||||
buttonList.add(keyframeClearCallbackButton);
|
||||
}
|
||||
|
||||
++i;
|
||||
|
||||
@@ -211,7 +211,6 @@ public class ReplaySettings {
|
||||
public enum ReplayOptions implements ValueEnum {
|
||||
linear(false, "replaymod.gui.settings.interpolation"),
|
||||
lighting(false, "replaymod.gui.settings.lighting"),
|
||||
useResources(true, "replaymod.gui.settings.resources"),
|
||||
previewPath(false, "replaymod.gui.settings.pathpreview"),
|
||||
keyframeCleanCallback(true, "replaymod.gui.settings.keyframecleancallback");
|
||||
|
||||
@@ -238,7 +237,6 @@ public class ReplaySettings {
|
||||
}
|
||||
|
||||
public enum RenderOptions implements ValueEnum {
|
||||
videoQuality(0.5f, "replaymod.gui.settings.quality"),
|
||||
videoFramerate(30, "replaymod.gui.settings.framerate"),
|
||||
waitForChunks(true, "replaymod.gui.settings.forcechunks");
|
||||
|
||||
|
||||
@@ -221,7 +221,7 @@ replaymod.gui.settings.forcechunks=Force Render Chunks
|
||||
replaymod.gui.settings.resources=Server Resource Packs
|
||||
replaymod.gui.settings.interpolation=Path Interpolation
|
||||
replaymod.gui.settings.pathpreview=Show Path Preview
|
||||
replaymod.gui.settings.keyframecleancallback=Clearing Keyframes confirmation
|
||||
replaymod.gui.settings.keyframecleancallback=Clear Confirmation
|
||||
|
||||
replaymod.gui.settings.videoquality.draft=Draft
|
||||
replaymod.gui.settings.videoquality.normal=Normal
|
||||
|
||||
Reference in New Issue
Block a user