Commit Graph

896 Commits

Author SHA1 Message Date
4bc26dbb48 Merge pull request #18743 from smoogipoo/nullable-by-default
Enable NRT by default
2022-06-17 23:18:35 +09:00
1900480d51 Inline animation method 2022-06-17 17:06:06 +09:00
e51babdb96 Change heart animation flow to be more correct 2022-06-17 17:01:11 +09:00
f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
89533fa33d Fix Disclaimer screen handling user change events after initial display
Unnecessary overhead, but also should resolve a production hard crash.
2022-06-16 15:40:20 +09:00
7ac5019c08 Fix intro screens playing exit sounds 2022-06-15 17:37:30 +09:00
6b744a14b0 Move 'back' sample playback from OnResuming to OnExiting 2022-06-15 15:41:28 +09:00
363e7a6f53 Simplify toolbar hiding logic in FirstRunSetupOverlay
Rather than fiddling around with the activation modes, this seems like a
much cleaner way to make things work.

Closes https://github.com/ppy/osu/issues/18277.
2022-05-19 16:42:48 +09:00
22e9620211 Don't block clicks when dragging osu! logo 2022-04-29 12:09:11 +09:00
32ad216669 Allow dragging the osu! logo
Logic borrowed from `NowPlayingOverlay`.
2022-04-28 22:58:34 +09:00
e89441951c Allow any key to trigger the initial osu! cookie 2022-04-23 18:33:43 +02:00
8c6864727e Merge branch 'master' into first-run-setup 2022-04-21 22:14:57 +02:00
832d37b2c2 Update screen transition events to use new event args 2022-04-22 00:52:44 +09:00
7d8cf1bbb6 Merge branch 'master' into first-run-setup 2022-04-21 15:49:39 +09:00
d46329f55a Remove unused dependency 2022-04-20 12:51:55 +09:00
f5863c2030 remove unused import 2022-04-20 13:40:02 +10:00
4f80651606 implement 2a3a0c1 for playlists as well 2022-04-20 10:33:06 +10:00
2a3a0c1cd3 remove notification on trying to multi when logged out
fixes #17877
2022-04-19 18:44:20 +10:00
c4bade0995 Expose MainMenu buttons 2022-04-19 16:36:39 +09:00
bb8b94f8ad Merge branch 'master' into i-notification-overlay 2022-04-19 06:03:56 +09:00
94e892df1c Merge pull request #17862 from peppy/i-dialog-overlay
Split out `IDialogOverlay` to allow for easier testing
2022-04-19 05:24:05 +09:00
043599081b Split out INotificationOverlay to allow for easier testing 2022-04-18 20:14:01 +09:00
e315313266 Split out IDialogOverlay to allow for easier testing 2022-04-18 18:36:26 +09:00
2202863e1a Split out IPerformFromScreenRunner to allow for easier testing 2022-04-18 17:49:28 +09:00
ef5ed262ca Add pitch randomisation to the OsuLogo hover sample 2022-04-15 20:38:47 +09:00
8e6c015856 Use a fallback sample when a MainMenuButton doesn't provide a click sample 2022-04-15 20:38:30 +09:00
c42ef43faa Ensure intro beatmap has protected flag set
In cases this isn't set, the beatmap has likely entered a bad state.

Closes https://github.com/ppy/osu/issues/17659.
2022-04-06 16:46:53 +09:00
36c02573a8 Fix osu! logo being clicked when exiting via cmd-q on initial state 2022-03-30 21:26:30 -07:00
6384531317 Fix LogoVisualisation draw thread safety 2022-03-27 01:43:47 +09:00
416b57ea69 Fix main menu buttons handling keys when super (cmd) is held 2022-03-25 15:13:22 +09:00
816fcae3a1 Rename Button to MainMenuButton to differentiate better 2022-03-25 15:12:39 +09:00
8cbc8b944f Rescope scheduling and improve comment 2022-03-10 17:25:13 +03:00
2c1589e068 Add skinning support for "seeya" sample 2022-03-10 05:52:45 +03:00
b8ee786d77 Add skinning support for "welcome" sample 2022-03-10 05:52:45 +03:00
b38de6e580 Add skinning support for welcome sprite text 2022-03-10 05:52:43 +03:00
7854a0a913 Use double instead of float for UIHoldActivationDelay configuration value
All times use double, so let's also use double here.
2022-03-04 12:22:56 +09:00
33a87976a8 Rewrite to read better
Co-authored-by: Dean Herbert <pe@ppy.sh>
2022-02-24 21:11:49 +01:00
6f29cbccd1 Remove unused using 2022-02-24 10:36:10 +01:00
255b3b067b Remove track fade 2022-02-24 10:13:27 +01:00
2a2b8912c1 Merge branch 'master' into android-allow-exiting 2022-02-24 13:22:52 +09:00
5dd0d48df9 Move the key handling logic to MainMenu and simplify it
Also makes use of the host.SuspendToBackground() return value.
2022-02-23 14:06:22 +01:00
3eee505aa2 Update "exit" flow when pressing back on Android 2022-02-21 20:24:17 +01:00
8d70b85e41 Revert changes 2022-02-21 20:20:24 +01:00
656c58567d Add safeties to skip attempted import of the intro beatmap when osu! ruleset not present
In general running this import will not cause any critical failures, but
the import itself *will* fail – and more loudly with the upcoming
changes to `RulesetStore` (https://github.com/ppy/osu/pull/16890). Due
to it being a loud failure, it will cause the notification overlay to
display a parsing error, which can interrupt the flow of some tests.

See test failure at
https://github.com/ppy/osu/runs/5268848949?check_suite_focus=true as an
example (video coverage at
https://github.com/ppy/osu/pull/16890#issuecomment-1046542243).
2022-02-21 16:21:38 +09:00
7ef710de22 Allow exiting/minimizing on Android when on the initial cookie screen 2022-02-19 18:15:49 +01:00
82806d7aeb Ensure the background is eventually displayed when IntroTriangles suspends 2022-01-30 21:32:39 +09:00
52f1c2bfdb Add failsafe to IntroScreen to stop users with incorrect audio configuration getting stuck
The most common case of this seems to be linux users with incorrect or
unsupported audio driver configurations. It continues to be brought up
in discussions as people are unsure of why their game freezes on
startup, and unable to easily recover.
2022-01-30 18:51:16 +09:00
b87d1a61a8 Fix ButtonSystem null reference crash due to missing null check in delayed animations
```csharp
[runtime] 2022-01-27 07:36:34 [error]: System.NullReferenceException: Object reference not set to an instance of an object.
[runtime] 2022-01-27 07:36:34 [error]: at osu.Game.Screens.Menu.ButtonSystem.<>c__DisplayClass56_0.<updateLogoState>b__1() in /Users/dean/Projects/osu/osu.Game/Screens/Menu/ButtonSystem.cs:line 357
[runtime] 2022-01-27 07:36:34 [error]: at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal()
[runtime] 2022-01-27 07:36:34 [error]: at osu.Framework.Threading.Scheduler.Update()
[runtime] 2022-01-27 07:36:34 [error]: at osu.Framework.Graphics.Drawable.UpdateSubTree()
```
2022-01-27 16:39:38 +09:00
6eb2c28e41 Rename RealmContextFactory to RealmAccess 2022-01-24 20:38:07 +09:00
d7db6fa918 Merge branch 'master' into custom-meter 2022-01-24 15:46:44 +09:00