Skip to content

Commit

Permalink
global using
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Ojii committed Dec 29, 2023
1 parent e79afe9 commit aaa14ff
Show file tree
Hide file tree
Showing 103 changed files with 101 additions and 707 deletions.
6 changes: 6 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@
<Using Include="System.ComponentModel" />
<Using Include="System.Diagnostics" />
<Using Include="System.Drawing" />
<Using Include="System.Globalization" />
<Using Include="System.Net.NetworkInformation" />
<Using Include="System.Numerics" />
<Using Include="System.Reflection" />
<Using Include="System.Runtime.InteropServices" />
<Using Include="System.Runtime.Serialization" />
<Using Include="System.Text" />
<Using Include="System.Text.Json" />
<Using Include="System.Text.Json.Serialization" />
<Using Include="System.Text.RegularExpressions" />
<Using Include="System.Xml.XPath" />
</ItemGroup>

Expand Down
5 changes: 0 additions & 5 deletions FDK19/src/04.Graphic/CTexture.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
using SDL2;
using SkiaSharp;

using Rectangle = System.Drawing.Rectangle;
using Point = System.Drawing.Point;
using Color = System.Drawing.Color;
using Size = System.Drawing.Size;

namespace FDK;

public class CTexture : IDisposable
Expand Down
2 changes: 0 additions & 2 deletions FDK19/src/04.Graphic/CVideoDecoder.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using FFmpeg.AutoGen;

using Size = System.Drawing.Size;
using SkiaSharp;

namespace FDK;
Expand Down
2 changes: 0 additions & 2 deletions FDK19/src/04.Graphic/TextRenderer/CCachedFontRenderer.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using SkiaSharp;

using Color = System.Drawing.Color;

namespace FDK;

/// <summary>
Expand Down
2 changes: 0 additions & 2 deletions FDK19/src/04.Graphic/TextRenderer/CFontRenderer.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using SkiaSharp;

using Color = System.Drawing.Color;

namespace FDK;

public class CFontRenderer : IDisposable
Expand Down
2 changes: 0 additions & 2 deletions FDK19/src/04.Graphic/TextRenderer/CSkiaSharpTextRenderer.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using SkiaSharp;

using Color = System.Drawing.Color;

namespace FDK;

internal class CSkiaSharpTextRenderer : ITextRenderer
Expand Down
2 changes: 0 additions & 2 deletions FDK19/src/04.Graphic/TextRenderer/ITextRenderer.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using SkiaSharp;

using Color = System.Drawing.Color;

namespace FDK;

internal interface ITextRenderer : IDisposable
Expand Down
11 changes: 1 addition & 10 deletions TJAPlayer3-f/src/Common/CConfigIni.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Runtime.InteropServices;
using System.IO;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using FDK;
using FDK;

namespace TJAPlayer3;

Expand Down
8 changes: 1 addition & 7 deletions TJAPlayer3-f/src/Common/CConfigToml.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.IO;
using System.Linq;
using System.Diagnostics;
using System.ComponentModel;
using System.Collections.Generic;
using FDK;
using FDK;
using Tomlyn;

namespace TJAPlayer3;
Expand Down
6 changes: 1 addition & 5 deletions TJAPlayer3-f/src/Common/CPad.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using FDK;
using FDK;

namespace TJAPlayer3;

Expand Down
10 changes: 1 addition & 9 deletions TJAPlayer3-f/src/Common/CSkin.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Diagnostics;
using FDK;
using System.Drawing;
using System.Linq;
using System.Runtime.Serialization;
using FDK;
using Tomlyn;

namespace TJAPlayer3;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using FDK;
using FDK;

namespace TJAPlayer3;

