1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-16 19:23:11 +08:00
Files
osu-lazer/osu.Game.Rulesets.Catch/Difficulty/Preprocessing
T
wulpine 7a9d31adb6 Move osu!catch movement diffcalc to an evaluator (#32655)
* Move osu!catch movement state into `CatchDifficultyHitObject`

In order to port `Movement` to an evaluator, the state has to be either
moved elsewhere or calculated inside the evaluator. The latter requires
backtracking for every hit object, which in the worst case is continued
until the beginning of the map is reached. Limiting backtracking can
lead to difficulty value changes.

Thus, the first option was chosen for its simplicity.

* Move osu!catch movement difficulty calculation to an evaluator

Makes the code more in line with the other game modes.

* Add documentation for `CatchDifficultyHitObject` fields

---------

Co-authored-by: James Wilson <tsunyoku@gmail.com>
7a9d31adb6 · 2025-04-10 15:47:11 +00:00
History
..