This PR restores the modern options GUI to version 1.12.2.
While testing it, I noticed two bugs that I couldn't figure out, but they're pretty rare in real-world use cases.
When the GUI is set to AUTO, all pages are broken. I "fixed" this by setting the maximum possible scale when AUTO is selected. (So this could be considered as fixed ?)
When the GUI scale is too large, for example, if I set 3x at my full-screen resolution and then change the window size to something smaller where 3x scale wouldn't be possible, pages with a vertical scroll bar get broken. I don't know if this is a bug in my port or if it is caused by the vanilla GuiScreen.
I wired up the options states to Celeritas and tried to implement new features such as the CPU Render-ahead limit. Features that are missing in 1.12.2, I marked as disabled. The question is if we should delete them or someday you will implement them ?
Another problem is that 1.10.2 is not buildable after these changes, should I mark all gui code with stonecutter or try making 1.10.2 work ?? I don't know how much 1.10.2 vanilla gui code is different from 1.12.2.
This PR restores the modern options GUI to version 1.12.2.
While testing it, I noticed two bugs that I couldn't figure out, but they're pretty rare in real-world use cases.
1. When the GUI is set to AUTO, all pages are broken. I "fixed" this by setting the maximum possible scale when AUTO is selected. (So this could be considered as fixed ?)
2. When the GUI scale is too large, for example, if I set 3x at my full-screen resolution and then change the window size to something smaller where 3x scale wouldn't be possible, pages with a vertical scroll bar get broken. I don't know if this is a bug in my port or if it is caused by the vanilla GuiScreen.
I wired up the options states to Celeritas and tried to implement new features such as the CPU Render-ahead limit. Features that are missing in 1.12.2, I marked as disabled. The question is if we should delete them or someday you will implement them ?
Another problem is that 1.10.2 is not buildable after these changes, should I mark all gui code with stonecutter or try making 1.10.2 work ?? I don't know how much 1.10.2 vanilla gui code is different from 1.12.2.
A bunch of this needs to be moved into the common project in the future (i.e. I do not want to duplicate the implementation a third time for 1.7.10). But that doesn't need to block this PR.
A bunch of this needs to be moved into the common project in the future (i.e. I do not want to duplicate the implementation a third time for 1.7.10). But that doesn't need to block this PR.
embeddedt
merged commit 91ef370b84 into stonecutter2025-08-04 12:29:10 -04:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR restores the modern options GUI to version 1.12.2.
While testing it, I noticed two bugs that I couldn't figure out, but they're pretty rare in real-world use cases.
I wired up the options states to Celeritas and tried to implement new features such as the CPU Render-ahead limit. Features that are missing in 1.12.2, I marked as disabled. The question is if we should delete them or someday you will implement them ?
Another problem is that 1.10.2 is not buildable after these changes, should I mark all gui code with stonecutter or try making 1.10.2 work ?? I don't know how much 1.10.2 vanilla gui code is different from 1.12.2.
A bunch of this needs to be moved into the common project in the future (i.e. I do not want to duplicate the implementation a third time for 1.7.10). But that doesn't need to block this PR.