Commit Graph

39399 Commits

Author SHA1 Message Date
d1d56c636a Convert pathTypes to local variable
Not entirely sure what holds the reference to pathTypes now (the binding to`slider.Path.ControlPoints` maybe?), but this does seem to work still.
2021-04-08 01:43:06 +02:00
0a6baf670e Send a warning notification if device is unplugged and low battery
- Uses Xamarin.Essentials in osu.Game.PlayerLoader to check battery level
- Encapsulated battery checking in the public BatteryManager class so battery level and plugged in status can be accessed and edited in TestPlayerLoader
- When checking battery level, catch NotImplementedException thrown by Xamarin.Essentials.Battery on non-mobile platforms
- Added visual unit tests for battery notification
  To mock battery status and level, we had to define a batteryManager object in TestPlayerLoader and add a new function ResetPlayerWithBattery()

Co-Authored-By: Marlina José <marlina@umich.edu>
2021-04-07 15:56:50 -04:00
b8ab1c7682 Track path type changes for PointsInSegment 2021-04-07 17:19:12 +02:00
72a42ceaf7 Merge branch 'multiplayer-spectator-player-grid' into multiplayer-spectator-screen 2021-04-08 00:19:00 +09:00
9d02930709 Add regression test for type changes 2021-04-07 17:18:55 +02:00
5dc939c2f3 More documentation 2021-04-08 00:12:21 +09:00
024adb699c Add test and fix several issues 2021-04-08 00:12:21 +09:00
648a9d5258 Add multiplayer spectator player grid 2021-04-08 00:12:21 +09:00
bdd58103ac Merge pull request #12320 from smoogipoo/apply-screen-suspension-changes
Apply changes to AllowScreenSuspension bindable
2021-04-07 23:52:18 +09:00
544fff5af6 Undo rider EAP changes for the time being 2021-04-07 23:18:45 +09:00
8cc1e8b8b0 Update framework 2021-04-07 23:11:01 +09:00
6fe1b68510 Add a way to retrieve new WorkingBeatmap instances 2021-04-07 22:30:40 +09:00
65014d9596 Merge branch 'apply-screen-suspension-changes' into multiplayer-spectator-screen 2021-04-07 22:28:44 +09:00
214813154b Fix class name 2021-04-07 22:28:22 +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
bab36e529a Update UI with new components 2021-04-07 14:38:43 +02:00
9c4604e3c5 Add example checks 2021-04-07 14:36:53 +02:00
0343ef7f14 Add ruleset-specific checker 2021-04-07 14:36:43 +02:00
b24ce66a0d Add check/issue classes 2021-04-07 14:35:33 +02: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
e667b1fad0 Merge pull request #12316 from peppy/fix-game-mouse-cursor
Fix gameplay mouse cursor being overridden by menu cursor
2021-04-07 20:38:40 +09:00
7d37c4df8c Fix broken osu tests 2021-04-07 20:17:20 +09:00
5227f2fe0d Merge branch 'master' into fix-game-mouse-cursor 2021-04-07 20:02:44 +09:00
17c9890865 Merge pull request #12315 from smoogipoo/fix-typo
Fix typo in class name
2021-04-07 19:03:10 +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
aa424165b3 Fix broken taiko test 2021-04-07 18:45:57 +09:00
0f2c03d54b Add back "rewind" text, showing temporarily after a rewind occurs 2021-04-07 18:29:45 +09:00
b4c6894d13 Add test coverage for song select footer area 2021-04-07 18:29:31 +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
f5667125a0 Remove unnecessary method 2021-04-07 16:37:43 +09:00
6be9c9f0f4 Link up ready button to spectate state 2021-04-07 16:35:50 +09:00
1f57b6884d Add ready button to test scene 2021-04-07 16:30:40 +09:00
10ea575384 Merge pull request #12314 from smoogipoo/fix-slnf
Fix invalid array definition in slnf
2021-04-07 15:55:46 +09:00
ef658e9597 Fix invalid array definition in slnf 2021-04-07 15:54:16 +09:00
1c7aa71b83 Merge pull request #12310 from FamousPig/perfect-curve-undo
Fix consecutive perfect curve segments not being loaded properly
2021-04-06 22:21:01 +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
c5e5f02fbe Merge pull request #12225 from peppy/fix-overzealousmouse-button-blocking
Ensure GlobalActions are handled before anything else game-wide
2021-04-06 17:36:32 +09:00
3113eefcf6 Don't attempt to load content when not online 2021-04-06 17:12:00 +09:00