Commit Graph

15 Commits

Author SHA1 Message Date
9323df26a1 Decouple bar line hitobjects from generator
Introduce an IBarLine interface, which together with generic constraints
helps decouple BarLineGenerator from the actual hitobject types it
creates. Thanks to this, all rulesets that want bar lines can provide
an implementation of IBarLine that also derives from the base hitobject
class.

This allows DrawableBarLines in taiko and mania to be migrated back to
DrawableTaikoHitObject and DrawableManiaHitObject base classes
respectively. This in turn resolves #6215 without code duplication,
since the missing anchoring application is now done in mania's
DrawableBarLine through deriving from DrawableManiaHitObject.
2019-09-25 00:36:27 +02:00
06618b6d02 Fix osu!mania minor barline alpha not being respected 2019-09-11 18:45:47 +09:00
af3bb5a2cd Centralise and share bar line generation code between rulesets 2019-09-10 13:30:54 +09:00
c11f508400 Use transform management for mania hit objects 2019-08-26 22:06:30 +03: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
dc10277d50 Thicker bar lines and new design colour 2018-06-07 11:16:26 +09:00
32a74f95a5 Normalize all the line endings 2018-04-13 18:26:38 +09:00
a42035f494 Make DrawableHitObject a CompositeDrawable
No reason for it to be a container.
2018-03-15 13:41:06 +09:00
37d393bca0 Update licence headers 2018-01-05 20:21:19 +09:00
62dee59672 Shapes namespace
Depends on https://github.com/ppy/osu-framework/pull/837
2017-06-20 15:54:23 +10:00
586fc782cf Fix line endings. 2017-05-29 16:00:14 +09:00
4b6f2efa76 Cleanups. 2017-05-29 15:32:58 +09:00
32550bda4f Make drawable bar line a bit more sane. 2017-05-29 15:18:06 +09:00
4fce0c1189 Rename Barline -> BarLine. 2017-05-29 15:05:20 +09:00