Skip to content

Commit

Permalink
FDK19: global using
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Ojii committed Dec 29, 2023
1 parent 905d2ff commit f9a8356
Show file tree
Hide file tree
Showing 51 changed files with 66 additions and 303 deletions.
16 changes: 16 additions & 0 deletions FDK19/FDK19.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<OutputType>Library</OutputType>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>true</ImplicitUsings>

<AssemblyName>FDK</AssemblyName>
<RootNamespace>FDK</RootNamespace>
Expand Down Expand Up @@ -57,6 +58,21 @@
<AdditionalFiles Include="../BannedSymbols.txt" />
</ItemGroup>

<ItemGroup>
<Using Include="System.Collections.Concurrent" />
<Using Include="System.Collections.Frozen" />
<Using Include="System.Collections.ObjectModel" />
<Using Include="System.Collections.Specialized" />
<Using Include="System.ComponentModel" />
<Using Include="System.Diagnostics" />
<Using Include="System.Drawing" />
<Using Include="System.Numerics" />
<Using Include="System.Reflection" />
<Using Include="System.Runtime.InteropServices" />
<Using Include="System.Text" />
<Using Include="System.Xml.XPath" />
</ItemGroup>

<PropertyGroup>
<PackageId>FDKライブラリ</PackageId>
<Product>FDKライブラリ ver.21</Product>
Expand Down
6 changes: 1 addition & 5 deletions FDK19/src/00.Common/CActivity.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 FDK;
namespace FDK;

