mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 22:16:01 +00:00
0.11.0
This commit is contained in:
1 parent
63535e6b3d
commit
aadd309397
20 files changed
+228
-101
No files matched your search
@@ -28,6 +28,7 @@ import java.util.Locale;
|
||||
public class MovementWindow {
|
||||
|
||||
private static WindowOpenState wasOpen = WindowOpenState.UNKNOWN;
|
||||
private static boolean wasDocked = false;
|
||||
|
||||
public static void render() {
|
||||
if (!Flashback.getConfig().openedWindows.contains("movement")) {
|
||||
@@ -43,7 +44,13 @@ public class MovementWindow {
|
||||
FlashbackConfig config = Flashback.getConfig();
|
||||
|
||||
ImGui.setNextWindowSizeConstraints(250, 50, 5000, 5000);
|
||||
if (ImGui.begin("Movement###Movement", ImGuiWindowFlags.AlwaysAutoResize | ImGuiWindowFlags.NoFocusOnAppearing)) {
|
||||
int flags = ImGuiWindowFlags.NoFocusOnAppearing;
|
||||
if (!wasDocked) {
|
||||
flags |= ImGuiWindowFlags.AlwaysAutoResize;
|
||||
}
|
||||
if (ImGui.begin("Movement###Movement", flags)) {
|
||||
wasDocked = ImGui.isWindowDocked();
|
||||
|
||||
int[] direction = new int[]{config.flightCameraDirection ? 1 : 0};
|
||||
|
||||
ImGuiHelper.combo("Direction", direction, new String[]{
|
||||
|
||||
@@ -67,7 +67,6 @@ public class StartExportWindow {
|
||||
|
||||
private static String installedIncompatibleModsString = null;
|
||||
private static final List<String> potentialIncompatibleMods = List.of(
|
||||
"essential", // causes a crash due to casting the DeltaTracker without an instanceof
|
||||
"g4mespeed", // causes rendering issues due to overriding partial tick time
|
||||
"feather" // causes miscellaneous crashes and issues that are impossible to debug
|
||||
);
|
||||
|
||||
@@ -292,6 +292,8 @@ public class VisualsWindow {
|
||||
}
|
||||
}
|
||||
|
||||
visuals.overrideWeatherMode = ImGuiHelper.enumCombo("Weather", visuals.overrideWeatherMode);
|
||||
|
||||
ImGuiHelper.separatorWithText("Other");
|
||||
|
||||
if (ImGui.checkbox("Rule of Thirds Guide", visuals.ruleOfThirdsGuide)) {
|
||||
|
||||
Reference in new issue
Block a user