Dean Herbert
8866250cff
Fix seasonal background not being unloaded when changing setting to "Never"
...
Closes #20065 .
2022-09-01 21:42:40 +09:00
Dean Herbert
105aa01e7d
Update usages of RemoveInternal
2022-08-29 15:57:40 +09:00
Dan Balasescu
802dc90cb1
Adjust using directives for vertices
2022-08-05 20:37:33 +09:00
Dan Balasescu
b4e55f7309
Apply IRenderer changes
2022-08-02 19:50:57 +09:00
Dan Balasescu
09979d44aa
Apply DrawNode batching changes
2022-07-29 23:32:09 +09:00
Dan Balasescu
155dac55d0
Apply DrawNode parameter changes
2022-07-29 22:33:34 +09:00
Dean Herbert
32c77ddf71
Avoid triggering SeasonalBackgroundChanged
unless actually required
2022-07-08 15:07:30 +09:00
Dean Herbert
b83073c2e9
Fix SeasonalBackgroundLoader
triggering a background reload when not providing backgrounds
2022-07-08 02:12:01 +09:00
Dan Balasescu
f8830c6850
Automated #nullable processing
2022-06-17 16:37:17 +09:00
Salman Ahmed
cbb8dc2891
Fix storyboard samples rate not adjusted from actual gameplay mods
2022-03-02 20:56:18 +03:00
Bartłomiej Dach
76d5225bb9
Rewrite storyboard clock management in slightly different way
2022-01-11 22:00:04 +01:00
Bartłomiej Dach
970e0cc85a
Merge branch 'master' into beatmap-background-with-storyboard-stopping
2022-01-11 21:39:49 +01:00
Dan Balasescu
906e700b60
Improve quality of beatmap background blurs
2022-01-11 21:22:16 +09:00
Bartłomiej Dach
568cab6808
Add clarification comment about explicit ProcessFrame()
call
2021-12-27 21:13:04 +01:00
Bartłomiej Dach
9f8ad9f833
Fix menu background storyboard stopping after track reload
2021-12-27 12:30:53 +01:00
Dean Herbert
6399c695e8
Update usages of BufferedContainer
in line with framework changes
2021-11-05 15:54:49 +09:00
Dean Herbert
6944151486
Apply batch fixing of built-in types using var
2021-10-27 13:04:41 +09:00
Dean Herbert
07fec268c0
Limit maximum triangles to avoid GL buffer overflow
2021-09-15 18:32:59 +09:00
Dean Herbert
529a9a6ff8
Adjust minimum triangle movement speed to avoid "static" triangles in logo
...
Closes #14584 .
2021-08-31 14:08:23 +09:00
Bartłomiej Dach
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
Bartłomiej Dach
023015f9a6
Merge branch 'master' into fix-skin-background-regression
2021-06-09 08:09:21 +02:00
Dean Herbert
f41e34ae2c
Remove more obsoleted members
2021-06-09 14:10:48 +09:00
Bartłomiej Dach
97204b6f27
Reduce unnecessary background changes via IEquatable
implementation
2021-06-08 22:37:18 +02:00
Bartłomiej Dach
5bf4dd6358
Move skin background to separate file
2021-06-08 21:57:08 +02:00
Dean Herbert
19a44d65c5
Tidy up code
2021-06-04 15:18:16 +09:00
Nathan Alo
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
Nathan Alo
d7d0dde5d2
use created storyboard to check for drawables instead
2021-06-03 13:56:14 +08:00
Nathan Alo
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
Dean Herbert
a62dd7cca0
Revert "refactor BeatmapBackgroundWithStoryboard to reduce overhead"
...
This reverts commit 277545bb06
.
2021-06-03 12:33:16 +09:00
Nathan Alo
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
Nathan Alo
3c3ef13632
remove fade
2021-06-02 16:28:22 +08:00
Nathan Alo
e66f6e8f91
fix inspect code issues and cleanup code
2021-06-02 16:12:41 +08:00
Nathan Alo
dec18ef826
implement BeatmapBackgroundWithStoryboard
2021-06-02 15:50:58 +08:00
Dean Herbert
b5954a55ad
Remove empty <returns> xmldoc
2021-04-12 17:46:14 +09:00
smoogipoo
3bcf9c255a
Add Triangles.Reset()
2020-11-17 13:06:30 +09:00
smoogipoo
33c643e369
Add obsoletion for unused property
2020-11-17 12:23:34 +09:00
Dean Herbert
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
Bartłomiej Dach
78842ab95a
Improve look & behaviour of background transitions
2020-10-30 22:40:24 +01:00
Bartłomiej Dach
391dd73843
Fix typo in comment
2020-10-30 22:39:34 +01:00
Bartłomiej Dach
38cf90a69b
Change background to seasonal right after login
2020-10-30 22:03:26 +01:00
Bartłomiej Dach
29ad099902
Allow to fetch if going online after launch
2020-10-30 21:49:14 +01:00
Bartłomiej Dach
67a325f47d
Move config setting logic to background loader
2020-10-30 21:22:22 +01:00
Bartłomiej Dach
20c27c6943
Rename lookup & field
2020-10-30 19:55:22 +01:00
Bartłomiej Dach
82ef85569b
Fix nullref when querying IsInSeason before request completion
2020-10-30 19:35:08 +01:00
Max Hübner
51a58269ad
Fix nullref in case of successfull request but no backgrounds available
2020-10-30 17:57:29 +01:00
Max Hübner
f6eb5680ec
Save full api response in SessionStatics
2020-10-30 16:43:18 +01:00
Max Hübner
d19dd4eef6
IsInSeason() -> IsInSeason
2020-10-30 15:56:19 +01:00
Max Hübner
f27ce7521d
Make "Sometimes" setting depend on season end date, rather than chance
2020-10-30 10:27:43 +01:00
Max Hübner
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
Max Hübner
907e1921c7
Make SeasonalBackgroundLoader read from SessionStatics
2020-10-29 17:31:42 +01:00
Max Hübner
c1d03a5bac
Add SeasonalBackgroundLoader and SeasonalBackground
2020-10-23 13:40:13 +02:00
Dean Herbert
dde7f706aa
Avoid rapid triangle repositioning during editor slider placement
2020-10-02 15:51:14 +09:00
Dean Herbert
671141ec61
Load menu backgrounds via LargeTextureStore to reduce memory usage
2020-08-14 18:05:05 +09:00
alex
0e2ccac33b
Add spaces to comments
2020-05-04 18:36:24 -07:00
smoogipoo
f71c45cb1b
Remove shallPropagate
2020-02-25 11:30:33 +09:00
smoogipoo
91735ff367
Update MathUtils namespace usages
2020-01-09 13:43:44 +09:00
Sebastian Krajewski
0b9cc8ed1b
Revert "Move colour generation to TriangleParticle"
...
This reverts commit de4c62788c
.
2020-01-07 09:58:37 +09:00
Sebastian Krajewski
de4c62788c
Move colour generation to TriangleParticle
2020-01-06 12:51:38 +01:00
Sebastian Krajewski
d1f3cb3dbd
Premature checks to avoid unnecessary updates
2020-01-06 01:53:29 +01:00
Sebastian Krajewski
f70f25098b
Change visible triangles colour when dark or light colour is changed
2020-01-06 00:32:13 +01:00
Dean Herbert
bb0a4db847
Fix failing tests
2019-11-29 01:17:58 +09:00
smoogipoo
d1e3718038
Reduce the scale of background blurs
2019-11-27 15:04:09 +09:00
Berkan Diler
fccdbffa93
Use MathF instead of Math- functions when possible
...
MathF-functions are faster than the Math-counterpart and it looks cleaner, so use MathF when we cast to float or int anyway.
2019-11-25 00:45:42 +01:00
Dean Herbert
57d38c5c74
Add final newline
2019-11-22 02:39:54 +09:00
LeNitrous
b8d147a3b4
introduce main menu background modes
2019-09-24 17:42:06 +08:00
smoogipoo
a87a1e6031
Don't redraw certain buffered containers on scale change
2019-09-04 19:38:12 +09:00
Dean Herbert
90b1fe81f3
Update cached usage in line with framework changes
2019-08-09 19:12:29 +09:00
Dean Herbert
07a0df7c4f
Fix bracket precedence
2019-07-22 18:29:04 +09:00
Dean Herbert
4c592a5e65
Fix TriangleDrawNode crash when aimcount is zero
2019-07-20 22:52:07 +09:00
Dean Herbert
5696d79423
Use TriangleBatch
2019-07-19 23:47:48 +09:00
Dean Herbert
024f136d82
Reduce buffer count by one
2019-07-19 14:24:11 +09:00
Dean Herbert
95f36c36c4
Late-initialize vertex batch for safety
2019-07-19 01:52:53 +09:00
Dean Herbert
a23bb3a6b3
Account for headless nulls (but how?)
2019-07-19 01:14:55 +09:00
Dean Herbert
00f1d1b53c
Reduce Triangle drawnode overhead by ~90%
...
This was never batching, ever. Pointless memory overhead.
2019-07-19 00:53:00 +09:00
Dean Herbert
d92f6c762b
Fix potential nullref
2019-07-15 11:53:16 +09:00
Dean Herbert
2186ffda55
Avoid unnecessarily creating buffered container for zero-blur
2019-07-15 11:46:41 +09:00
Dean Herbert
d093eb6660
Mark sprite read-only
2019-07-15 11:45:15 +09:00
Dean Herbert
7b2227c505
Fix xmldoc
2019-07-02 17:47:19 +09:00
Dean Herbert
6c7b97931e
Avoid using a BufferedContainer for backgrounds unless required
2019-07-02 17:45:46 +09:00
smoogipoo
c7d0fcd42a
Update drawnodes
2019-06-06 16:49:35 +09:00
smoogipoo
d8af5e1c5a
Update in-line with drawnode changes
2019-04-02 11:56:22 +09:00
smoogipoo
04d756524d
Adjust with shader changes
2019-03-07 18:30:18 +09:00
smoogipoo
bf8360636a
Adjust drawnodes to use the new shared data structure
2019-03-01 17:25:15 +09:00
Dean Herbert
0788a7e9f1
Merge branch 'master' into more-inspections
2019-02-28 14:32:57 +09:00
Dean Herbert
42be7857d1
Use expression body for property get/set where possible
2019-02-28 13:58:19 +09:00
Dean Herbert
26d53d06a9
Fix remaining issues
2019-02-28 13:31:40 +09:00
Dean Herbert
8617aaa2a7
Update licence header (and remove year)
2019-01-24 17:43:03 +09:00
smoogipoo
f27bd3ef3e
OpenTK -> osuTK
2018-11-20 17:14:59 +09:00
ekrctb
68980fc477
Adjust usage of Handle(Non)PositionalInput to follow framework update
2018-10-02 14:45:33 +09:00
smoogipoo
a8f156584b
Update framework with positional/non-positional changes
2018-09-26 14:01:15 +09:00
Dean Herbert
fa33e0bd6b
Fix background brightness being adjusted globally
2018-09-21 02:51:14 +09:00
Dean Herbert
a1780fddc9
DrawInfo -> DrawColourInfo
2018-09-06 18:02:04 +09:00
Dean Herbert
29b0d62f21
Changes in line with framework refcount changes
2018-09-06 13:29:57 +09:00
Dean Herbert
03084aa04b
Revert async changes
2018-08-31 07:07:10 +09:00
smoogipoo
1b279d383f
Use GetAsync on all textures
2018-08-27 17:26:44 +09:00
Dean Herbert
32a74f95a5
Normalize all the line endings
2018-04-13 18:26:38 +09:00
smoogipoo
3f3f57e51e
Use cached vertexbatch add delegate
2018-03-22 15:13:38 +09:00
TocoToucan
ae032cbf23
Support HandleKeyboardInput, HandleMouseInput, CanReceiveKeyboardInput, CanReceiveMouseInput properties
2018-01-07 23:40:00 +03:00
Dean Herbert
37d393bca0
Update licence headers
2018-01-05 20:21:19 +09:00
Dean Herbert
f2d302f8dc
Create a LargeTextureStore for cached (but not atlased) global textures
...
Also
- Fixes first transition depth being incorrect.
- Improves smoothness of transitions (and adds a slight delay to offset from screen switches).
2017-12-31 07:05:04 +09:00