e49da2948d
Fix storyboard background replacement logic not working for beatmaps with multiple backgrounds
...
In the case where the background image of individual difficulties is
different, querying the beatmap *set*'s metadata as we were will cause
issues.
I haven't added test coverage for this but can if required. Can be
manually tested using https://osu.ppy.sh/beatmapsets/1595773#osu/3377474
(specifically the highest difficulty).
Closes https://github.com/ppy/osu/discussions/16873 .
2022-02-18 16:24:19 +09:00
b2d09b7b10
Fix further warnings
2022-01-12 23:42:12 +09:00
eb70a1eeb7
Replace compatibility properties with direct references
2022-01-12 18:13:14 +09:00
e6fdd0e969
Miscellaneous fixes that don't fit elsewhere
2022-01-12 16:39:36 +09:00
59e763467f
Move StoragePath
implementation to an extension method
2021-11-19 16:08:38 +09:00
7c2e79f911
Update all simple cases of switching to IWorkingBeatmap
2021-11-17 20:56:57 +09:00
b80c02b757
Fix crash on gameplay startup if beatmap has no background
2021-11-04 17:24:40 +09:00
d1e6d1cb98
Update some other missed incorrect null/empty usages
2021-11-04 14:50:43 +09:00
6944151486
Apply batch fixing of built-in types using var
2021-10-27 13:04:41 +09:00
631d217f78
Remove no longer necessary conditional access
2021-05-28 15:42:35 +09:00
871ca8054f
Rename classes as per review feedback
2021-05-25 18:50:33 +09:00
5ea948aabe
Bypass 640x480 coordinate space for video storyboard elements
...
This allows the `FillMode.Fill` to take up the full space of the
storyboard container.
2021-05-25 16:17:29 +09:00
e3507d5453
Move DrawableStoryboard
's aspect application to inside its own class
2021-05-25 16:06:39 +09:00
e40cb6797d
Use GetEndTime() to get storyboard endtime
2021-04-17 15:27:48 -04:00
5a015290b9
Add remarks back to LatestEventTime
2021-04-17 12:34:38 -04:00
b15838b220
Move storyboard outro logic to DrawableStoryboard
2021-04-16 00:59:10 -04:00
0e545e1ed9
Add IHasDuration interface with EndTime for storyboard elements to implement
2021-04-15 17:17:02 -04:00
25b8c2f257
Allow skipping storyboard outro
...
Reuses SkipOverlay by calculating the endtime of the storyboard and using that as a "start point". Upon skipping the outro the score is instantly shown.
When the end of the storyboard is reached the score screen automatically shows up. If the player holds ESC (pause) during the outro, the score is displayed
The storyboard endtime is calculated by getting the latest endtime of the storyboard's elements, or simply returning 0 if there is no storyboard.
Co-Authored-By: Marlina José <marlina@umich.edu >
2021-04-15 13:20:40 -04:00
16d34bcc0a
Expose the latest end time of storyboard elements
...
Co-authored-by: Marlina Bowring <marlina@umich.edu >
2021-04-12 23:08:43 -04:00
9e0c490141
Remove unused using
2021-01-04 15:40:22 +09:00
20d04d6933
Fix Storyboard's FirstEventTime not finding the true earliest event
2021-01-04 15:16:01 +09:00
1b84402b96
Centralise and share logic for storyboard frame lookup method
2020-10-23 15:34:00 +09:00
cdd56ece87
Read UseSkinSprites when decoding storyboards
2020-10-20 22:49:56 +02:00
e211785704
Add overlay layer to storyboard definition
2020-05-19 19:47:45 +02:00
c5f8bbb25f
Fix beatmap background not displaying when video is present
2020-04-14 11:56:37 +09:00
b8f20831a1
Video no longer modifies storyboard resolution
2020-03-24 20:04:09 -07:00
6d81da5419
Merge branch 'master' into video-offset
2020-03-25 11:28:59 +09:00
368bf58521
Rename and make fields readonly
2020-03-25 11:08:08 +09:00
c27751050b
Switch back to strings and update setting labels
2020-03-12 23:29:11 -07:00
5aa99d8b34
Hide background image when video is present
2020-03-09 16:04:23 -07:00
22dd93a4f6
Code quality, read position offsets
2020-03-08 14:02:39 -07:00
76c832518f
Render video as a part of the storyboard
2020-03-07 21:32:03 -08:00
c0fe91a84c
Merge branch 'master' into sharpen
2019-11-26 18:21:50 +08:00
31cc0d13da
Use 'out var'.
2019-11-12 19:55:26 +08:00
e03a664970
Fix lead-in logic to match stable
...
Also adds storyboard event priority support.
2019-05-31 15:51:19 +09:00
f6dfcc4dcf
Remove unnecessary Storyboard disposal
2019-05-10 16:31:22 +09:00
26d53d06a9
Fix remaining issues
2019-02-28 13:31:40 +09:00
8617aaa2a7
Update licence header (and remove year)
2019-01-24 17:43:03 +09:00
32a74f95a5
Normalize all the line endings
2018-04-13 18:26:38 +09:00
21b641b302
Give storyboards a BeatmapInfo to reduce weird method calls
...
Also removes unnecessary background texture (the actual storyboard background spec wasn't implemented correctly anyway).
2018-02-16 12:09:23 +09:00
37d393bca0
Update licence headers
2018-01-05 20:21:19 +09:00
96f5bd3323
remove Storyboard from Beatmap, add it to WorkingBeatmap
2017-11-29 21:54:04 +01:00
2d4616fd43
Apply beatmap settings when creating the DrawableStoryboard.
2017-09-25 11:03:57 +02:00
0996867112
Move StoryboardReplacesBackground and StoryboardAspect properties to Storyboard.
2017-09-25 10:40:22 +02:00
757a159516
Display a non-parallax background at the appropriate size when storyboards do not replace it.
2017-09-15 14:31:54 +02:00
bab3ef0669
Rename storyboard classes.
2017-09-13 11:22:24 +02:00