Skip to content
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 support for the auto sample addition bank in the editor #29648

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

OliBomby
Copy link
Contributor

Requires:

UX works identical to osu! stable for addition samples only.

The implementation adds a new boolean property EditorAutoBank to HitSampleInfo. This seems like the best solution because it doesn't ever set the actual sample bank to auto, so the HitSampleInfo always has the correct bank and it doesn't need to inherit the bank before the deciphering the hitsound to play. With this the flow for gameplay is unchanged.

An alternative implementation where you set the HitSampleInfo.Bank to auto would require you to figure out the actual bank before playing the sample. This seems like a messier solution.
chrome_fEJHPxya9O
(idk how to embed the diff in a fancy way)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants