Commit Graph

21063 Commits

Author SHA1 Message Date
5903c3be90 Fix inaccurate xmldoc 2020-11-01 14:39:10 +01:00
6bfff43634 Extract StatisticCounter to a separate class and use it instead. 2020-11-01 13:25:36 +01:00
f3e0480e77 Merge branch 'master' into fix-beatmap-details-metadata-bounce 2020-10-31 17:36:40 +01:00
79f47953a8 Migrate existing call to new flag parameter 2020-10-31 16:08:27 +01:00
19023e7d43 Fix player restart invoking user-level pause 2020-10-31 16:08:15 +01:00
941e8525af Add flag parameter to allow non-user-pause via music controller 2020-10-31 16:07:54 +01:00
a9a3489e92 Fix potential null reference when loading background
As seen in
https://discordapp.com/channels/188630481301012481/188630652340404224/772094427342569493.
Caused due to async load of the loader, which means it may not be ready
before Next() is called.
2020-10-31 22:51:35 +09:00
007c27d3ff Schedule visibility update once per frame 2020-10-31 14:45:11 +01:00
d74c19e2d7 Shorten show/hide code 2020-10-31 13:54:02 +01:00
3322b8a7ea Run OnSelectionChanged() on each change 2020-10-31 13:54:02 +01:00
003994ab75 Bind UpdateVisibility() directly to source of truth 2020-10-31 13:54:02 +01:00
129b1bc6d3 Delete all selected objects if shift-clicked on one 2020-10-31 11:46:25 +01:00
6a293dd536 Add missing ctor parameters back 2020-10-31 18:56:30 +09:00
979eb1685b Merge branch 'master' into results-screen-applause 2020-10-31 18:47:49 +09:00
78842ab95a Improve look & behaviour of background transitions 2020-10-30 22:40:24 +01:00
391dd73843 Fix typo in comment 2020-10-30 22:39:34 +01:00
38cf90a69b Change background to seasonal right after login 2020-10-30 22:03:26 +01:00
29ad099902 Allow to fetch if going online after launch 2020-10-30 21:49:14 +01:00
67a325f47d Move config setting logic to background loader 2020-10-30 21:22:22 +01:00
cf0e8e0a62 Document nullability of seasonal backgrounds 2020-10-30 20:00:59 +01:00
aeab2be5d1 Add xmldoc to SeasonalBackgroundMode 2020-10-30 19:56:52 +01:00
20c27c6943 Rename lookup & field 2020-10-30 19:55:22 +01:00
82ef85569b Fix nullref when querying IsInSeason before request completion 2020-10-30 19:35:08 +01:00
d5dfd1dffe Insert optional parentheses 2020-10-30 18:07:07 +01:00
51a58269ad Fix nullref in case of successfull request but no backgrounds available 2020-10-30 17:57:29 +01:00
0b46c19b23 Move seasonalBackgroundMode check up and early return if available 2020-10-30 17:16:51 +01:00
f6eb5680ec Save full api response in SessionStatics 2020-10-30 16:43:18 +01:00
6f6a8e2a8f Convert switch to if 2020-10-30 16:06:48 +01:00
d19dd4eef6 IsInSeason() -> IsInSeason 2020-10-30 15:56:19 +01:00
4e3fb615d2 Rename "SeasonalBackgrounds" to "SeasonalBackgroundMode" 2020-10-30 15:54:10 +01:00
1db8dfd03e Merge branch 'master' into seasonal-backgrounds 2020-10-30 22:53:51 +09:00
bc69ed3870 Simplify sample lookup 2020-10-30 22:33:27 +09:00
a1fa6588f6 Fix "bounce" when metadata container text is empty 2020-10-31 01:06:19 +13:00
b4e5311014 Move initial state set inside updateClock 2020-10-30 20:39:25 +09:00
1bd461f229 Move clock logic back to inside updateClock method 2020-10-30 20:21:14 +09:00
f27ce7521d Make "Sometimes" setting depend on season end date, rather than chance 2020-10-30 10:27:43 +01:00
79aecc9a98 Merge branch 'master' into spectator-replay-watcher 2020-10-30 16:31:24 +09:00
32e68a6a3c Fix FramedReplayInputHandler incorrectly blocking in streaming mode when time requested is before the first frame
Most of this is just tidying up the logic to (hopefully) be better to
follow, again (again (again)).

The actual fix is that we now allow interpolation/playback when the
incoming time is less than the first frame's time, regardless of
receiving status.
2020-10-30 16:09:03 +09:00
0ef1459f4b Merge pull request #10621 from peppy/hud-momentary-visibility
Add momentary HUD toggle
2020-10-30 15:40:54 +09:00
0f997386ae Fix direction and IsRunning not updating on first frame after becoming valid
The parent clock will not unpause until WaitingForFrames becomes false,
so I've moved the set of that before we start to propagate its values
across. Doesn't fix any visible issue but should make propagation one
game loop faster.
2020-10-30 15:26:23 +09:00
326fd03525 Fix loop not exiting after first valid frame 2020-10-30 15:25:53 +09:00
b14291a312 Merge branch 'master' into tracked-hud-visibility-settings 2020-10-30 14:58:45 +09:00
8be16bd4ed Merge pull request #10370 from peppy/fix-test-beatmap-virtual-clock
Ensure virtual track time is long enough for test beatmaps
2020-10-30 14:23:06 +09:00
45b8af5391 Merge pull request #10614 from peppy/results-screen-animate-once
Only play results panel animation once (and only for the local user)
2020-10-30 14:21:05 +09:00
8928aa6d92 Add key binding to show HUD while held 2020-10-30 14:19:40 +09:00
b4eda65383 Commit missing pieces 2020-10-30 13:53:51 +09:00
c72017a7db Remove "hide during breaks" option
Probably wouldn't be used anyway.
2020-10-30 13:49:45 +09:00
f58f8e0f93 Update resources 2020-10-30 13:46:54 +09:00
9bb86ccb83 Change shift-tab to cycle available HUD visibility modes 2020-10-30 13:09:22 +09:00
18f92818da Show current HUD visibility mode as a tracked setting 2020-10-30 13:09:13 +09:00