From ba48bf0c302509ea2fa2592856d37f0e949c34d5 Mon Sep 17 00:00:00 2001 From: winterflyt <36+winterflyt@noreply.skidsolutions.xyz> Date: Mon, 30 Nov 2026 05:51:47 +0200 Subject: [PATCH] Upload files to "src/openonyx/features/hud/group_m" --- .../hud/group_m/ArrayListAnimation.java | 43 +++++++++++++++++ .../hud/group_m/ArrayListColorMode.java | 43 +++++++++++++++++ .../features/hud/group_m/ArrayListEntry.java | 48 +++++++++++++++++++ .../hud/group_m/ArrayListSorting.java | 29 +++++++++++ .../features/hud/group_m/ArrayListStyle.java | 29 +++++++++++ 5 files changed, 192 insertions(+) create mode 100644 src/openonyx/features/hud/group_m/ArrayListAnimation.java create mode 100644 src/openonyx/features/hud/group_m/ArrayListColorMode.java create mode 100644 src/openonyx/features/hud/group_m/ArrayListEntry.java create mode 100644 src/openonyx/features/hud/group_m/ArrayListSorting.java create mode 100644 src/openonyx/features/hud/group_m/ArrayListStyle.java diff --git a/src/openonyx/features/hud/group_m/ArrayListAnimation.java b/src/openonyx/features/hud/group_m/ArrayListAnimation.java new file mode 100644 index 0000000..a7b9b07 --- /dev/null +++ b/src/openonyx/features/hud/group_m/ArrayListAnimation.java @@ -0,0 +1,43 @@ +package openonyx.features.hud.group_m; + +import openonyx.history.DisplayNamed; + +public enum ArrayListAnimation implements DisplayNamed { + SLIDE_FADE("Slide + Fade"), + FADE("Fade"), + SLIDE("Slide"), + SCALE("Scale"); + + private final String f; + + public boolean D() { + return this == SCALE; + } + + ArrayListAnimation(String string1) { + this.f = string1; + } + + private static ArrayListAnimation[] L() { + ArrayListAnimation[] arrayListAnimations = new ArrayListAnimation[4]; + boolean bl = true; + arrayListAnimations[0] = SLIDE; + arrayListAnimations[1] = FADE; + arrayListAnimations[2] = SLIDE_FADE; + arrayListAnimations[3] = SCALE; + return arrayListAnimations; + } + + public boolean d() { + return this != SLIDE; + } + + @Override + public String getDisplayName() { + return this.f; + } + + public boolean L() { + return this == SLIDE || this == SLIDE_FADE; + } +} diff --git a/src/openonyx/features/hud/group_m/ArrayListColorMode.java b/src/openonyx/features/hud/group_m/ArrayListColorMode.java new file mode 100644 index 0000000..817a6c2 --- /dev/null +++ b/src/openonyx/features/hud/group_m/ArrayListColorMode.java @@ -0,0 +1,43 @@ +package openonyx.features.hud.group_m; + +import openonyx.history.DisplayNamed; + +public enum ArrayListColorMode implements DisplayNamed { + FADE("Fade"), + STATIC("Static"), + GRADIENT("Gradient"), + CATEGORY("Category"), + RAINBOW("Rainbow"), + ACCENT("Accent"); + + private final String l; + + @Override + public String getDisplayName() { + return this.l; + } + + public boolean d() { + return this == FADE || this == GRADIENT; + } + + ArrayListColorMode(String string1) { + this.l = string1; + } + + private static ArrayListColorMode[] L() { + ArrayListColorMode[] arrayListColorModes = new ArrayListColorMode[6]; + boolean bl = true; + arrayListColorModes[0] = ACCENT; + arrayListColorModes[1] = STATIC; + arrayListColorModes[2] = FADE; + arrayListColorModes[3] = GRADIENT; + arrayListColorModes[4] = RAINBOW; + arrayListColorModes[5] = CATEGORY; + return arrayListColorModes; + } + + public boolean L() { + return this == FADE || this == RAINBOW; + } +} diff --git a/src/openonyx/features/hud/group_m/ArrayListEntry.java b/src/openonyx/features/hud/group_m/ArrayListEntry.java new file mode 100644 index 0000000..557a2a5 --- /dev/null +++ b/src/openonyx/features/hud/group_m/ArrayListEntry.java @@ -0,0 +1,48 @@ +package openonyx.features.hud.group_m; + +import openonyx.render.group_d.Animation; + +public final class ArrayListEntry { + public String I; + public boolean d; + public final Animation animation = new Animation(0.0F); + public int f; + public float H; + public final Animation animation2; + + public ArrayListEntry(float f) { + this.animation2 = new Animation(fx); + } + + public static String decrypt(String string) { + String string1 = string; + int n = --4 << --4 ^ 5; + String string2; + int p = (string2 = string1).length(); + char[] e = new char[p]; + boolean bl = true; + int j; + int o = j = p - 1; + char[] c = e; + byte b = 16; + byte dx = 17; + int k = o; + int i = n; + + while (k >= 0) { + int l = j; + int m = string2.charAt(j); + j--; + c[l] = (char)(m ^ i); + if (j < 0) { + break; + } + + m = j--; + c[m] = (char)(string2.charAt(m) ^ b); + k = j; + } + + return new String(c); + } +} diff --git a/src/openonyx/features/hud/group_m/ArrayListSorting.java b/src/openonyx/features/hud/group_m/ArrayListSorting.java new file mode 100644 index 0000000..3ec8981 --- /dev/null +++ b/src/openonyx/features/hud/group_m/ArrayListSorting.java @@ -0,0 +1,29 @@ +package openonyx.features.hud.group_m; + +import openonyx.history.DisplayNamed; + +public enum ArrayListSorting implements DisplayNamed { + ALPHABETICAL("A-Z"), + WIDTH_DESC("Longest first"), + WIDTH_ASC("Shortest first"); + + private final String e; + + private static ArrayListSorting[] L() { + ArrayListSorting[] arrayListSortings = new ArrayListSorting[3]; + boolean bl = true; + arrayListSortings[0] = WIDTH_DESC; + arrayListSortings[1] = WIDTH_ASC; + arrayListSortings[2] = ALPHABETICAL; + return arrayListSortings; + } + + ArrayListSorting(String string1) { + this.e = string1; + } + + @Override + public String getDisplayName() { + return this.e; + } +} diff --git a/src/openonyx/features/hud/group_m/ArrayListStyle.java b/src/openonyx/features/hud/group_m/ArrayListStyle.java new file mode 100644 index 0000000..37fbaa1 --- /dev/null +++ b/src/openonyx/features/hud/group_m/ArrayListStyle.java @@ -0,0 +1,29 @@ +package openonyx.features.hud.group_m; + +import openonyx.history.DisplayNamed; + +public enum ArrayListStyle implements DisplayNamed { + ACCENT_BAR("Accent Bar"), + PILLS("Pills"), + TEXT("Text"); + + private final String i; + + private static ArrayListStyle[] L() { + ArrayListStyle[] arrayListStyles = new ArrayListStyle[3]; + boolean bl = true; + arrayListStyles[0] = ACCENT_BAR; + arrayListStyles[1] = PILLS; + arrayListStyles[2] = TEXT; + return arrayListStyles; + } + + ArrayListStyle(String string1) { + this.i = string1; + } + + @Override + public String getDisplayName() { + return this.i; + } +}