Expand All @@ -8,7 +7,7 @@ namespace TJAPlayer3;
/// group level values, and keyboard sound level adjustment increment
/// values, to flow between CConfigIni and the SoundGroupLevelController
/// without either of those two classes being aware of one another.
/// See those classes properties, methods, and events for more details.
/// See those classes properties, methods, and events for more details.
/// </summary>
internal static class ConfigIniToSoundGroupLevelControllerBinder
{
Expand Down
7 changes: 1 addition & 6 deletions TJAPlayer3-f/src/Common/C定数.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;

namespace TJAPlayer3;
namespace TJAPlayer3;

/// <summary>
/// 難易度。
Expand Down
6 changes: 1 addition & 5 deletions TJAPlayer3-f/src/Common/C文字コンソール.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using FDK;
using FDK;

namespace TJAPlayer3;

Expand Down
5 changes: 1 addition & 4 deletions TJAPlayer3-f/src/Common/DiscordRichPresence.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System.Runtime.InteropServices;
using System.Reflection;
using DiscordRPC;
using System;
using DiscordRPC;

internal class DiscordRichPresence : IDisposable
{
Expand Down
14 changes: 1 addition & 13 deletions TJAPlayer3-f/src/Common/Program.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.Text.Json;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Net.Http;
using FDK;
using FDK;
using SDL2;

namespace TJAPlayer3;
Expand Down
19 changes: 1 addition & 18 deletions TJAPlayer3-f/src/Common/TJAPlayer3.cs
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.Drawing;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Net.NetworkInformation;
using System.Threading.Tasks;
using FDK;
using System.Reflection;
using FDK;
using SkiaSharp;

using Rectangle = System.Drawing.Rectangle;
using Point = System.Drawing.Point;
using Color = System.Drawing.Color;
using Size = System.Drawing.Size;
using System.ComponentModel;

namespace TJAPlayer3;

internal class TJAPlayer3 : Game
Expand Down
8 changes: 1 addition & 7 deletions TJAPlayer3-f/src/Items/CItemBase.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Globalization;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;

namespace TJAPlayer3;
namespace TJAPlayer3;

/// <summary>
/// すべてのアイテムの基本クラス。
Expand Down
6 changes: 1 addition & 5 deletions TJAPlayer3-f/src/Items/CItemInteger.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace TJAPlayer3;
namespace TJAPlayer3;

/// <summary>
/// 「整数」を表すアイテム。
Expand Down
6 changes: 1 addition & 5 deletions TJAPlayer3-f/src/Items/CItemList.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace TJAPlayer3;
namespace TJAPlayer3;

/// <summary>
/// 「リスト」(複数の固定値からの1つを選択可能)を表すアイテム。
Expand Down
6 changes: 1 addition & 5 deletions TJAPlayer3-f/src/Items/CItemToggle.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace TJAPlayer3;
namespace TJAPlayer3;

/// <summary>
/// 「トグル」(ON, OFF の2状態)を表すアイテム。
Expand Down
8 changes: 1 addition & 7 deletions TJAPlayer3-f/src/Songs/CBoxDef.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.IO;
using System.Drawing;
using FDK;
using FDK;

namespace TJAPlayer3;

Expand Down
15 changes: 1 addition & 14 deletions TJAPlayer3-f/src/Songs/CDTX.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Runtime.InteropServices;
using System.Drawing;
using System.Diagnostics;
using System.IO;
using System.Globalization;
using System.Threading;
using System.Text.RegularExpressions;
using System.Text.Json;
using System.Text.Json.Serialization;
using FDK;
using FDK;

namespace TJAPlayer3;

Expand Down
6 changes: 1 addition & 5 deletions TJAPlayer3-f/src/Songs/CDTXCompanionFileFinder.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System.Diagnostics;
using System.IO;
using System.Text;

namespace TJAPlayer3;
namespace TJAPlayer3;

internal static class CDTXCompanionFileFinder
{
Expand Down
9 changes: 1 addition & 8 deletions TJAPlayer3-f/src/Songs/CDTXStyleExtractor.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace TJAPlayer3;
namespace TJAPlayer3;

/// <summary>
/// CDTXStyleExtractor determines if there is a session notation, and if there is then
Expand Down
9 changes: 1 addition & 8 deletions TJAPlayer3-f/src/Songs/CScoreJson.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using System;
using System.Diagnostics;
using System.IO;
using System.Text.Json;
using System.Collections.Generic;
using FDK;

namespace TJAPlayer3;
namespace TJAPlayer3;

public class CScoreJson
{
Expand Down
10 changes: 1 addition & 9 deletions TJAPlayer3-f/src/Songs/CSongsManager.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.Diagnostics;
using System.IO;
using System.Threading;
using TJAPlayer3.C曲リストノードComparers;
using FDK;
using TJAPlayer3.C曲リストノードComparers;

namespace TJAPlayer3;

Expand Down
7 changes: 1 addition & 6 deletions TJAPlayer3-f/src/Songs/ChartLoader/ChartLoader.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FDK;
using FDK;

namespace TJAPlayer3;

Expand Down
6 changes: 1 addition & 5 deletions TJAPlayer3-f/src/Songs/Cスコア.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using FDK;
using FDK;

namespace TJAPlayer3;

Expand Down
7 changes: 1 addition & 6 deletions TJAPlayer3-f/src/Songs/C曲リストノード.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text.Json.Serialization;

namespace TJAPlayer3;
namespace TJAPlayer3;

internal class C曲リストノード
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace TJAPlayer3.C曲リストノードComparers;
namespace TJAPlayer3.C曲リストノードComparers;

internal sealed class ComparerChain<T> : IComparer<T> where T : class
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Text;
using System.Collections.Generic;
using System.Runtime.CompilerServices;

namespace TJAPlayer3.C曲リストノードComparers;
namespace TJAPlayer3.C曲リストノードComparers;

internal sealed class C曲リストノードComparerGenre : IComparer<C曲リストノード>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace TJAPlayer3.C曲リストノードComparers;
namespace TJAPlayer3.C曲リストノードComparers;

internal sealed class C曲リストノードComparerタイトル : IComparer<C曲リストノード>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;

namespace TJAPlayer3.C曲リストノードComparers;
namespace TJAPlayer3.C曲リストノードComparers;

internal sealed class C曲リストノードComparerNodeType : IComparer<C曲リストノード>
{
Expand Down
Loading

0 comments on commit aaa14ff

Please sign in to comment.