public class CActivity
{
Expand Down
3 changes: 1 addition & 2 deletions FDK19/src/00.Common/CCommon.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using SkiaSharp;
using SkiaSharp;

namespace FDK;

Expand Down
8 changes: 1 addition & 7 deletions FDK19/src/00.Common/CConvert.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Linq;

namespace FDK;
namespace FDK;

public static class CConvert
{
Expand Down
6 changes: 1 addition & 5 deletions FDK19/src/00.Common/CCounter.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 FDK;
namespace FDK;

/// <summary>
/// 一定間隔で単純増加する整数(カウント値)を扱う。
Expand Down
6 changes: 1 addition & 5 deletions FDK19/src/00.Common/CFPS.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 FDK;
namespace FDK;

public class CFPS
{
Expand Down
4 changes: 1 addition & 3 deletions FDK19/src/00.Common/CJudgeTextEncoding.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.IO;

namespace FDK;
namespace FDK;

public class CJudgeTextEncoding
{
Expand Down
6 changes: 1 addition & 5 deletions FDK19/src/00.Common/COS.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 FDK;
namespace FDK;

public static class COS //2020.05.08 Mr-Ojii DTXManiaからいろいろと移植
{
Expand Down
8 changes: 1 addition & 7 deletions FDK19/src/00.Common/CTimer.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Diagnostics;

namespace FDK;
namespace FDK;

public class CTimer : CTimerBase
{
Expand Down
6 changes: 1 addition & 5 deletions FDK19/src/00.Common/CTimerBase.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 FDK;
namespace FDK;

/// <summary>
/// <para>タイマの抽象クラス。</para>
Expand Down
6 changes: 1 addition & 5 deletions FDK19/src/00.Common/CTraceLogListener.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.IO;
using System.Diagnostics;

namespace FDK;
namespace FDK;

public class CTraceLogListener : TraceListener
{
Expand Down
6 changes: 1 addition & 5 deletions FDK19/src/00.Common/CWebOpen.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;

namespace FDK;
namespace FDK;

public static class CWebOpen
{
Expand Down
8 changes: 1 addition & 7 deletions FDK19/src/01.Framework/Device.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FDK;
namespace FDK;

/// <summary>
/// 大規模な変更がめんどくさかったために作ったクラス
Expand Down
9 changes: 1 addition & 8 deletions FDK19/src/01.Framework/Game.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using System;
using System.ComponentModel;
using System.Threading;
using System.Reflection;
using System.IO;
using System.Text;
using System.Runtime.InteropServices;
using FDK.Windowing;
using FDK.Windowing;

namespace FDK;

Expand Down
13 changes: 1 addition & 12 deletions FDK19/src/01.Framework/SDL2/GameWindow.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Drawing;
using System.Diagnostics;
using System.ComponentModel;
using System.Runtime.InteropServices;
using SDL2;
using FDK;
using SDL2;

namespace FDK.Windowing;

Expand Down
8 changes: 1 addition & 7 deletions FDK19/src/01.Framework/SDL2/MouseWheelEvent.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FDK.Windowing;
namespace FDK.Windowing;

public class MouseWheelEventArgs : EventArgs
{
Expand Down
8 changes: 1 addition & 7 deletions FDK19/src/01.Framework/SDL2/WindowState.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FDK.Windowing;
namespace FDK.Windowing;

public enum WindowState
{
Expand Down
6 changes: 1 addition & 5 deletions FDK19/src/02.Input/CInputJoystick.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using SDL2;
using System.Runtime.CompilerServices;
using SDL2;

namespace FDK;

Expand Down
7 changes: 1 addition & 6 deletions FDK19/src/02.Input/CInputKeyboard.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using SDL2;

using SlimDXKey = SlimDXKeys.Key;
using SDL2;

namespace FDK;

Expand Down
6 changes: 1 addition & 5 deletions FDK19/src/02.Input/CInputMIDI.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;

namespace FDK;
namespace FDK;

public class CInputMIDI : IInputDevice, IDisposable
{
Expand Down
8 changes: 1 addition & 7 deletions FDK19/src/02.Input/CInputManager.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Commons.Music.Midi;
using Commons.Music.Midi;

namespace FDK;

Expand Down
5 changes: 1 addition & 4 deletions FDK19/src/02.Input/CInputMouse.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using SDL2;
using SDL2;

namespace FDK;

Expand Down
7 changes: 1 addition & 6 deletions FDK19/src/02.Input/DeviceConstantConverter.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Frozen;
using System.Text;

using SlimDXKey = SlimDXKeys.Key;
using SlimDXKey = SlimDXKeys.Key;
using SDLKey = SDL2.SDL.SDL_Scancode;

namespace FDK;
Expand Down
6 changes: 1 addition & 5 deletions FDK19/src/02.Input/EInputDeviceType.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 FDK;
namespace FDK;

// 定数
public enum EInputDeviceType
Expand Down
6 changes: 1 addition & 5 deletions FDK19/src/02.Input/IInputDevice.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 FDK;
namespace FDK;

public interface IInputDevice : IDisposable
{
Expand Down
7 changes: 1 addition & 6 deletions FDK19/src/02.Input/STInputEvent.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 FDK;
namespace FDK;

public enum EInputEventType
{
Expand Down
9 changes: 1 addition & 8 deletions FDK19/src/02.Input/SlimDXKeys.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SDL2;

namespace SlimDXKeys;
namespace SlimDXKeys;

public enum Key
{
Expand Down
8 changes: 1 addition & 7 deletions FDK19/src/03.Sound/CAudioDecoder.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using FFmpeg.AutoGen;
using FFmpeg.AutoGen;

namespace FDK;

Expand Down
10 changes: 1 addition & 9 deletions FDK19/src/03.Sound/CBassLibraryLoader.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
using System;
using System.IO;
using System.Reflection;
using System.Collections.Generic;
using System.Text;
using System.Runtime;
using System.Runtime.InteropServices;

namespace FDK;
namespace FDK;

//Linuxでの"BASS must be loaded first"のエラー解消用

Expand Down
9 changes: 1 addition & 8 deletions FDK19/src/03.Sound/CSound.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.IO;
using System.Linq;
using System.Threading;
using FDK.BassMixExtension;
using FDK.BassMixExtension;
using ManagedBass;
using ManagedBass.Mix;
using ManagedBass.Fx;
Expand Down
6 changes: 1 addition & 5 deletions FDK19/src/03.Sound/CSoundDeviceASIO.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.Diagnostics;
using ManagedBass;
using ManagedBass;
using ManagedBass.Asio;
using ManagedBass.Mix;

Expand Down
8 changes: 1 addition & 7 deletions FDK19/src/03.Sound/CSoundDeviceBASS.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.Reflection;
using System.IO;
using ManagedBass;
using ManagedBass;
using ManagedBass.Mix;

namespace FDK;
Expand Down
6 changes: 1 addition & 5 deletions FDK19/src/03.Sound/CSoundDeviceWASAPI.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.Diagnostics;
using ManagedBass;
using ManagedBass;
using ManagedBass.Wasapi;
using ManagedBass.Mix;

Expand Down
8 changes: 1 addition & 7 deletions FDK19/src/03.Sound/CSoundManager.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.IO;

namespace FDK;
namespace FDK;

#region [ DTXMania用拡張 ]
public class CSoundManager // : CSound
Expand Down
Loading

0 comments on commit f9a8356

Please sign in to comment.