-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add an "Adjust pitch" switch to DT/HT #24640
Conversation
Adjust pitch switch in DoubleTime and HalfTime mods Also Nightcore and Daycore is now inherit from RateAdjust
Sorry not sorry for bumping this. I'd love to see this finally added. Is there anything holding back this PR? |
I'm still not sure I like what this does to the mod inheritance. Would request a second opinion. |
I mean the last time this was attempted (#11887), it tried to not do anything to the inheritance, but because So I dunno how else you'd do this at this point. It's a mess. |
Wondering if some of the logic can be split out into a helper method / class to reduce the code share.. |
i think of changing old DT into like DT_Raw, putting all logic here |
I've tidied things up using a helper class with composition structure. @bdach please double-check this. |
I pushed some inline comments (cff69d6) because I was initially confused why |
I guess this would be one way to roll forward with ppy/osu#24640, but there is a chance something somewhere else could have relied on the inheritance and might now break, so not sure whether this should be the solution here... Check is slightly rewritten since it wasn't making much sense to me previously (why add nightcore to allowed mods if double time is selected?)
I guess this would be one way to roll forward with ppy/osu#24640, but there is a chance something somewhere else could have relied on the inheritance and might now break, so not sure whether this should be the solution here... Check is slightly rewritten since it wasn't making much sense to me previously (why add nightcore to allowed mods if double time is selected?)
When turning on the |
Adjust pitch switch in DoubleTime and HalfTime mods.
Also Nightcore and Daycore is now inherit from RateAdjust.