Skip to content

Conversation

@JordanLongstaff
Copy link
Contributor

@JordanLongstaff JordanLongstaff commented Mar 21, 2025

Only one of the hooks is conditioned on the CVar. I'm wondering if they all should be.

Build Artifacts

@Malkierian
Copy link
Contributor

Oh, right, before I merge this, I'd like you to follow suit with the pattern I've decided to implement with RegisterInitFunc function names being more specific to the feature being registered. They're static, so for now they don't bleed through global scoping, but they're not namespaced, so it would just be a good idea for multiple reasons. Same goes for #5174 and #5178.

@JordanLongstaff
Copy link
Contributor Author

I think I did it right, but I'm re-requesting your review to be sure.

@Malkierian
Copy link
Contributor

I've seen some others just do something like initShadowTag, so if you wanted to change it to something like that for consistency, I wouldn't mind, but as it is would suffice. I don't know that we need to be that picky.

@Malkierian Malkierian merged commit db8440e into HarbourMasters:develop May 23, 2025
6 checks passed
@JordanLongstaff JordanLongstaff deleted the hook-mod-shadow-tag branch May 24, 2025 03:20
krazyjakee pushed a commit to krazyjakee/OOT that referenced this pull request Sep 6, 2025
* Move Shadow Tag Mode hook to its own file

* Rename initFunc
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