Albeit extremely performant, osu-tools' hitresult generation does not always generate the most accurate result w.r.t. to given accuracy.
This PR re-implements hitresult generation by utilizing an optimized brute-force to get a result that matches the accuracy as close as possible. This comes to the detriment of performance.
It also adds the method {Mode}PP::generate_state to provide the score state that will be used in performance calculation.
Albeit extremely performant, osu-tools' hitresult generation does not always generate the most accurate result w.r.t. to given accuracy. This PR re-implements hitresult generation by utilizing an optimized brute-force to get a result that matches the accuracy as close as possible. This comes to the detriment of performance. It also adds the method
{Mode}PP::generate_state
to provide the score state that will be used in performance calculation.