mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-22 05:12:16 +00:00
Add a second profiles button to Angelica
This commit is contained in:
1 parent
e7d08a53b6
commit
aff5ff7e7b
5 files changed
+41
-7
No files matched your search
@@ -97,6 +97,7 @@ public class ShaderProperties {
|
||||
@Getter private OptionalBoolean prepareBeforeShadow = OptionalBoolean.DEFAULT;
|
||||
@Getter private List<String> sliderOptions = new ArrayList<>();
|
||||
@Getter private final Map<String, List<String>> profiles = new LinkedHashMap<>();
|
||||
@Getter private final Map<String, List<String>> profiles2 = new LinkedHashMap<>();
|
||||
private List<String> mainScreenOptions = null;
|
||||
@Getter private final Map<String, List<String>> subScreenOptions = new HashMap<>();
|
||||
private Integer mainScreenColumnCount = null;
|
||||
@@ -517,6 +518,7 @@ public class ShaderProperties {
|
||||
// the last definition being used, should be tested if behavior matches OptiFine
|
||||
handleWhitespacedListDirective(key, value, "sliders", sliders -> sliderOptions = sliders);
|
||||
handlePrefixedWhitespacedListDirective("profile.", key, value, profiles::put);
|
||||
handlePrefixedWhitespacedListDirective("profile2.", key, value, profiles2::put);
|
||||
|
||||
if (handleIntDirective(key, value, "screen.columns", columns -> mainScreenColumnCount = columns)) {
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user