Skip to content

Commit

Permalink
Merge pull request #495 from Coppertine/performancebreakdown
Browse files Browse the repository at this point in the history
  • Loading branch information
naoei authored Oct 11, 2024
2 parents abe5104 + 5c6de15 commit a47268d
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 51 deletions.
6 changes: 6 additions & 0 deletions osu.Game.Rulesets.Tau/TauRuleset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ public override LocalisableString GetDisplayNameForHitResult(HitResult result)

public override StatisticItem[] CreateStatisticsForScore(ScoreInfo score, IBeatmap playableBeatmap) => new[]
{
new StatisticItem("Performance Breakdown", () => new PerformanceBreakdownChart(score, playableBeatmap)
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
}),

new StatisticItem(UiStrings.TimingDistribution, () => new HitEventTimingDistributionGraph(score.HitEvents)
{
RelativeSizeAxes = Axes.X,
Expand Down
102 changes: 51 additions & 51 deletions osu.Game.Rulesets.Tau/osu.Game.Rulesets.Tau.csproj
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup Label="Project">
<TargetFramework>net8.0</TargetFramework>
<AssemblyTitle>osu.Game.Rulesets.Tau</AssemblyTitle>
<OutputType>Library</OutputType>
<PlatformTarget>AnyCPU</PlatformTarget>
<RootNamespace>osu.Game.Rulesets.Tau</RootNamespace>
<LangVersion>default</LangVersion>
</PropertyGroup>
<PropertyGroup>
<AssemblyName>osu.Game.Rulesets.Tau</AssemblyName>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\**" />
<EmbeddedResource Update="Localisation\Translations\Beatmap.*.resx">
<DependentUpon>Beatmap.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Update="Localisation\Translations\Inputs.*.resx">
<DependentUpon>Inputs.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Update="Localisation\Translations\KiaiType.*.resx">
<DependentUpon>KiaiType.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Update="Localisation\Translations\Settings.*.resx">
<DependentUpon>Settings.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Update="Localisation\Translations\UI.*.resx">
<DependentUpon>UI.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Update="Localisation\Translations\Mods.*.resx">
<DependentUpon>Mods.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Update="Localisation\Translations\UI.ar.resx">
<DependentUpon>UI.resx</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ppy.osu.Game" Version="2024.1008.0" />
</ItemGroup>
<ItemGroup>
<Compile Update="Objects\Drawables\DrawableSlider.Calculations.cs">
<DependentUpon>DrawableSlider.cs</DependentUpon>
</Compile>
<Compile Update="Objects\Drawables\DrawableSlider.Graphics.cs">
<DependentUpon>DrawableSlider.cs</DependentUpon>
</Compile>
<Compile Update="Objects\Drawables\DrawableSlider.Graphics.SliderPathDrawNode.cs">
<DependentUpon>DrawableSlider.Graphics.cs</DependentUpon>
</Compile>
</ItemGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup Label="Project">
<TargetFramework>net8.0</TargetFramework>
<AssemblyTitle>osu.Game.Rulesets.Tau</AssemblyTitle>
<OutputType>Library</OutputType>
<PlatformTarget>AnyCPU</PlatformTarget>
<RootNamespace>osu.Game.Rulesets.Tau</RootNamespace>
<LangVersion>default</LangVersion>
</PropertyGroup>
<PropertyGroup>
<AssemblyName>osu.Game.Rulesets.Tau</AssemblyName>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\**" />
<EmbeddedResource Update="Localisation\Translations\Beatmap.*.resx">
<DependentUpon>Beatmap.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Update="Localisation\Translations\Inputs.*.resx">
<DependentUpon>Inputs.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Update="Localisation\Translations\KiaiType.*.resx">
<DependentUpon>KiaiType.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Update="Localisation\Translations\Settings.*.resx">
<DependentUpon>Settings.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Update="Localisation\Translations\UI.*.resx">
<DependentUpon>UI.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Update="Localisation\Translations\Mods.*.resx">
<DependentUpon>Mods.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Update="Localisation\Translations\UI.ar.resx">
<DependentUpon>UI.resx</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ppy.osu.Game" Version="2024.1008.0" />
</ItemGroup>
<ItemGroup>
<Compile Update="Objects\Drawables\DrawableSlider.Calculations.cs">
<DependentUpon>DrawableSlider.cs</DependentUpon>
</Compile>
<Compile Update="Objects\Drawables\DrawableSlider.Graphics.cs">
<DependentUpon>DrawableSlider.cs</DependentUpon>
</Compile>
<Compile Update="Objects\Drawables\DrawableSlider.Graphics.SliderPathDrawNode.cs">
<DependentUpon>DrawableSlider.Graphics.cs</DependentUpon>
</Compile>
</ItemGroup>
</Project>

0 comments on commit a47268d

Please sign in to comment.