Commit Graph

153 Commits

Author SHA1 Message Date
05982f42ab Add more comprehensive commenting and simplify base call logic
We can call the base method regardless for better safety. Worst case
it's just going to run `Stop()` twice anyway.
2021-02-01 16:43:54 +09:00
ee89aa159c Removed blank line 2021-01-26 23:12:26 -05:00
690feb1c1e Allow looping storyboard samples to follow the base samplePlaybackDisabled event logic. 2021-01-26 23:08:51 -05:00
3307e8357f DrawableStoryboardSample event method override for SamplePlaybackDisabledChanged 2021-01-26 00:36:32 -05:00
b692abd3c2 Simplify condition from two to one operand 2021-01-22 20:35:34 +01:00
e0f8f6a23f introduce overrideable bool instead of copying event logic entirely 2021-01-22 12:09:40 -05:00
5b1bdfbdc5 Use callback method override 2021-01-21 20:06:24 -05:00
07ec0c0e0b Updated DrawableStoryboardSample to use GetBoundCopy() 2021-01-21 17:46:47 -05:00
b220939650 Fix storyboard samples continuing to play when the beatmap is paused or the intro is skipped. 2021-01-21 17:10:11 -05: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
a8569fe15c Fix a couple of simple cases of incorrect TextureLoaderStore initialisation 2020-12-21 13:35:46 +09:00
c29ad8edf8 Better API for dealing with the contained drawable samples 2020-11-30 19:26:25 +09:00
a53848ef9b Fix storyboard imlpementation 2020-11-19 22:30:41 +09:00
730b14b5bb Add initial hit sample pooling 2020-11-19 19:51:09 +09:00
61093030ee Remove redundant class name qualifier 2020-11-10 12:20:49 +01:00
ce837eaba0 Rename variables 2020-11-10 12:20:26 +01:00
539806e9d6 Rewrite - Add empty drawable whenever sprite not found 2020-11-10 23:52:37 +13:00
6446074976 Fix paths for storyboard animation sprites 2020-11-10 23:52:37 +13:00
4f746792fb Fix regression causing storyboard sprites to have incorrect origin support 2020-10-23 15:46:24 +09:00
1b84402b96 Centralise and share logic for storyboard frame lookup method 2020-10-23 15:34:00 +09:00
58a54c5b6c Utilise UseSkinSprites value in storyboard sprite logic 2020-10-20 23:01:25 +02:00
cdd56ece87 Read UseSkinSprites when decoding storyboards 2020-10-20 22:49:56 +02:00
e54836a63e Use SkinnableSprite to avoid unnecessary reloads 2020-10-20 22:49:56 +02:00
f41fc71e42 Allow storyboard animations to load textures from skins 2020-10-09 18:02:21 +02:00
cf76d77762 Fix osu!classic skin elements not showing up in storyboards 2020-10-09 17:34:01 +02:00
e0b5ead223 Merge branch 'master' into storyboard-skin-sprites 2020-10-09 16:55:45 +02:00
367b35bb10 Merge branch 'master' into fix-storyboard-sample-pausing 2020-09-30 22:42:26 +09:00
136843c8e4 Make DrawableStoryboardSample a SkinnableSound
Allows sharing pause logic with gameplay samples.
2020-09-29 14:25:39 +09:00
69cb9f3091 Fix potential crash if disposing a DrawableStoryboardSample twice 2020-08-21 18:19:47 +09:00
7cf225520f Change from BDL to Resolved 2020-08-08 02:43:39 +02:00
e0ae2b3ebf Switch to SkinReloadableDrawable 2020-08-06 17:07:36 +02:00
19a0eaade9 Allow storyboard sprites to load textures from skins 2020-08-06 04:41:44 +02:00
0a1e6a8273 Fix storyboard video playback when not starting at beginning of beatmap 2020-07-16 14:25:45 +09:00
f2a48a339e Remove unused usings 2020-06-24 16:33:19 +01:00
992ada4670 Revert UserPlaybackRate changes 2020-06-24 16:18:46 +01:00
4c28347686 Adjust sample rate by UserPlaybackRate 2020-06-24 15:34:20 +01:00
470d5bfce3 Invert if to reduce nesting 2020-06-19 20:15:14 +02:00
53861cdde8 Privatise setter 2020-06-19 20:13:43 +02:00
f04f2d2175 Add test scene 2020-06-18 21:46:32 +01:00
9f4f3ce2cc Handle IApplicableToSample mods 2020-06-16 14:54:50 +01:00
978636b90c Fix storyboard sample playback failing when expected to play at 0ms 2020-06-15 09:38:33 +09:00
2398f2e537 Expose drawable overlay layer 2020-05-19 19:47:50 +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
b7308f5ed4 Fix storyboard videos being offset incorrectly 2020-04-07 00:26:38 +09:00
51db361c32 Update usages of Animation and Video in line with framework changes 2020-04-03 16:00:06 +09:00
522bbc1e9c Support widescreen per-layer storyboard masking 2020-03-30 21:51:39 +02:00
01c9112f82 Add a null check to prevent NRE when playing the "no video" version of a beatmap. 2020-03-26 17:09:22 +01:00
b8f20831a1 Video no longer modifies storyboard resolution 2020-03-24 20:04:09 -07:00