Commit Graph

662 Commits

Author SHA1 Message Date
45d537ef72 Fix potential multiplayer crash with async disposal 2022-03-10 18:50:53 +09:00
f1c40bd9ed Rework GetScore() method signatures + implementations
Rename legacy-facing overload to mention as much
2022-03-08 22:30:44 +09:00
387ae59bc4 Fix nullref in tests 2022-02-25 16:12:25 +09:00
48ed9c6144 Enable high chat polling rate 2022-02-25 16:03:56 +09:00
f9d9ad388b Add chat display to multiplayer spectator screen 2022-02-25 16:03:28 +09:00
bb1aa032bd Combine SelectedItem and CurrentPlaylistItem into same storage 2022-02-24 16:21:20 +09:00
bdc3b76df0 Remove beatmap bindable from PlaylistItem 2022-02-15 23:50:08 +09:00
efeba30b9f Remove ruleset and mod bindables from PlaylistItem 2022-02-15 16:28:15 +09:00
18251c9285 Clean up SpectatorScreen based on suggestions 2022-02-09 12:20:07 +09:00
ffc4c64f7e Unify namings across the board 2022-02-09 12:10:07 +09:00
886d1d2df6 Refactorings 2022-02-08 21:29:43 +09:00
4c76027178 Rename completed state to passed 2022-02-08 20:29:49 +09:00
45b3f472ab Merge branch 'master' into spectator-state-rework 2022-02-08 19:51:50 +09:00
c2416c490e Fix crash on disconnection during multi-spectate 2022-02-08 11:29:39 +09:00
d5269ba05b Merge branch 'fix-spectator-restart-crash' into spectator-state-rework 2022-02-04 17:59:18 +09:00
0473c6c52f Also handle null SelectedItem for safety 2022-02-04 17:53:51 +09:00
b41655d5b9 Fix crash when gameplay starts while in multi-spectator screen 2022-02-04 17:47:41 +09:00
f285060148 Fix MultiSpectatorScreen not continuing to results 2022-02-03 21:50:19 +09:00
483977d5c8 Merge branch 'master' into spectator-state-rework 2022-02-03 19:59:07 +09:00
b5fb3b7dae Fix crash when selecting swap mod as freemod 2022-02-02 18:42:22 +09:00
781cb9f18d Move HasPassed/HasFailed into GameplayState 2022-02-01 14:46:24 +09:00
a49a9ed0a0 Fix incorrect invoke 2022-01-31 17:19:04 +09:00
3ec193d47e Fix spectator clock container incorrectly starting catch-up clock 2022-01-30 01:46:10 +03:00
4f4f60248f Add failing test case 2022-01-30 01:46:10 +03:00
493a970ed5 Remove unused AudioManager 2022-01-19 14:08:21 +09:00
671a3d47b8 Move bindable binding to LoadComplete and remove unnecessary unbind 2022-01-15 21:20:27 +09:00
ea8e49c543 Reorder private/protected methods 2022-01-15 21:19:02 +09:00
7e9b5dd150 Add audio feedback for host change in multiplayer 2022-01-14 18:11:00 +09:00
675bdd3213 Fix MultiplayerMatchSubScreen mutating mods outside of bindable lease
As seen at https://github.com/peppy/osu/runs/4674501626?check_suite_focus=true.
2022-01-01 12:13:59 +09:00
7de43e3aba Fix most open compound words in identifiers being closed 2021-12-27 20:26:28 -08:00
a43cc20ae2 Apply changes to GameplayCompleted from reviews 2021-12-24 21:58:20 +09:00
c6854b37c8 Unbind event on disposal 2021-12-24 21:58:09 +09:00
727335dcad Improve reliability of exiting gameplay 2021-12-24 14:23:09 +09:00
4ce61d4260 Directly bind to room updates
Currently doesn't really cause any difference, however it may in the
future if we decide the queueing algorithm shouldn't update PlaylistOrder
when an item has been played.
2021-12-21 18:40:29 +09:00
a34d24fb20 Disallow expired items from showing delete button
This isn't possible in practice since expired items are removed from the
queue list, but this helps out in tests.
2021-12-21 18:37:42 +09:00
51b7e920c0 Fix delete button being able to show on current item 2021-12-21 16:57:58 +09:00
d08b66a5ff Also add logging to OnlinePlayScreen 2021-12-21 15:07:06 +09:00
ddadf3c4b5 Add logging of MultiplayerMatchSubScreen exiting from room loss 2021-12-21 14:53:24 +09:00
6907a9a3cc Name some screen stacks for better logging context 2021-12-20 18:24:14 +09:00
cd8dfac625 Merge pull request #16097 from smoogipoo/forego-resetting-spectate-state
Don't reset spectating state if spectator exited after gameplay finishes
2021-12-15 22:30:41 +09:00
33cf4ba7f6 Merge pull request #16075 from smoogipoo/prevent-idle-transition-during-load
Add AbortGameplay() to fix state transition race conditions during multiplayer load
2021-12-15 19:59:19 +09:00
9e82a3e79a Merge branch 'master' into forego-resetting-spectate-state 2021-12-15 18:05:06 +09:00
18d7b79207 Don't reset spectating state if gameplay is finished 2021-12-15 17:40:30 +09:00
740a6f16c7 Fix exception when updating the room's visual playlist 2021-12-15 16:53:25 +09:00
9ade8069a1 Rename to AbortGameplay() and handle additional states 2021-12-15 06:40:28 +09:00
2f1dc91211 Add AbortLoad() method to abort gameplay loads 2021-12-14 11:30:42 +09:00
70045494ba Re-simplify code by removing BeatmapManager event instead 2021-12-13 16:09:54 +09:00
a6e77f172d Add some comments 2021-12-12 16:30:37 +09:00
d6c08fae48 Fix incorrect global beatmap with availability changes 2021-12-11 23:08:21 +09:00
25b274c323 Fix starting gameplay too early after import 2021-12-11 22:47:50 +09:00