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
d6d8ea5b6b
Throw when getting a frame of an empty replay
2021-04-12 11:17:56 +09:00
b66ef2fdec
Update framework
2021-04-10 02:14:28 +09:00
dfe3240b45
Merge pull request #12353 from nekodex/songselect-hoversamples
...
Add a hover sample type for SongSelect buttons
2021-04-10 01:45:47 +09:00
9aa30fb323
Merge pull request #11688 from Syriiin/diffcalc/dynamic-history
...
Implement dynamic previous hitobject retention for Skill class
2021-04-10 01:25:07 +09:00
affc878db9
Update resources
2021-04-10 01:03:15 +09:00
bfd3d0cce9
Implement custom enumerator for ReverseQueue to avoid allocations
2021-04-10 01:16:54 +10:00
ffacd38e57
Reduce the randomised pitch range of hover sounds
2021-04-09 23:03:14 +09:00
8a0da06e89
Add a hover sample type for SongSelect buttons
2021-04-09 23:00:40 +09:00
1dbc7e821e
Merge branch 'master' into add-slider-whistle
2021-04-09 17:11:48 +09:00
9b0ce2999f
Fix legacy encoder
2021-04-09 15:28:42 +09:00
51fee79ef1
Fix scores not being accepted due to missing ruleset ID
2021-04-09 15:18:02 +09:00
76981f2547
Remove unused using
2021-04-09 13:58:24 +09:00
8293b06c0a
Remove obsolete code
2021-04-09 13:56:58 +09:00
24ae5b9169
Fix slightly incorrect solo score submission routes
2021-04-08 23:15:08 +09:00
1e23f671fa
Merge pull request #12321 from smoogipoo/add-spectate-button-and-state
...
Add multiplayer spectating user state and button
2021-04-08 19:48:58 +09:00
fd2a14a0bf
Only set button state once
2021-04-08 16:31:40 +09:00
a55e62188e
Change state icon to binoculars so the eye isn't staring at me
2021-04-08 15:54:58 +09:00
b73860cb5f
Slightly alter button colour scheme to make text more legible and reduce saturation
2021-04-08 15:47:55 +09:00
8aff53172d
Remove necessity for nested PassThroughInputManger
2021-04-08 15:18:31 +09:00
a8839792fd
Merge branch 'master' into circular-arc-freeze
2021-04-08 14:33:03 +09:00
8cc1e8b8b0
Update framework
2021-04-07 23:11:01 +09:00
2791d454d2
Don't send spectating user state yet
2021-04-07 22:21:22 +09:00
99bee73ac1
Merge branch 'master' into add-spectate-button-and-state
2021-04-07 22:07:52 +09:00
1f4c17b8f8
Apply changes to AllowScreenSuspension bindable
2021-04-07 21:20:44 +09:00
6eb809f4c4
Merge pull request #9194 from boswelja/rebind-song-select
...
Allow rebinding Song Select mods/random/options keys
2021-04-07 20:55:45 +09:00
93c5935ebc
Add match subscreen support + test
2021-04-07 20:46:30 +09:00
5227f2fe0d
Merge branch 'master' into fix-game-mouse-cursor
2021-04-07 20:02:44 +09:00
e7f47c635f
Fix gameplay mouse cursor being overridden by menu cursor
...
Closes https://github.com/ppy/osu/issues/12313 .
2021-04-07 19:00:05 +09:00
0f2c03d54b
Add back "rewind" text, showing temporarily after a rewind occurs
2021-04-07 18:29:45 +09:00
08858e6426
Reorder defaults to give non-global areas priority for global actions
2021-04-07 17:42:49 +09:00
abd637ffaa
Add button to footer
2021-04-07 17:35:18 +09:00
afc745f999
Merge branch 'master' into rebind-song-select
2021-04-07 17:13:25 +09:00
56c13148f1
Fix typo in class name
2021-04-07 16:45:10 +09:00
c744f77cfa
Add participant panel state
2021-04-07 16:40:24 +09:00
6be9c9f0f4
Link up ready button to spectate state
2021-04-07 16:35:50 +09:00
6de91d7b6b
Add spectate button + test
2021-04-06 21:37:27 +09:00
d5ba77b2c2
Add spectating user state
2021-04-06 21:22:28 +09:00
dd902441b0
Add tests for consecutive perfect-curve segments
2021-04-06 13:32:17 +02:00
d81f270e21
Always encode perfect curves as explicit segments
2021-04-06 13:29:31 +02:00
d4c55070e7
Merge pull request #12283 from bdach/setup-screen-design-refresh
...
Refresh setup screen appearance to be closer to design
2021-04-06 18:33:34 +09:00
ba3689b5b9
Merge pull request #12269 from PercyDan54/beatmap-details
...
Use OnlineViewContainer for BeatmapDetails
2021-04-06 17:52:32 +09:00
3113eefcf6
Don't attempt to load content when not online
2021-04-06 17:12:00 +09:00
899d708dac
Move loading layer up one level to correct padding
2021-04-06 17:09:51 +09:00
f08b340e81
Add nullability hinting
2021-04-06 16:49:26 +09:00
2321101518
Merge branch 'master' into fix-overzealousmouse-button-blocking
2021-04-06 16:45:25 +09:00
37e30b00bf
Refactor to keep a consistent API
2021-04-06 16:39:02 +09:00
1934e8e1fe
Fix loading layer being in the wrong place
2021-04-06 16:30:47 +09:00
59e6c46644
Remove unnecessary online state logic
2021-04-06 16:23:27 +09:00
dafa8bbe4e
Refactor BeatmapDetails to use GridContainer to keep a consistent layout
2021-04-06 16:21:20 +09:00