Skip to content

UI overhaul#360

Merged
pap1723 merged 18 commits into
masterfrom
UIOverhaul
May 10, 2026
Merged

UI overhaul#360
pap1723 merged 18 commits into
masterfrom
UIOverhaul

Conversation

@pap1723
Copy link
Copy Markdown
Contributor

@pap1723 pap1723 commented May 10, 2026

No description provided.

jackwrichards and others added 18 commits February 6, 2026 23:20
…nality

- Updated localization string for current engine configuration to be more concise.
- Refactored DrawConfigSelectors method to utilize BuildConfigRows for better structure and clarity in the engine configuration UI.
- Enhanced the configuration row definition structure for better data handling and display.
- Implemented dynamic column width calculation for the configuration table to improve layout adaptability.
- Adjusted GUI styles for the editor panel to enhance visual consistency and usability.
- Implemented GetCurrentFlightData method to retrieve the current flight data for a part.
- Implemented GetMaximumData method to retrieve the maximum data value for a part.
- Added GetDataPercentage method to calculate the percentage of current data relative to maximum data.
- Enhanced reflection logic to safely access TestFlightCore methods.
…Slider Controls

- Set default view to compact mode in EngineConfigGUI.
- Introduced slider for burn time with input field and include ignition toggle.
- Updated survival probability calculations based on slider time in EngineConfigGUI.
- Modified reliability section to display survival probabilities for starting, current, and max data units.
- Improved layout and styling for survival probability display in EngineConfigInfoPanel.
- Refactored simulation controls to include new slider and checkbox for ignition.
- Removed redundant failure rate summary section from EngineConfigInfoPanel.
- Introduced a toggle for switching between percentage and time modes for survival probability calculations.
- Updated the EngineConfigGUI to handle new slider inputs for percentage and time, ensuring values persist across engines.
- Modified the reliability section to display survival probabilities based on the selected mode, adjusting calculations accordingly.
- Enhanced the UI to reflect changes in survival probability display, including dynamic headers and tooltips.
- Updated the simulation controls to accommodate the new mode, allowing users to input either a survival percentage or a burn time.
Replaces the legacy TankWindow with a modernized UI overhaul (RealFuelsWindow). This includes a new Life Support planner, quick-fill engine presets with ratio status indicators, resource locking, and a searchable available propellants list.

The project target framework is also updated to v4.8 to support the new UI components.
Yes, Siimav told me that the proper way to handle this was to do it through the original PR, but I REALLY didn't want to go through the process of disentangling this.

* Added ClickThroughBlocker
* Added a Settings option to have the Engine GUI always open when engine is clicked on
* Moved the TestFlight failures into an external file so they can easily be updated if TF ever changes them
* Fixed the RCS Graphs attempting to open even without TF failures attached to them
* Fixed the propellant consumption math
* Removed the reflection to get the RCS propellants and used GetConsumedResources() instead
* Cached the GUIStyle allocations as static properties to stop the extra calls per frame
* Fixed the issue where engines in symmetry were failing to open the window. The previous design was only trying to access the "first" engine that was placed
* Removed the tech abbreviations
* Moved the remaining items into localization
* Extracted the RP-1 credit information into a separate file
* Added MUCH better RCS / Generic Engine UI to help trigger players to upgrade their RCS levels.
* Fixed an issue where the Tank UI wouldn't work properly on symmetry items
* Fixed the issue where locking a resource did not persist when the UI closed
* Allow direct selection of Liters when adding a new resource to a tank
* Changed the QUICK FILL section to treat the entire row as a button
* Removed the legacy TankWindow.cs and removed the never used RealWindowsPAW code.
@github-actions
Copy link
Copy Markdown

Download the artifacts for this pull request:

@pap1723 pap1723 merged commit da2e352 into master May 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants