1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 16:12:54 +08:00
osu-lazer/osu.Game/Rulesets/Replays
ekrctb e19e8ff2a3 Rewrite FramedReplayInputHandler for robustness
This commit changes the semantics of `CurrentFrame` and `NextFrame` of the class.
The ordering of `NextFrame.Time` and `CurrentFrame.Time` was dependent on the current direction.
Now, it should always satisfy `CurrentFrame.Time <= CurrentTime <= NextFrame.Time` except at the start/end.
This change, however, doesn't break existing deriving classes if the template code pattern usage of interpolation is used.
The deriving class code can be simplified due to the elimination of nullable types. I didn't include those changes in this commit.

I removed `StreamingFramedReplayInputHandlerTest` for now, as it is almost-duplicate of `FramedReplayInputHandlerTest`. I'll include more tests in later commits.

This commit fixes #6150.
2021-04-12 16:18:11 +09:00
..
Types Rename conversion methods for clarity 2020-03-25 20:21:34 +09:00
AutoGenerator.cs Add a sane key up delay to relax mod 2020-02-14 17:13:50 +09:00
FramedReplayInputHandler.cs Rewrite FramedReplayInputHandler for robustness 2021-04-12 16:18:11 +09:00
IAutoGenerator.cs Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
ReplayFrame.cs Setup all spectator model classes for MessagePack 2021-01-26 16:39:35 +09:00