Commit Graph

17 Commits

Author SHA1 Message Date
8aaba32431 Fix storyboard commands occurring before the earliest point of visibility delaying gameplay
In osu-stable, storyboard intros start from the first command, but in
the case of storyboard drawables which have an initial hidden state, all
commands before the time at which they become visible (ie. the first
command where `Alpha` increases to a non-zero value) are ignored.

This brings lazer in line with that behaviour. It also removes several
unnecessary LINQ calls.

Note that the alpha check being done in its own pass is important, as
it must be the "minimum present alpha across all command groups,
including loops". This is what makes the implementation slightly
complex.

Closes #11981.
2021-03-09 15:55:12 +09:00
740bdee125 Apply remaining uncaught changes 2020-01-20 23:59:21 +09:00
f38853d229 Improve performance of storyboard loading 2019-12-19 00:52:50 +09:00
602ce698d5 Fix storyboard vectorscale and scale cross-pollution 2019-12-18 17:21:38 +09:00
e9b8cbb516 Apply other styles. 2019-11-11 20:27:04 +08:00
ccc8aa6fa4 Apply brace style. 2019-11-11 20:13:13 +08:00
48716f8f2b Update framework 2019-08-21 13:29:50 +09:00
612db31c38 Apply newline additions 2019-04-01 12:16:32 +09:00
2dbf7d122c Merge branch 'master' into use-pattern-matching 2019-02-28 14:53:07 +09:00
e2c6a8bc07 Use pattern matching wherever possible 2019-02-28 14:35:00 +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
f27bd3ef3e OpenTK -> osuTK 2018-11-20 17:14:59 +09:00
32a74f95a5 Normalize all the line endings 2018-04-13 18:26:38 +09:00
37d393bca0 Update licence headers 2018-01-05 20:21:19 +09: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