feat: UI improvements and icons#592
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 📝 WalkthroughSummary by CodeRabbit
WalkthroughThe Machine Spirit has observed several modifications in the sacred repository. The main scr_ui_manage function has been recalibrated, with updated coordinates for the background and tooltip elements, and restructured UI positions to accommodate new graphical data. A new sprite for unit card icons has been introduced, replacing deprecated elements and aligning with the refined layout. Additionally, three sprite resources—spr_button_left, spr_button_middle, and spr_button_right—have been instantiated with defined bounding boxes, collision parameters, and sequence configurations to serve the Menu and Load hierarchy. The resource spr_data_slate_border has been reprocessed; its dimensions and identifiers have been updated to new specifications. No alterations to the declarations of exported or public entities were observed. Suggested reviewers
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
move marine and make new button styles
It's really that simple.
Purpose of changes
I wanted to shift the information over to one side, to make room for larger sprites in the future, while also getting rid of dead space and centralizing information.
Describe the solution
To centralize information, all information was taken from the right side of the unit display and moved over to the left. This PR changes some sprites, and adds a few new ones that help enable a change in the unit card display.
Describe alternatives you've considered
I considered many various views and we talked about options in discord. I did what I considered best for futureproofing along with personal aesthetic preferences.
I considered putting in more time to find a better suited armor symbol. Sadly however I think that what is self explanatory varies from person to person. I could not find icons that satisfied everyone. So, I went with the ones I first created.
Testing done
It works with the game as far as I can tell, and I made sure that all the tooltips work. There are some known errors at the moment that I know of, for example the tooltip doesn't cover the entire icon, only about half.
Related links
None
Custom player notes entry
Some UI changes on how players see marines.