-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement] EasyMaskEquip #755
base: develop
Are you sure you want to change the base?
Conversation
I think this is already in a pretty good working state so I'm just gonna go ahead and change this to ready for review. I don't foresee this having to many issues, but please do report any bugs you may find. |
… plus moved CHECK_GIVEN_MASK_ON_MOON to macros.h
5a50f24
to
4f08dac
Compare
…r is busy with an action
… any mask in the air when wearing a transformation mask
- Streamlined mask selection logic with helper functions - Added grayscale indicators for unavailable masks in the UI - Optimized vertex handling for mask border rendering - Improved game hook integrations for reliable mask equipping - Enhanced code readability and maintainability
…kinian into easymaskequip
…kinian into easymaskequip
I realize ShouldEquipMask may not account for all scenarios, but its a good start. I would need help identifying what else we may need to add. |
… any mask in the air when wearing a transformation mask
- Streamlined mask selection logic with helper functions - Added grayscale indicators for unavailable masks in the UI - Optimized vertex handling for mask border rendering - Improved game hook integrations for reliable mask equipping - Enhanced code readability and maintainability
…k for giant's mask
…kinian into easymaskequip
Co-Authored-By: Garrett Cox <[email protected]>
63 commits later and I think I've gotten this to a state I'm happy with. I don't plan to make any more changes unless the devs request otherwise. Hope yall like it! |
EasyMaskEquip is a feature that allows players to quickly equip masks without needing to assign them to C-buttons or D-pad slots. It simplifies the process by letting players equip masks directly from the pause menu. The enhancement also provides visual feedback by highlighting the currently equipped mask and graying out masks that can't be equipped in certain situations (e.g., underwater or mid-transformation).
This PR introduces the EasyMaskEquip enhancement, allowing players to equip masks directly from the pause menu by pressing the A button.A new OnKaleidoClose hook was added to handle mask equipping when the pause menu is closed. This allows players to change their mask selection if they accidentally select the wrong one, ensuring the mask is only equipped once the pause menu is closed.
This enhancement also utilizes Proxy's BeforeKaleidoDrawPage hook from PR #537 to allocate and update vertex data for the mask equip border.Build Artifacts