File Scoped Namespace Declarations (#716)
* refactor: file-scoped namespace OpenTaiko * refactor: file-scoped namespace FDK * refactor: dotnet format
This commit is contained in:
parent
e87212ea60
commit
fcf4f80b34
@ -1,4 +1,5 @@
|
|||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class CActivity {
|
public class CActivity {
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
@ -148,4 +149,3 @@
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class CConversion {
|
public class CConversion {
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
@ -234,4 +235,3 @@
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 一定間隔で単純増加する整数(カウント値)を扱う。
|
/// 一定間隔で単純増加する整数(カウント値)を扱う。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -268,4 +269,3 @@
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class CFPS {
|
public class CFPS {
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
@ -58,4 +59,3 @@
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 汎用的な .iniファイルを扱う。
|
/// 汎用的な .iniファイルを扱う。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
||||||
public class CIniFile {
|
public class CIniFile {
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
@ -109,4 +109,3 @@ namespace FDK {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>一定の間隔で処理を行うテンプレートパターンの定義。</para>
|
/// <para>一定の間隔で処理を行うテンプレートパターンの定義。</para>
|
||||||
/// <para>たとえば、t進行() で 5ms ごとに行う処理を前回のt進行()の呼び出しから 15ms 後に呼び出した場合は、処理が 3回 実行される。</para>
|
/// <para>たとえば、t進行() で 5ms ごとに行う処理を前回のt進行()の呼び出しから 15ms 後に呼び出した場合は、処理が 3回 実行される。</para>
|
||||||
@ -49,4 +50,3 @@
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
public class CJudgeTextEncoding {
|
public class CJudgeTextEncoding {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Hnc8様のReadJEncを使用して文字コードの判別をする。
|
/// Hnc8様のReadJEncを使用して文字コードの判別をする。
|
||||||
@ -66,4 +67,3 @@ namespace OpenTaiko {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class CTimer : CTimerBase {
|
public class CTimer : CTimerBase {
|
||||||
public enum TimerType {
|
public enum TimerType {
|
||||||
Unknown = -1,
|
Unknown = -1,
|
||||||
@ -153,4 +154,3 @@
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <para>タイマの抽象クラス。</para>
|
/// <para>タイマの抽象クラス。</para>
|
||||||
/// <para>このクラスを継承し、override したクラスを作成することで、任意のクロックを持つタイマを作成できる。</para>
|
/// <para>このクラスを継承し、override したクラスを作成することで、任意のクロックを持つタイマを作成できる。</para>
|
||||||
@ -141,4 +142,3 @@
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class CTraceLogListener : TraceListener {
|
public class CTraceLogListener : TraceListener {
|
||||||
public CTraceLogListener(StreamWriter stream) {
|
public CTraceLogListener(StreamWriter stream) {
|
||||||
this.LogStreamWriter = stream;
|
this.LogStreamWriter = stream;
|
||||||
@ -106,4 +107,3 @@ namespace FDK {
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class CUtility {
|
public class CUtility {
|
||||||
|
|
||||||
public static void RunCompleteGC() {
|
public static void RunCompleteGC() {
|
||||||
@ -106,4 +107,3 @@ namespace FDK {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class Color4 {
|
public class Color4 {
|
||||||
public float Red;
|
public float Red;
|
||||||
public float Green;
|
public float Green;
|
||||||
@ -19,4 +20,3 @@
|
|||||||
Red = (rgba & 255) / 255.0f;
|
Red = (rgba & 255) / 255.0f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
namespace FDK.ExtensionMethods {
|
namespace FDK.ExtensionMethods;
|
||||||
|
|
||||||
public static class DoubleExtensions {
|
public static class DoubleExtensions {
|
||||||
public static double Clamp(this double value, double min, double max) {
|
public static double Clamp(this double value, double min, double max) {
|
||||||
return Math.Min(Math.Max(value, min), max);
|
return Math.Min(Math.Max(value, min), max);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
namespace FDK.ExtensionMethods {
|
namespace FDK.ExtensionMethods;
|
||||||
|
|
||||||
public static class Int32Extensions {
|
public static class Int32Extensions {
|
||||||
public static int Clamp(this int value, int min, int max) {
|
public static int Clamp(this int value, int min, int max) {
|
||||||
return Math.Min(Math.Max(value, min), max);
|
return Math.Min(Math.Max(value, min), max);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -32,7 +32,8 @@ using Silk.NET.OpenGLES.Extensions.ImGui;
|
|||||||
using Silk.NET.Windowing;
|
using Silk.NET.Windowing;
|
||||||
using SkiaSharp;
|
using SkiaSharp;
|
||||||
|
|
||||||
namespace SampleFramework {
|
namespace SampleFramework;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Presents an easy to use wrapper for making games and samples.
|
/// Presents an easy to use wrapper for making games and samples.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -77,8 +78,7 @@ namespace SampleFramework {
|
|||||||
ImGuiIO.Fonts.SetTexID((nint)ImGuiFontAtlas.Pointer);
|
ImGuiIO.Fonts.SetTexID((nint)ImGuiFontAtlas.Pointer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
} catch (Exception ex) {
|
||||||
catch (Exception ex) {
|
|
||||||
ImGuiIO.Fonts.Clear();
|
ImGuiIO.Fonts.Clear();
|
||||||
ImGuiIO.Fonts.AddFontDefault();
|
ImGuiIO.Fonts.AddFontDefault();
|
||||||
}
|
}
|
||||||
@ -484,4 +484,3 @@ namespace SampleFramework {
|
|||||||
|
|
||||||
public void Window_FramebufferResize(Vector2D<int> size) { }
|
public void Window_FramebufferResize(Vector2D<int> size) { }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
namespace SampleFramework {
|
namespace SampleFramework;
|
||||||
|
|
||||||
public static class GameWindowSize {
|
public static class GameWindowSize {
|
||||||
public static int Width = 1280;
|
public static int Width = 1280;
|
||||||
public static int Height = 720;
|
public static int Height = 720;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -30,7 +30,8 @@ using System.Runtime.InteropServices;
|
|||||||
|
|
||||||
#pragma warning disable 1591 // Missing XML comments
|
#pragma warning disable 1591 // Missing XML comments
|
||||||
|
|
||||||
namespace OpenTK.Graphics.Egl {
|
namespace OpenTK.Graphics.Egl;
|
||||||
|
|
||||||
using EGLClientBuffer = IntPtr;
|
using EGLClientBuffer = IntPtr;
|
||||||
using EGLConfig = IntPtr;
|
using EGLConfig = IntPtr;
|
||||||
using EGLContext = IntPtr;
|
using EGLContext = IntPtr;
|
||||||
@ -402,4 +403,3 @@ namespace OpenTK.Graphics.Egl {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using Silk.NET.Input;
|
using Silk.NET.Input;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class CInputGamepad : IInputDevice, IDisposable {
|
public class CInputGamepad : IInputDevice, IDisposable {
|
||||||
// Constructor
|
// Constructor
|
||||||
|
|
||||||
@ -143,4 +144,3 @@ namespace FDK {
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using Silk.NET.Input;
|
using Silk.NET.Input;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class CInputJoystick : IInputDevice, IDisposable {
|
public class CInputJoystick : IInputDevice, IDisposable {
|
||||||
// Constructor
|
// Constructor
|
||||||
|
|
||||||
@ -151,4 +152,3 @@ namespace FDK {
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using Silk.NET.Input;
|
using Silk.NET.Input;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class CInputKeyboard : IInputDevice, IDisposable {
|
public class CInputKeyboard : IInputDevice, IDisposable {
|
||||||
// Constructor
|
// Constructor
|
||||||
|
|
||||||
@ -141,4 +142,3 @@ namespace FDK {
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class CInputMIDI : IInputDevice, IDisposable {
|
public class CInputMIDI : IInputDevice, IDisposable {
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
@ -106,4 +107,3 @@
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
using Silk.NET.Input;
|
using Silk.NET.Input;
|
||||||
using Silk.NET.Windowing;
|
using Silk.NET.Windowing;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class CInputManager : IDisposable {
|
public class CInputManager : IDisposable {
|
||||||
// 定数
|
// 定数
|
||||||
|
|
||||||
@ -197,4 +198,3 @@ namespace FDK {
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
using Silk.NET.Input;
|
using Silk.NET.Input;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class CInputMouse : IInputDevice, IDisposable {
|
public class CInputMouse : IInputDevice, IDisposable {
|
||||||
// 定数
|
// 定数
|
||||||
|
|
||||||
@ -136,4 +137,3 @@ namespace FDK {
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
using SlimDXKey = SlimDXKeys.Key;
|
using SlimDXKey = SlimDXKeys.Key;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public static class DeviceConstantConverter {
|
public static class DeviceConstantConverter {
|
||||||
// メソッド
|
// メソッド
|
||||||
|
|
||||||
@ -170,4 +171,3 @@ namespace FDK {
|
|||||||
*/
|
*/
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public interface IInputDevice : IDisposable {
|
public interface IInputDevice : IDisposable {
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
@ -31,4 +32,3 @@
|
|||||||
bool KeyReleasing(int nKey);
|
bool KeyReleasing(int nKey);
|
||||||
bool KeyReleasing(List<int> nKey) { return nKey.Any(key => KeyReleasing(key)); }
|
bool KeyReleasing(List<int> nKey) { return nKey.Any(key => KeyReleasing(key)); }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
namespace FDK {
|
namespace FDK;
|
||||||
// 定数
|
// 定数
|
||||||
|
|
||||||
public enum InputDeviceType {
|
public enum InputDeviceType {
|
||||||
@ -9,4 +9,3 @@
|
|||||||
MidiIn,
|
MidiIn,
|
||||||
Unknown
|
Unknown
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
// 構造体
|
// 構造体
|
||||||
|
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
@ -11,4 +11,3 @@ namespace FDK {
|
|||||||
public long nTimeStamp { get; set; }
|
public long nTimeStamp { get; set; }
|
||||||
public int nVelocity { get; set; }
|
public int nVelocity { get; set; }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace SlimDXKeys {
|
namespace SlimDXKeys;
|
||||||
|
|
||||||
public enum Key {
|
public enum Key {
|
||||||
D0 = 0,
|
D0 = 0,
|
||||||
D1 = 1,
|
D1 = 1,
|
||||||
@ -159,4 +160,3 @@
|
|||||||
YAxis = 9,
|
YAxis = 9,
|
||||||
ZAxis = 10
|
ZAxis = 10
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -8,7 +8,7 @@ using ManagedBass.Fx;
|
|||||||
using ManagedBass.Mix;
|
using ManagedBass.Mix;
|
||||||
|
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
// CSound は、サウンドデバイスが変更されたときも、インスタンスを再作成することなく、新しいデバイスで作り直せる必要がある。
|
// CSound は、サウンドデバイスが変更されたときも、インスタンスを再作成することなく、新しいデバイスで作り直せる必要がある。
|
||||||
// そのため、デバイスごとに別のクラスに分割するのではなく、1つのクラスに集約するものとする。
|
// そのため、デバイスごとに別のクラスに分割するのではなく、1つのクラスに集約するものとする。
|
||||||
|
|
||||||
@ -739,4 +739,3 @@ namespace FDK {
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -3,7 +3,8 @@ using ManagedBass;
|
|||||||
using ManagedBass.Asio;
|
using ManagedBass.Asio;
|
||||||
using ManagedBass.Mix;
|
using ManagedBass.Mix;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 全ASIOデバイスを列挙する静的クラス。
|
/// 全ASIOデバイスを列挙する静的クラス。
|
||||||
/// BASS_Init()やBASS_ASIO_Init()の状態とは無関係に使用可能。
|
/// BASS_Init()やBASS_ASIO_Init()の状態とは無関係に使用可能。
|
||||||
@ -378,4 +379,3 @@ namespace FDK {
|
|||||||
private long n累積転送バイト数 = 0;
|
private long n累積転送バイト数 = 0;
|
||||||
private bool bIsBASSFree = true;
|
private bool bIsBASSFree = true;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
using ManagedBass;
|
using ManagedBass;
|
||||||
using ManagedBass.Mix;
|
using ManagedBass.Mix;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class CSoundDeviceBASS : ISoundDevice {
|
public class CSoundDeviceBASS : ISoundDevice {
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
@ -222,4 +223,3 @@ namespace FDK {
|
|||||||
|
|
||||||
//WASAPIとASIOはLinuxでは使えないので、ここだけで良し
|
//WASAPIとASIOはLinuxでは使えないので、ここだけで良し
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -3,7 +3,8 @@ using ManagedBass;
|
|||||||
using ManagedBass.Mix;
|
using ManagedBass.Mix;
|
||||||
using ManagedBass.Wasapi;
|
using ManagedBass.Wasapi;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
internal class CSoundDeviceWASAPI : ISoundDevice {
|
internal class CSoundDeviceWASAPI : ISoundDevice {
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
@ -425,4 +426,3 @@ namespace FDK {
|
|||||||
private bool b最初の実出力遅延算出 = true;
|
private bool b最初の実出力遅延算出 = true;
|
||||||
private bool bIsBASSFree = true;
|
private bool bIsBASSFree = true;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class CSoundTimer : CTimerBase {
|
public class CSoundTimer : CTimerBase {
|
||||||
public override long SystemTimeMs {
|
public override long SystemTimeMs {
|
||||||
get {
|
get {
|
||||||
@ -100,4 +101,3 @@ namespace FDK {
|
|||||||
|
|
||||||
private CTimer ct = null; // TESTCODE
|
private CTimer ct = null; // TESTCODE
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public enum ESoundDeviceType {
|
public enum ESoundDeviceType {
|
||||||
Bass,
|
Bass,
|
||||||
ExclusiveWASAPI,
|
ExclusiveWASAPI,
|
||||||
@ -6,4 +7,3 @@
|
|||||||
ASIO,
|
ASIO,
|
||||||
Unknown,
|
Unknown,
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public enum ESoundGroup {
|
public enum ESoundGroup {
|
||||||
SoundEffect = 1,
|
SoundEffect = 1,
|
||||||
Voice = 2,
|
Voice = 2,
|
||||||
@ -6,4 +7,3 @@
|
|||||||
SongPlayback = 4,
|
SongPlayback = 4,
|
||||||
Unknown = 0
|
Unknown = 0
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
using ManagedBass;
|
using ManagedBass;
|
||||||
using ManagedBass.Mix;
|
using ManagedBass.Mix;
|
||||||
|
|
||||||
namespace FDK.BassMixExtension {
|
namespace FDK.BassMixExtension;
|
||||||
|
|
||||||
public static class BassMixExtensions {
|
public static class BassMixExtensions {
|
||||||
public static bool ChannelPlay(int hHandle) {
|
public static bool ChannelPlay(int hHandle) {
|
||||||
return BassMix.ChannelRemoveFlag(hHandle, BassFlags.MixerChanPause);
|
return BassMix.ChannelRemoveFlag(hHandle, BassFlags.MixerChanPause);
|
||||||
@ -15,4 +16,3 @@ namespace FDK.BassMixExtension {
|
|||||||
return !BassMix.ChannelHasFlag(hHandle, BassFlags.MixerChanPause);
|
return !BassMix.ChannelHasFlag(hHandle, BassFlags.MixerChanPause);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
internal interface ISoundDevice : IDisposable {
|
internal interface ISoundDevice : IDisposable {
|
||||||
ESoundDeviceType SoundDeviceType { get; }
|
ESoundDeviceType SoundDeviceType { get; }
|
||||||
int nMasterVolume { get; set; }
|
int nMasterVolume { get; set; }
|
||||||
@ -11,4 +12,3 @@
|
|||||||
CSound tCreateSound(string strファイル名, ESoundGroup soundGroup);
|
CSound tCreateSound(string strファイル名, ESoundGroup soundGroup);
|
||||||
void tCreateSound(string strファイル名, CSound sound);
|
void tCreateSound(string strファイル名, CSound sound);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The LoudnessMetadata structure is used to carry, and assist with
|
/// The LoudnessMetadata structure is used to carry, and assist with
|
||||||
/// calculations related to, integrated loudness and true peak
|
/// calculations related to, integrated loudness and true peak
|
||||||
@ -14,4 +15,3 @@
|
|||||||
TruePeak = truePeak;
|
TruePeak = truePeak;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Xml.XPath;
|
using System.Xml.XPath;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The LoudnessMetadataScanner plays two roles:
|
/// The LoudnessMetadataScanner plays two roles:
|
||||||
/// 1. Scanning of song audio files using BS1770GAIN (http://bs1770gain.sourceforge.net/)
|
/// 1. Scanning of song audio files using BS1770GAIN (http://bs1770gain.sourceforge.net/)
|
||||||
@ -293,4 +294,3 @@ namespace FDK {
|
|||||||
|
|
||||||
public static event EventHandler<ScanningStateChangedEventArgs> ScanningStateChanged;
|
public static event EventHandler<ScanningStateChangedEventArgs> ScanningStateChanged;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The Lufs structure is used to carry, and assist with calculations related to,
|
/// The Lufs structure is used to carry, and assist with calculations related to,
|
||||||
/// Loudness Units relative to Full Scale. LUFS are measured in absolute scale
|
/// Loudness Units relative to Full Scale. LUFS are measured in absolute scale
|
||||||
@ -34,4 +35,3 @@
|
|||||||
return new Lufs(left._value + right._value);
|
return new Lufs(left._value + right._value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// SongGainController provides a central place through which song preview
|
/// SongGainController provides a central place through which song preview
|
||||||
/// and song playback attempt to apply BS1770GAIN-based loudness metadata
|
/// and song playback attempt to apply BS1770GAIN-based loudness metadata
|
||||||
@ -23,4 +24,3 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
using System.Collections.Specialized;
|
using System.Collections.Specialized;
|
||||||
using FDK.ExtensionMethods;
|
using FDK.ExtensionMethods;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// SoundGroupLevelController holds the current sound level value for each
|
/// SoundGroupLevelController holds the current sound level value for each
|
||||||
/// of the unique sound groups, along with an increment by which they can
|
/// of the unique sound groups, along with an increment by which they can
|
||||||
@ -110,4 +111,3 @@ namespace FDK {
|
|||||||
|
|
||||||
public event EventHandler<LevelChangedEventArgs> LevelChanged;
|
public event EventHandler<LevelChangedEventArgs> LevelChanged;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -3,7 +3,8 @@ using ManagedBass;
|
|||||||
using Silk.NET.Windowing;
|
using Silk.NET.Windowing;
|
||||||
|
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class SoundManager // : CSound
|
public class SoundManager // : CSound
|
||||||
{
|
{
|
||||||
private static ISoundDevice SoundDevice {
|
private static ISoundDevice SoundDevice {
|
||||||
@ -378,4 +379,3 @@ namespace FDK {
|
|||||||
cs.tRemoveSoundFromMixer();
|
cs.tRemoveSoundFromMixer();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using SkiaSharp;
|
using SkiaSharp;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public static class BitmapUtil {
|
public static class BitmapUtil {
|
||||||
// 定数
|
// 定数
|
||||||
|
|
||||||
@ -63,4 +64,3 @@ namespace FDK {
|
|||||||
//return new SKBitmap( writer.BaseStream );
|
//return new SKBitmap( writer.BaseStream );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FFmpeg.AutoGen;
|
using FFmpeg.AutoGen;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class CDecodedFrame : IDisposable {
|
public class CDecodedFrame : IDisposable {
|
||||||
public CDecodedFrame(Size texsize) {
|
public CDecodedFrame(Size texsize) {
|
||||||
this.Using = false;
|
this.Using = false;
|
||||||
@ -43,4 +44,3 @@ namespace FDK {
|
|||||||
Marshal.FreeHGlobal(this.TexPointer);
|
Marshal.FreeHGlobal(this.TexPointer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -3,7 +3,8 @@ using System.Runtime.InteropServices;
|
|||||||
using FFmpeg.AutoGen;
|
using FFmpeg.AutoGen;
|
||||||
|
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public unsafe class CFrameConverter : IDisposable {
|
public unsafe class CFrameConverter : IDisposable {
|
||||||
public CFrameConverter(Size FrameSize, AVPixelFormat pix_fmt) {
|
public CFrameConverter(Size FrameSize, AVPixelFormat pix_fmt) {
|
||||||
this.FrameSize = FrameSize;
|
this.FrameSize = FrameSize;
|
||||||
@ -60,4 +61,3 @@ namespace FDK {
|
|||||||
private bool IsConvert = false;
|
private bool IsConvert = false;
|
||||||
private Size FrameSize;
|
private Size FrameSize;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -7,7 +7,8 @@ using Point = System.Drawing.Point;
|
|||||||
using Rectangle = System.Drawing.Rectangle;
|
using Rectangle = System.Drawing.Rectangle;
|
||||||
using RectangleF = System.Drawing.RectangleF;
|
using RectangleF = System.Drawing.RectangleF;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class CTexture : IDisposable {
|
public class CTexture : IDisposable {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// バッファの集まり
|
/// バッファの集まり
|
||||||
@ -944,4 +945,3 @@ namespace FDK {
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using Rectangle = System.Drawing.Rectangle;
|
using Rectangle = System.Drawing.Rectangle;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 縦長_横長の画像を自動で折りたたんでテクスチャ化するCTexture。
|
/// 縦長_横長の画像を自動で折りたたんでテクスチャ化するCTexture。
|
||||||
/// 例えば、768x30 のテクスチャファイルが入力されたら、
|
/// 例えば、768x30 のテクスチャファイルが入力されたら、
|
||||||
@ -176,4 +177,3 @@ namespace FDK {
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using System.Runtime.Serialization;
|
using System.Runtime.Serialization;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// テクスチャの作成に失敗しました。
|
/// テクスチャの作成に失敗しました。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -17,4 +18,3 @@ namespace FDK {
|
|||||||
: base(message, innerException) {
|
: base(message, innerException) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -3,7 +3,8 @@ using System.Diagnostics;
|
|||||||
using FFmpeg.AutoGen;
|
using FFmpeg.AutoGen;
|
||||||
using Size = System.Drawing.Size;
|
using Size = System.Drawing.Size;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ビデオのデコードをするクラス
|
/// ビデオのデコードをするクラス
|
||||||
/// ファイル名・nullのCTextureをもらえれば、勝手に、CTextureに映像を格納して返す。
|
/// ファイル名・nullのCTextureをもらえれば、勝手に、CTextureに映像を格納して返す。
|
||||||
@ -282,4 +283,3 @@ namespace FDK {
|
|||||||
private CFrameConverter frameconv;
|
private CFrameConverter frameconv;
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -3,7 +3,8 @@ using SkiaSharp;
|
|||||||
|
|
||||||
using Color = System.Drawing.Color;
|
using Color = System.Drawing.Color;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 高速描画版のCFontRendererクラス。
|
/// 高速描画版のCFontRendererクラス。
|
||||||
/// といっても、一度レンダリングした結果をキャッシュして使いまわしているだけ。
|
/// といっても、一度レンダリングした結果をキャッシュして使いまわしているだけ。
|
||||||
@ -237,4 +238,3 @@ namespace FDK {
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -5,7 +5,7 @@ using SkiaSharp;
|
|||||||
using static FDK.CSkiaSharpTextRenderer;
|
using static FDK.CSkiaSharpTextRenderer;
|
||||||
using Color = System.Drawing.Color;
|
using Color = System.Drawing.Color;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
public class CFontRenderer : IDisposable {
|
public class CFontRenderer : IDisposable {
|
||||||
#region[static系]
|
#region[static系]
|
||||||
@ -259,4 +259,3 @@ namespace FDK {
|
|||||||
|
|
||||||
private ITextRenderer textRenderer;
|
private ITextRenderer textRenderer;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -3,7 +3,8 @@ using System.Text.RegularExpressions;
|
|||||||
using SkiaSharp;
|
using SkiaSharp;
|
||||||
using Color = System.Drawing.Color;
|
using Color = System.Drawing.Color;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
internal class CSkiaSharpTextRenderer : ITextRenderer {
|
internal class CSkiaSharpTextRenderer : ITextRenderer {
|
||||||
//https://monobook.org/wiki/SkiaSharp%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E6%96%87%E5%AD%97%E5%88%97%E3%82%92%E6%8F%8F%E7%94%BB%E3%81%99%E3%82%8B
|
//https://monobook.org/wiki/SkiaSharp%E3%81%A7%E6%97%A5%E6%9C%AC%E8%AA%9E%E6%96%87%E5%AD%97%E5%88%97%E3%82%92%E6%8F%8F%E7%94%BB%E3%81%99%E3%82%8B
|
||||||
public CSkiaSharpTextRenderer(string fontpath, int pt) {
|
public CSkiaSharpTextRenderer(string fontpath, int pt) {
|
||||||
@ -295,4 +296,3 @@ namespace FDK {
|
|||||||
|
|
||||||
private SKPaint paint = null;
|
private SKPaint paint = null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -2,7 +2,8 @@ using SkiaSharp;
|
|||||||
using static FDK.CSkiaSharpTextRenderer;
|
using static FDK.CSkiaSharpTextRenderer;
|
||||||
using Color = System.Drawing.Color;
|
using Color = System.Drawing.Color;
|
||||||
|
|
||||||
namespace FDK {
|
namespace FDK;
|
||||||
|
|
||||||
internal interface ITextRenderer : IDisposable {
|
internal interface ITextRenderer : IDisposable {
|
||||||
SKBitmap DrawText(string drawstr, CFontRenderer.DrawMode drawmode, Color fontColor, Color edgeColor, Color? secondEdgeColor, Color gradationTopColor, Color gradationBottomColor, int edge_Ratio, bool keepCenter);
|
SKBitmap DrawText(string drawstr, CFontRenderer.DrawMode drawmode, Color fontColor, Color edgeColor, Color? secondEdgeColor, Color gradationTopColor, Color gradationBottomColor, int edge_Ratio, bool keepCenter);
|
||||||
|
|
||||||
@ -10,4 +11,3 @@ namespace FDK {
|
|||||||
|
|
||||||
List<SStringToken> Tokenize(string input, Color fontColor, Color edgeColor, Color? secondEdgeColor, Color gradationTopColor, Color gradationBottomColor);
|
List<SStringToken> Tokenize(string input, Color fontColor, Color edgeColor, Color? secondEdgeColor, Color gradationTopColor, Color gradationBottomColor);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using FDK;
|
using FDK;
|
||||||
|
|
||||||
namespace OpenTaiko.Animations {
|
namespace OpenTaiko.Animations;
|
||||||
|
|
||||||
class Animator : IAnimatable {
|
class Animator : IAnimatable {
|
||||||
public Animator(int startValue, int endValue, int tickInterval, bool isLoop) {
|
public Animator(int startValue, int endValue, int tickInterval, bool isLoop) {
|
||||||
Type = CounterType.Normal;
|
Type = CounterType.Normal;
|
||||||
@ -93,4 +94,3 @@ namespace OpenTaiko.Animations {
|
|||||||
Normal,
|
Normal,
|
||||||
Double
|
Double
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace OpenTaiko.Animations {
|
namespace OpenTaiko.Animations;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A class that performs ease-in animation.
|
/// A class that performs ease-in animation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -26,4 +27,3 @@
|
|||||||
private readonly int Sa;
|
private readonly int Sa;
|
||||||
private readonly int TimeMs;
|
private readonly int TimeMs;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace OpenTaiko.Animations {
|
namespace OpenTaiko.Animations;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A class that performs ease-in-out animation.
|
/// A class that performs ease-in-out animation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -31,4 +32,3 @@
|
|||||||
private readonly int Sa;
|
private readonly int Sa;
|
||||||
private readonly int TimeMs;
|
private readonly int TimeMs;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace OpenTaiko.Animations {
|
namespace OpenTaiko.Animations;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A class that performs ease-out animation.
|
/// A class that performs ease-out animation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -27,4 +28,3 @@
|
|||||||
private readonly int Sa;
|
private readonly int Sa;
|
||||||
private readonly int TimeMs;
|
private readonly int TimeMs;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace OpenTaiko.Animations {
|
namespace OpenTaiko.Animations;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A class that performs fade-in animation.
|
/// A class that performs fade-in animation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -22,4 +23,3 @@
|
|||||||
|
|
||||||
private readonly int TimeMs;
|
private readonly int TimeMs;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace OpenTaiko.Animations {
|
namespace OpenTaiko.Animations;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A class that performs fade-out animation.
|
/// A class that performs fade-out animation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -22,4 +23,3 @@
|
|||||||
|
|
||||||
private readonly int TimeMs;
|
private readonly int TimeMs;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace OpenTaiko.Animations {
|
namespace OpenTaiko.Animations;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Animation interface.
|
/// Animation interface.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -25,4 +26,3 @@
|
|||||||
/// <returns>Animation parameters.</returns>
|
/// <returns>Animation parameters.</returns>
|
||||||
object GetAnimation();
|
object GetAnimation();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace OpenTaiko.Animations {
|
namespace OpenTaiko.Animations;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A class that performs linear animation.
|
/// A class that performs linear animation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -26,4 +27,3 @@
|
|||||||
private readonly int Sa;
|
private readonly int Sa;
|
||||||
private readonly int TimeMs;
|
private readonly int TimeMs;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using FDK;
|
using FDK;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
class CMenuCharacter {
|
class CMenuCharacter {
|
||||||
private static CCounter[] ctCharacterNormal = new CCounter[5] { new CCounter(), new CCounter(), new CCounter(), new CCounter(), new CCounter() };
|
private static CCounter[] ctCharacterNormal = new CCounter[5] { new CCounter(), new CCounter(), new CCounter(), new CCounter(), new CCounter() };
|
||||||
private static CCounter[] ctCharacterSelect = new CCounter[5] { new CCounter(), new CCounter(), new CCounter(), new CCounter(), new CCounter() };
|
private static CCounter[] ctCharacterSelect = new CCounter[5] { new CCounter(), new CCounter(), new CCounter(), new CCounter(), new CCounter() };
|
||||||
@ -270,4 +271,3 @@ namespace OpenTaiko {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using FDK;
|
using FDK;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
class CResultCharacter {
|
class CResultCharacter {
|
||||||
private static CCounter[] ctCharacterNormal = new CCounter[5] { new CCounter(), new CCounter(), new CCounter(), new CCounter(), new CCounter() };
|
private static CCounter[] ctCharacterNormal = new CCounter[5] { new CCounter(), new CCounter(), new CCounter(), new CCounter(), new CCounter() };
|
||||||
private static CCounter[] ctCharacterClear = new CCounter[5] { new CCounter(), new CCounter(), new CCounter(), new CCounter(), new CCounter() };
|
private static CCounter[] ctCharacterClear = new CCounter[5] { new CCounter(), new CCounter(), new CCounter(), new CCounter(), new CCounter() };
|
||||||
@ -231,4 +232,3 @@ namespace OpenTaiko {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
using Silk.NET.Maths;
|
using Silk.NET.Maths;
|
||||||
using Rectangle = System.Drawing.Rectangle;
|
using Rectangle = System.Drawing.Rectangle;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
class PuchiChara : CActivity {
|
class PuchiChara : CActivity {
|
||||||
public PuchiChara() {
|
public PuchiChara() {
|
||||||
base.IsDeActivated = true;
|
base.IsDeActivated = true;
|
||||||
@ -97,4 +98,3 @@ namespace OpenTaiko {
|
|||||||
private CCounter SineCounterIdle;
|
private CCounter SineCounterIdle;
|
||||||
private bool inGame;
|
private bool inGame;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
internal class BestPlayRecords {
|
internal class BestPlayRecords {
|
||||||
|
|
||||||
public enum EClearStatus {
|
public enum EClearStatus {
|
||||||
@ -195,4 +196,3 @@
|
|||||||
return stats;
|
return stats;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -5,7 +5,8 @@ using System.Text;
|
|||||||
using FDK;
|
using FDK;
|
||||||
using FDK.ExtensionMethods;
|
using FDK.ExtensionMethods;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
internal class CConfigIni : INotifyPropertyChanged {
|
internal class CConfigIni : INotifyPropertyChanged {
|
||||||
private const int MinimumKeyboardSoundLevelIncrement = 1;
|
private const int MinimumKeyboardSoundLevelIncrement = 1;
|
||||||
private const int MaximumKeyboardSoundLevelIncrement = 20;
|
private const int MaximumKeyboardSoundLevelIncrement = 20;
|
||||||
@ -3777,4 +3778,3 @@ TrainingJumpToLastMeasure=K051
|
|||||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
public enum Difficulty {
|
public enum Difficulty {
|
||||||
Easy,
|
Easy,
|
||||||
@ -405,4 +405,3 @@ namespace OpenTaiko {
|
|||||||
Off = 0
|
Off = 0
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
}
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
internal class CCrypto {
|
internal class CCrypto {
|
||||||
internal static readonly char[] chars =
|
internal static readonly char[] chars =
|
||||||
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890".ToCharArray();
|
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890".ToCharArray();
|
||||||
@ -22,4 +23,3 @@ namespace OpenTaiko {
|
|||||||
return result.ToString();
|
return result.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
class CHitSounds {
|
class CHitSounds {
|
||||||
public CHitSounds(string path) {
|
public CHitSounds(string path) {
|
||||||
tLoadFile(path);
|
tLoadFile(path);
|
||||||
@ -52,4 +53,3 @@
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using FDK;
|
using FDK;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
public class CPad {
|
public class CPad {
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
@ -210,4 +211,3 @@ namespace OpenTaiko {
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
class CSavableT<T> where T : new() {
|
class CSavableT<T> where T : new() {
|
||||||
public virtual string _fn {
|
public virtual string _fn {
|
||||||
get;
|
get;
|
||||||
@ -26,4 +27,3 @@
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -3,7 +3,7 @@ using System.Drawing;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using FDK;
|
using FDK;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
// グローバル定数
|
// グローバル定数
|
||||||
|
|
||||||
public enum Eシステムサウンド {
|
public enum Eシステムサウンド {
|
||||||
@ -9311,4 +9311,3 @@ namespace OpenTaiko {
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
internal class CSongDict {
|
internal class CSongDict {
|
||||||
private static Dictionary<string, CSongListNode> nodes = new Dictionary<string, CSongListNode>();
|
private static Dictionary<string, CSongListNode> nodes = new Dictionary<string, CSongListNode>();
|
||||||
private static HashSet<string> urls = new HashSet<string>();
|
private static HashSet<string> urls = new HashSet<string>();
|
||||||
@ -266,4 +267,3 @@ namespace OpenTaiko {
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using FDK;
|
using FDK;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
internal class CTextConsole : CActivity {
|
internal class CTextConsole : CActivity {
|
||||||
public enum EFontType {
|
public enum EFontType {
|
||||||
White,
|
White,
|
||||||
@ -92,4 +93,3 @@ namespace OpenTaiko {
|
|||||||
//-----------------
|
//-----------------
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using FDK;
|
using FDK;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The ConfigIniToSongGainControllerBinder allows for SONGVOL and/or other
|
/// The ConfigIniToSongGainControllerBinder allows for SONGVOL and/or other
|
||||||
/// properties related to the Gain levels applied to song preview and
|
/// properties related to the Gain levels applied to song preview and
|
||||||
@ -30,4 +31,3 @@ namespace OpenTaiko {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using FDK;
|
using FDK;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The ConfigIniToSoundGroupLevelControllerBinder allows for updated sound
|
/// The ConfigIniToSoundGroupLevelControllerBinder allows for updated sound
|
||||||
/// group level values, and keyboard sound level adjustment increment
|
/// group level values, and keyboard sound level adjustment increment
|
||||||
@ -56,4 +57,3 @@ namespace OpenTaiko {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Converters;
|
using Newtonsoft.Json.Converters;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class for reading and writing configuration files.
|
/// Class for reading and writing configuration files.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -45,4 +46,3 @@ namespace OpenTaiko {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using FDK;
|
using FDK;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
class Easing {
|
class Easing {
|
||||||
public int EaseIn(CCounter counter, float startPoint, float endPoint, CalcType type) {
|
public int EaseIn(CCounter counter, float startPoint, float endPoint, CalcType type) {
|
||||||
StartPoint = startPoint;
|
StartPoint = startPoint;
|
||||||
@ -185,4 +186,3 @@ namespace OpenTaiko {
|
|||||||
Linear
|
Linear
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
internal class Favorites {
|
internal class Favorites {
|
||||||
public void tFavorites() {
|
public void tFavorites() {
|
||||||
if (!File.Exists("Favorite.json"))
|
if (!File.Exists("Favorite.json"))
|
||||||
@ -43,5 +44,3 @@
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
@ -7,7 +7,8 @@ using FDK;
|
|||||||
using ImGuiNET;
|
using ImGuiNET;
|
||||||
using SampleFramework;
|
using SampleFramework;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
FOR DEBUGGING! This class is intended for developers only!
|
FOR DEBUGGING! This class is intended for developers only!
|
||||||
*/
|
*/
|
||||||
@ -550,4 +551,3 @@ namespace OpenTaiko {
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using FDK;
|
using FDK;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// KeyboardSoundGroupLevelControlHandler is called by the song selection
|
/// KeyboardSoundGroupLevelControlHandler is called by the song selection
|
||||||
/// and song play stages when handling keyboard input. By delegating to
|
/// and song play stages when handling keyboard input. By delegating to
|
||||||
@ -47,4 +48,3 @@ namespace OpenTaiko {
|
|||||||
システムサウンド?.tPlay();
|
システムサウンド?.tPlay();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using FDK;
|
using FDK;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
internal class LogNotification {
|
internal class LogNotification {
|
||||||
private static Queue<CLogNotification> Notifications = new Queue<CLogNotification>();
|
private static Queue<CLogNotification> Notifications = new Queue<CLogNotification>();
|
||||||
|
|
||||||
@ -49,4 +50,3 @@ namespace OpenTaiko {
|
|||||||
// Add an optimized method to display the notifications here
|
// Add an optimized method to display the notifications here
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
internal class Modal {
|
internal class Modal {
|
||||||
public Modal(EModalType mt, int ra, params object?[] re) {
|
public Modal(EModalType mt, int ra, params object?[] re) {
|
||||||
modalType = mt;
|
modalType = mt;
|
||||||
@ -46,4 +47,3 @@
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
internal class ModalQueue {
|
internal class ModalQueue {
|
||||||
public ModalQueue(Modal.EModalFormat mf) {
|
public ModalQueue(Modal.EModalFormat mf) {
|
||||||
_modalQueues = new Queue<Modal>[] { new Queue<Modal>(), new Queue<Modal>(), new Queue<Modal>(), new Queue<Modal>(), new Queue<Modal>() };
|
_modalQueues = new Queue<Modal>[] { new Queue<Modal>(), new Queue<Modal>(), new Queue<Modal>(), new Queue<Modal>(), new Queue<Modal>() };
|
||||||
@ -41,4 +42,3 @@
|
|||||||
private Modal.EModalFormat _modalFormat;
|
private Modal.EModalFormat _modalFormat;
|
||||||
private Queue<Modal>[] _modalQueues;
|
private Queue<Modal>[] _modalQueues;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
class NamePlateConfig {
|
class NamePlateConfig {
|
||||||
public void tNamePlateConfig() {
|
public void tNamePlateConfig() {
|
||||||
// Deprecated, only converts to new format
|
// Deprecated, only converts to new format
|
||||||
@ -208,4 +209,3 @@ namespace OpenTaiko {
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -12,7 +12,8 @@ using Silk.NET.Maths;
|
|||||||
using SkiaSharp;
|
using SkiaSharp;
|
||||||
using Rectangle = System.Drawing.Rectangle;
|
using Rectangle = System.Drawing.Rectangle;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
internal class OpenTaiko : Game {
|
internal class OpenTaiko : Game {
|
||||||
// Properties
|
// Properties
|
||||||
#region [ properties ]
|
#region [ properties ]
|
||||||
@ -2485,4 +2486,3 @@ for (int i = 0; i < 3; i++) {
|
|||||||
public static Color4 borderColor = new Color4(1f, 0f, 0f, 0f);
|
public static Color4 borderColor = new Color4(1f, 0f, 0f, 0f);
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -3,7 +3,8 @@ using System.Globalization;
|
|||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
internal class Program {
|
internal class Program {
|
||||||
#region [ 二重起動チェック、DLL存在チェック ]
|
#region [ 二重起動チェック、DLL存在チェック ]
|
||||||
//-----------------------------
|
//-----------------------------
|
||||||
@ -177,4 +178,3 @@ namespace OpenTaiko {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
internal class RecentlyPlayedSongs {
|
internal class RecentlyPlayedSongs {
|
||||||
public void tRecentlyPlayedSongs() {
|
public void tRecentlyPlayedSongs() {
|
||||||
if (!File.Exists("RecentlyPlayedSongs.json"))
|
if (!File.Exists("RecentlyPlayedSongs.json"))
|
||||||
@ -39,5 +40,3 @@
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
internal class SaveFile {
|
internal class SaveFile {
|
||||||
|
|
||||||
public void tSaveFile(string filename) {
|
public void tSaveFile(string filename) {
|
||||||
@ -341,4 +342,3 @@ namespace OpenTaiko {
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
using FDK;
|
using FDK;
|
||||||
using Color = System.Drawing.Color;
|
using Color = System.Drawing.Color;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
public sealed class TitleTextureKey {
|
public sealed class TitleTextureKey {
|
||||||
|
|
||||||
@ -134,4 +134,3 @@ namespace OpenTaiko {
|
|||||||
return !Equals(left, right);
|
return !Equals(left, right);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
internal class CGimmickValue {
|
internal class CGimmickValue {
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
[Serializable]
|
[Serializable]
|
||||||
internal class CLocalizationData {
|
internal class CLocalizationData {
|
||||||
[JsonProperty("strings")]
|
[JsonProperty("strings")]
|
||||||
@ -23,4 +24,3 @@ namespace OpenTaiko {
|
|||||||
Strings[langcode] = str;
|
Strings[langcode] = str;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
class CSongReplay {
|
class CSongReplay {
|
||||||
/* Game version used for the replay
|
/* Game version used for the replay
|
||||||
* 521 = 0.5.2.1
|
* 521 = 0.5.2.1
|
||||||
@ -478,4 +479,3 @@
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using FDK;
|
using FDK;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
class CVisualLogManager {
|
class CVisualLogManager {
|
||||||
public enum ELogCardType {
|
public enum ELogCardType {
|
||||||
LogInfo,
|
LogInfo,
|
||||||
@ -47,4 +48,3 @@ namespace OpenTaiko {
|
|||||||
|
|
||||||
private List<LogCard> cards = new List<LogCard>();
|
private List<LogCard> cards = new List<LogCard>();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
class DBCDN : CSavableT<Dictionary<string, DBCDN.CDNData>> {
|
class DBCDN : CSavableT<Dictionary<string, DBCDN.CDNData>> {
|
||||||
public DBCDN() {
|
public DBCDN() {
|
||||||
_fn = @$"{OpenTaiko.strEXEのあるフォルダ}Databases{Path.DirectorySeparatorChar}CDN.json";
|
_fn = @$"{OpenTaiko.strEXEのあるフォルダ}Databases{Path.DirectorySeparatorChar}CDN.json";
|
||||||
@ -53,4 +54,3 @@ namespace OpenTaiko {
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
class DBCharacter {
|
class DBCharacter {
|
||||||
public class CharacterEffect {
|
public class CharacterEffect {
|
||||||
public CharacterEffect() {
|
public CharacterEffect() {
|
||||||
@ -89,4 +90,3 @@ namespace OpenTaiko {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
class DBEncyclopediaMenus : CSavableT<DBEncyclopediaMenus.EncyclopediaMenu> {
|
class DBEncyclopediaMenus : CSavableT<DBEncyclopediaMenus.EncyclopediaMenu> {
|
||||||
public DBEncyclopediaMenus() {
|
public DBEncyclopediaMenus() {
|
||||||
_fn = @$"{OpenTaiko.strEXEのあるフォルダ}Encyclopedia{Path.DirectorySeparatorChar}Menus.json";
|
_fn = @$"{OpenTaiko.strEXEのあるフォルダ}Encyclopedia{Path.DirectorySeparatorChar}Menus.json";
|
||||||
@ -18,4 +19,3 @@ namespace OpenTaiko {
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using static OpenTaiko.DBNameplateUnlockables;
|
using static OpenTaiko.DBNameplateUnlockables;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
internal class DBNameplateUnlockables : CSavableT<Dictionary<Int64, NameplateUnlockable>> {
|
internal class DBNameplateUnlockables : CSavableT<Dictionary<Int64, NameplateUnlockable>> {
|
||||||
public DBNameplateUnlockables() {
|
public DBNameplateUnlockables() {
|
||||||
_fn = @$"{OpenTaiko.strEXEのあるフォルダ}Databases{Path.DirectorySeparatorChar}NameplateUnlockables.db3";
|
_fn = @$"{OpenTaiko.strEXEのあるフォルダ}Databases{Path.DirectorySeparatorChar}NameplateUnlockables.db3";
|
||||||
@ -87,4 +88,3 @@ namespace OpenTaiko {
|
|||||||
OpenTaiko.SaveFileInstances[player].tApplyHeyaChanges();
|
OpenTaiko.SaveFileInstances[player].tApplyHeyaChanges();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace OpenTaiko {
|
namespace OpenTaiko;
|
||||||
|
|
||||||
class DBPuchichara {
|
class DBPuchichara {
|
||||||
public class PuchicharaEffect {
|
public class PuchicharaEffect {
|
||||||
public PuchicharaEffect() {
|
public PuchicharaEffect() {
|
||||||
@ -81,4 +82,3 @@ namespace OpenTaiko {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user