Christine Chen
6bccb3aab6
Use DI to implement battery detection, add BatteryCutoff property
...
- Removed the Xamarin.Essentials package from osu.Game and added it to osu.iOS and osu.Android only.
- iOS and Android implementations use Xamarin.Essentials.Battery, while the Desktop implementation
only returns 100% battery for now.
- Added a BatteryCutoff property to PowerStatus so it can be different for each platform (default 20%, 25% on iOS)
2021-04-08 19:55:11 -04:00
Dean Herbert
30cae46cbd
Group large drag drop imports into a single operation
2021-03-31 14:57:28 +09:00
Dean Herbert
6eadae8aaf
Remove remnants of OsuTK
2021-03-12 18:35:42 +09:00
Lucas A
d71ac83428
Use StableStorage in ArchiveModelManager.
2021-01-24 19:46:10 +01:00
Lucas A
9a5790cd31
Implement StableStorage class.
2021-01-24 19:18:16 +01:00
Dean Herbert
3f88340304
Restore previous exception handling flow for stable path lookup
2021-01-15 15:17:38 +09:00
Dean Herbert
53da137425
Merge branch 'master' into net5.0
2020-12-10 17:14:21 +09:00
Bartłomiej Dach
c9429632f4
Resolve new NRE inspections
2020-12-01 22:39:10 +01:00
Dean Herbert
285e62be9a
Bring code in line with SDL2 defaults
2020-12-01 17:47:07 +09:00
Roman Kapustin
1feda1152d
Fix InspectCode warnings
2020-11-21 02:06:20 +03:00
Roman Kapustin
1a676ef0d8
Resolve CA1416 properly using new API
2020-11-20 12:06:08 +03:00
Roman Kapustin
044622036c
Disable CA1416
2020-11-20 11:53:17 +03:00
Dean Herbert
efc18887c8
Update framework
2020-11-18 18:01:55 +09:00
Dean Herbert
2e3fdf8116
Update reference to TK game window class
2020-11-09 20:50:36 +09:00
Shane Woolcock
7359c422dd
Hoist icon stream
2020-10-03 12:58:43 +09:30
Shane Woolcock
42f666cd24
Set icon for SDL desktop window
2020-09-29 23:04:03 +09:30
Dean Herbert
dbe9180c55
Rename class and remove screen conditionals
2020-07-24 16:38:48 +09:00
Lucas A
5e6adfff99
Disable windows key only while in gameplay.
2020-07-23 12:45:14 +02:00
Lucas A
fc1eb42a65
Disable windows key while in gameplay.
2020-07-01 17:15:41 +02:00
Shane Woolcock
fca6a6d69f
Implement file drop with DragDrop event
2020-06-12 09:46:21 +09:30
Shane Woolcock
b89dcb6a77
Fix cursor not hiding with SDL2 backend
2020-06-11 13:08:41 +09:30
smoogipoo
8aa8d2c880
Resolve NREs
2020-06-03 16:59:37 +09:00
Dean Herbert
d6840d880a
Update StableStorage implementation in line with framework changes
2020-05-08 10:40:04 +09:00
Dean Herbert
6477a7b73e
Centralise creation of UpdateManagers
2020-03-05 13:34:04 +09:00
Dean Herbert
0a3d339dd9
Load discord RPC asynchronously
2019-12-18 14:07:32 +09:00
Dean Herbert
72acce77b3
Merge branch 'master' into discord-rich-presence
2019-12-18 12:19:54 +09:00
Huo Yaoyuan
144812669d
Use static local functions.
2019-11-12 19:56:54 +08:00
Huo Yaoyuan
64fc5007fc
Use language primitive types.
2019-11-12 19:56:45 +08:00
Dean Herbert
42b6041763
Move post-update notification logic to UpdateManager base class
2019-09-24 18:37:05 +09:00
Dean Herbert
808f77f1b1
Fix version overlay displaying briefly before it should ( #5512 )
...
Fix version overlay displaying briefly before it should
2019-07-30 14:10:24 +09:00
Dean Herbert
a16c0f2aa0
Don't report stable storage msising to sentry
2019-07-30 12:44:08 +09:00
Dean Herbert
f21a2f7e5e
Fix version overlay displaying briefly before it should
2019-07-29 21:49:12 +09:00
Dean Herbert
0580c32263
Abstract intro screen logic to base class
2019-07-09 18:05:57 +09:00
Lucas A
001a7975d5
Merge branch 'user-status-wiring' into discord-rich-presence
2019-06-12 12:04:00 +02:00
Dean Herbert
609a82bc94
Update VisibilityContainer usage in line with framework
2019-06-11 15:13:58 +09:00
Lucas A
e4ad30cc07
Merge branch 'user-status-wiring' into discord-rich-presence
2019-05-14 18:12:25 +02:00
Lucas A
533afaa770
Added DiscordRichPresenceClient
2019-04-19 19:28:38 +02:00
Dean Herbert
612db31c38
Apply newline additions
2019-04-01 12:16:32 +09:00
Dean Herbert
41d776b090
Fix stable import failing
...
Regressed due to null GameHost. Fixes the new reports in #4043 .
2019-03-30 23:56:38 +09:00
Dean Herbert
e2c6a8bc07
Use pattern matching wherever possible
2019-02-28 14:35:00 +09:00
smoogipoo
91302ea0bc
Merge remote-tracking branch 'origin/master' into iscreen
...
# Conflicts:
# osu.Game/Screens/Multi/Match/MatchSubScreen.cs
# osu.Game/Screens/Multi/Multiplayer.cs
# osu.Game/Screens/Multi/MultiplayerSubScreen.cs
# osu.Game/Screens/OsuScreen.cs
# osu.Game/osu.Game.csproj
# osu.sln
2019-01-29 21:21:36 +09:00
smoogipoo
8ea7ec6445
Convert everything to use IScreen
2019-01-24 19:47:44 +09:00
Dean Herbert
8617aaa2a7
Update licence header (and remove year)
2019-01-24 17:43:03 +09:00
Dean Herbert
bfb18b4ffb
Update framework and other nuget packages
2019-01-16 10:14:37 +09:00
Dean Herbert
4a4bc8955d
Fix crash on startup when specifying --no-version-overlay
2018-12-27 20:08:16 +09:00
Dean Herbert
c6d017b503
And some more
2018-12-27 19:23:58 +09:00
smoogipoo
f27bd3ef3e
OpenTK -> osuTK
2018-11-20 17:14:59 +09:00
Dean Herbert
4f1736ceb2
Make squirrel work again
2018-08-01 02:58:39 +09:00
Dean Herbert
7120408a63
Add fallback "updater", which prompts the user to update
2018-07-06 16:46:22 +09:00
Dean Herbert
b8d314a809
Tidy up updater namespace
2018-07-06 16:39:27 +09:00