fix: Remaining sprite weapon issues and streamline customiser#782
fix: Remaining sprite weapon issues and streamline customiser#782EttyKitty merged 2 commits intoAdeptus-Dominus:mainfrom
Conversation
📝 WalkthroughSummary by CodeRabbit
WalkthroughBy the Omnissiah's will, a series of modifications have been enacted across the sacred scripts. The drawing routines for unit arms and weapon visuals have been refined, purging obsolete conditional logic and standardising data structures for weapon variants. The livery setup ritual has been overhauled, excising the arcane shader previews in favour of a more direct "Update Sprite" invocation, and the user interface logic has been sanctified for clarity and consistency. Additional variables and control flags have been integrated into button constructs, and internal functions now ensure image states are properly reset when colour patterns are altered. Changes
Suggested labels
Suggested reviewers
Machine-spirits appeased, logic circuits engaged—may these changes bring greater efficiency to the forge! 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (5)
🧰 Additional context used📓 Path-based instructions (2)`**/*.gml`: - Macro constants require a space between the constant name and value. Without it, the compiler will throw an error. I.e. `#macro ARR_body_parts["arm"]` will crash the ...
`**/*.*`: - Having humanly understandable and maintainable code is always the top most priority. - DRY (Don't repeat yourself) principle is also very important. - Ensure that the c...
🔇 Additional comments (21)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 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 (
|
Purpose
Describe your changes/additions
What can/needs to be improved/changed
Testing done
Related things and/or additional context