mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 23:42:55 +08:00
Various CI adjustments
This commit is contained in:
parent
9d3d9bcdc8
commit
4b3cf0773d
@ -61,9 +61,8 @@ namespace osu.Game.Rulesets.Taiko.UI
|
|||||||
private readonly Box overlayBackground;
|
private readonly Box overlayBackground;
|
||||||
private readonly Box background;
|
private readonly Box background;
|
||||||
|
|
||||||
private ControlPointInfo controlPointInfo;
|
private readonly ControlPointInfo controlPointInfo;
|
||||||
private Dictionary<double, Tuple<SampleChannel, SampleChannel>> allSamples;
|
private Dictionary<double, Tuple<SampleChannel, SampleChannel>> allSamples;
|
||||||
private AudioManager audio;
|
|
||||||
|
|
||||||
public TaikoPlayfield(ControlPointInfo controlPointInfo)
|
public TaikoPlayfield(ControlPointInfo controlPointInfo)
|
||||||
: base(Axes.X)
|
: base(Axes.X)
|
||||||
@ -208,8 +207,6 @@ namespace osu.Game.Rulesets.Taiko.UI
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OsuColour colours, AudioManager audio)
|
private void load(OsuColour colours, AudioManager audio)
|
||||||
{
|
{
|
||||||
this.audio = audio;
|
|
||||||
|
|
||||||
allSamples = new Dictionary<double, Tuple<SampleChannel, SampleChannel>>();
|
allSamples = new Dictionary<double, Tuple<SampleChannel, SampleChannel>>();
|
||||||
foreach (var soundPoint in controlPointInfo.SoundPoints)
|
foreach (var soundPoint in controlPointInfo.SoundPoints)
|
||||||
{
|
{
|
||||||
|
@ -15,9 +15,9 @@ namespace osu.Game.Audio
|
|||||||
public const string HIT_NORMAL = @"hitnormal";
|
public const string HIT_NORMAL = @"hitnormal";
|
||||||
public const string HIT_CLAP = @"hitclap";
|
public const string HIT_CLAP = @"hitclap";
|
||||||
|
|
||||||
public static SampleInfo FromSoundPoint(SoundControlPoint soundPoint, string sampleName = SampleInfo.HIT_NORMAL)
|
public static SampleInfo FromSoundPoint(SoundControlPoint soundPoint, string sampleName = HIT_NORMAL)
|
||||||
{
|
{
|
||||||
return new SampleInfo()
|
return new SampleInfo
|
||||||
{
|
{
|
||||||
Bank = soundPoint.SampleBank,
|
Bank = soundPoint.SampleBank,
|
||||||
Name = sampleName,
|
Name = sampleName,
|
||||||
|
Loading…
Reference in New Issue
Block a user