Commit Graph

131 Commits

Author SHA1 Message Date
32c77ddf71 Avoid triggering SeasonalBackgroundChanged unless actually required 2022-07-08 15:07:30 +09:00
b83073c2e9 Fix SeasonalBackgroundLoader triggering a background reload when not providing backgrounds 2022-07-08 02:12:01 +09:00
f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
cbb8dc2891 Fix storyboard samples rate not adjusted from actual gameplay mods 2022-03-02 20:56:18 +03:00
76d5225bb9 Rewrite storyboard clock management in slightly different way 2022-01-11 22:00:04 +01:00
970e0cc85a Merge branch 'master' into beatmap-background-with-storyboard-stopping 2022-01-11 21:39:49 +01:00
906e700b60 Improve quality of beatmap background blurs 2022-01-11 21:22:16 +09:00
568cab6808 Add clarification comment about explicit ProcessFrame() call 2021-12-27 21:13:04 +01:00
9f8ad9f833 Fix menu background storyboard stopping after track reload 2021-12-27 12:30:53 +01:00
6399c695e8 Update usages of BufferedContainer in line with framework changes 2021-11-05 15:54:49 +09:00
6944151486 Apply batch fixing of built-in types using var 2021-10-27 13:04:41 +09:00
07fec268c0 Limit maximum triangles to avoid GL buffer overflow 2021-09-15 18:32:59 +09:00
529a9a6ff8 Adjust minimum triangle movement speed to avoid "static" triangles in logo
Closes #14584.
2021-08-31 14:08:23 +09:00
022b1a28d5 Add missing equality implementation for seasonal backgrounds
The equality operator is used to determine whether the next background
in the cycle should be loaded, to avoid pointless loads of the same
background several times (see #13362 and #13393). Its omission in the
latter pull caused seasonal backgrounds to no longer cycle.

Closes #13508.
2021-06-15 23:21:48 +02:00
023015f9a6 Merge branch 'master' into fix-skin-background-regression 2021-06-09 08:09:21 +02:00
f41e34ae2c Remove more obsoleted members 2021-06-09 14:10:48 +09:00
97204b6f27 Reduce unnecessary background changes via IEquatable implementation 2021-06-08 22:37:18 +02:00
5bf4dd6358 Move skin background to separate file 2021-06-08 21:57:08 +02:00
19a44d65c5 Tidy up code 2021-06-04 15:18:16 +09:00
996c156106 apply suggestions
- apply 0 alpha to beatmap background if storyboard replaces it
- use an AudioContainer to mute all samples coming from the storyboard
2021-06-04 13:56:10 +08:00
d7d0dde5d2 use created storyboard to check for drawables instead 2021-06-03 13:56:14 +08:00
62b07fb9ce apply suggestions
- Replace the sprite with a solid black box when a storyboard requests it.
- Create a new storyboard instance and exclude the fail layer as well as strip all samples from it
- Do not attempt in creating the storyboard when it isn't needed
2021-06-03 13:27:00 +08:00
a62dd7cca0 Revert "refactor BeatmapBackgroundWithStoryboard to reduce overhead"
This reverts commit 277545bb06.
2021-06-03 12:33:16 +09:00
277545bb06 refactor BeatmapBackgroundWithStoryboard to reduce overhead
This avoids loading the sprite if its not needed and instead of hiding it, it is removed when the storyboard replaces the background or there is a video.

This also only initializes DrawableStoryboard if there are any elements in any layer.
2021-06-02 20:27:12 +08:00
3c3ef13632 remove fade 2021-06-02 16:28:22 +08:00
e66f6e8f91 fix inspect code issues and cleanup code 2021-06-02 16:12:41 +08:00
dec18ef826 implement BeatmapBackgroundWithStoryboard 2021-06-02 15:50:58 +08:00
b5954a55ad Remove empty <returns> xmldoc 2021-04-12 17:46:14 +09:00
3bcf9c255a Add Triangles.Reset() 2020-11-17 13:06:30 +09:00
33c643e369 Add obsoletion for unused property 2020-11-17 12:23:34 +09: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
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
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
51a58269ad Fix nullref in case of successfull request but no backgrounds available 2020-10-30 17:57:29 +01:00
f6eb5680ec Save full api response in SessionStatics 2020-10-30 16:43:18 +01:00
d19dd4eef6 IsInSeason() -> IsInSeason 2020-10-30 15:56:19 +01:00
f27ce7521d Make "Sometimes" setting depend on season end date, rather than chance 2020-10-30 10:27:43 +01:00
d9846fad37 Remove fallback texture parameter
When there isn't a seasonal event, we don't want to fall back to the basic background here, but rather to the user selected background source.
2020-10-29 18:03:36 +01:00
907e1921c7 Make SeasonalBackgroundLoader read from SessionStatics 2020-10-29 17:31:42 +01:00
c1d03a5bac Add SeasonalBackgroundLoader and SeasonalBackground 2020-10-23 13:40:13 +02:00
dde7f706aa Avoid rapid triangle repositioning during editor slider placement 2020-10-02 15:51:14 +09:00
671141ec61 Load menu backgrounds via LargeTextureStore to reduce memory usage 2020-08-14 18:05:05 +09:00
0e2ccac33b Add spaces to comments 2020-05-04 18:36:24 -07:00
f71c45cb1b Remove shallPropagate 2020-02-25 11:30:33 +09:00
91735ff367 Update MathUtils namespace usages 2020-01-09 13:43:44 +09:00