Translate japanese variables and code (#697)
* feat: translate animation files * feat: translate プロパティ properties * feat: translate クラス class * feat: CConfigIni.cs first translations * feat: mostly renames of コンストラクタ -> Constructor * refactor: remove dead code and redundant overrides CActSortSongs * feat: translate enums * feat: capitalize enums * refactor: rename C定数.cs to CConstants.cs * fix: refactor of Caps Enums * refactor: standardize enum PascalCase * refactor: nMsWaitPreviewSoundFromSongSelected * refactor: nMinDisplayedCombo * refactor: bNoAudioIfNot1xSpeed * refactor(doc): linear movement specifier * refactor: validity -> enabled * refactor(doc): remove difficulty doc * refactor: EGameplayScreenReturnValue * refactor: BM- and HBScroll * refactor: Text and Image in EDifficultyDisplayType * refactor: ERollState * refactor: survival and survival hard * refactor: prefix Ms * refactor: Log names * revert: remove sorting options comments * refactor: remove DTXMania sorting options
This commit is contained in:
parent
f532144205
commit
59aea071d4
@ -1,6 +1,6 @@
|
||||
namespace FDK {
|
||||
public class CActivity {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public bool IsActivated { get; private set; }
|
||||
public bool IsDeActivated {
|
||||
@ -21,7 +21,7 @@
|
||||
protected bool IsFirstDraw = true;
|
||||
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CActivity() {
|
||||
this.IsDeActivated = true;
|
||||
|
@ -1,6 +1,6 @@
|
||||
namespace FDK {
|
||||
public class CConversion {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public static readonly string str16進数文字 = "0123456789ABCDEFabcdef";
|
||||
public static readonly string str36進数文字 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
||||
|
@ -60,7 +60,7 @@
|
||||
get { return !this.IsEnded; }
|
||||
}
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CCounter() {
|
||||
this.NormalTimer = null;
|
||||
|
@ -1,6 +1,6 @@
|
||||
namespace FDK {
|
||||
public class CFPS {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public int NowFPS {
|
||||
get;
|
||||
@ -16,7 +16,7 @@
|
||||
}
|
||||
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CFPS() {
|
||||
this.NowFPS = 0;
|
||||
|
@ -6,7 +6,7 @@ namespace FDK {
|
||||
/// </summary>
|
||||
|
||||
public class CIniFile {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public string FileName {
|
||||
get;
|
||||
@ -22,7 +22,7 @@ namespace FDK {
|
||||
}
|
||||
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CIniFile() {
|
||||
this.FileName = "";
|
||||
|
@ -2,7 +2,7 @@ using Silk.NET.Input;
|
||||
|
||||
namespace FDK {
|
||||
public class CInputGamepad : IInputDevice, IDisposable {
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CInputGamepad(IGamepad gamepad) {
|
||||
this.CurrentType = InputDeviceType.Gamepad;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace FDK {
|
||||
public class CInputJoystick : IInputDevice, IDisposable {
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
private IJoystick Joystick { get; set; }
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace FDK {
|
||||
public class CInputKeyboard : IInputDevice, IDisposable {
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CInputKeyboard(IReadOnlyList<IKeyboard> keyboards) {
|
||||
this.CurrentType = InputDeviceType.Keyboard;
|
||||
|
@ -1,11 +1,11 @@
|
||||
namespace FDK {
|
||||
public class CInputMIDI : IInputDevice, IDisposable {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public IntPtr MidiInPtr;
|
||||
public List<STInputEvent> EventBuffers;
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CInputMIDI(uint nID) {
|
||||
this.MidiInPtr = IntPtr.Zero;
|
||||
|
@ -9,7 +9,7 @@ namespace FDK {
|
||||
public static int DefaultVolume = 110;
|
||||
|
||||
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public List<IInputDevice> InputDevices {
|
||||
get;
|
||||
@ -45,7 +45,7 @@ namespace FDK {
|
||||
}
|
||||
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
public CInputManager(IWindow window, bool bUseMidiIn = true) {
|
||||
Initialize(window, bUseMidiIn);
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ namespace FDK {
|
||||
public const int MouseButtonCount = 8;
|
||||
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CInputMouse(IMouse mouse) {
|
||||
this.CurrentType = InputDeviceType.Mouse;
|
||||
|
@ -1,6 +1,6 @@
|
||||
namespace FDK {
|
||||
public interface IInputDevice : IDisposable {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
InputDeviceType CurrentType {
|
||||
get;
|
||||
|
@ -26,7 +26,7 @@ namespace FDK {
|
||||
}
|
||||
|
||||
internal class CSoundDeviceASIO : ISoundDevice {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public ESoundDeviceType SoundDeviceType {
|
||||
get;
|
||||
@ -81,7 +81,7 @@ namespace FDK {
|
||||
Errors be = Bass.LastError;
|
||||
Trace.TraceInformation("ASIO Master Volume Set Error: " + be.ToString());
|
||||
} else {
|
||||
// int n = this.nMasterVolume;
|
||||
// int n = this.nMasterVolume;
|
||||
// Trace.TraceInformation( "ASIO Master Volume Set Success: " + value );
|
||||
}
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ using ManagedBass.Mix;
|
||||
|
||||
namespace FDK {
|
||||
public class CSoundDeviceBASS : ISoundDevice {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public ESoundDeviceType SoundDeviceType {
|
||||
get;
|
||||
|
@ -5,7 +5,7 @@ using ManagedBass.Wasapi;
|
||||
|
||||
namespace FDK {
|
||||
internal class CSoundDeviceWASAPI : ISoundDevice {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public ESoundDeviceType SoundDeviceType {
|
||||
get;
|
||||
@ -75,7 +75,7 @@ namespace FDK {
|
||||
Errors be = Bass.LastError;
|
||||
Trace.TraceInformation("WASAPI Master Volume Set Error: " + be.ToString());
|
||||
} else {
|
||||
// int n = this.nMasterVolume;
|
||||
// int n = this.nMasterVolume;
|
||||
// Trace.TraceInformation( "WASAPI Master Volume Set Success: " + value );
|
||||
|
||||
}
|
||||
|
@ -229,7 +229,7 @@ namespace FDK {
|
||||
Game.Gl.DeleteProgram(ShaderProgram);
|
||||
}
|
||||
|
||||
// プロパティ
|
||||
// Properties
|
||||
public bool b加算合成 {
|
||||
get;
|
||||
set;
|
||||
@ -291,7 +291,7 @@ namespace FDK {
|
||||
|
||||
internal uint Texture_;
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CTexture() {
|
||||
this.sz画像サイズ = new Size(0, 0);
|
||||
@ -908,4 +908,4 @@ namespace FDK {
|
||||
//-----------------
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -62,7 +62,7 @@ namespace OpenTaiko.Animations {
|
||||
|
||||
|
||||
|
||||
// プロパティ
|
||||
// Properties
|
||||
public CCounter Counter {
|
||||
get;
|
||||
private set;
|
||||
|
@ -1,14 +1,14 @@
|
||||
namespace OpenTaiko.Animations {
|
||||
/// <summary>
|
||||
/// イーズインを行うクラス。
|
||||
/// A class that performs ease-in animation.
|
||||
/// </summary>
|
||||
class EaseIn : Animator {
|
||||
/// <summary>
|
||||
/// イーズインを初期化します。
|
||||
/// Initialize Ease-in.
|
||||
/// </summary>
|
||||
/// <param name="startPoint">始点。</param>
|
||||
/// <param name="endPoint">終点。</param>
|
||||
/// <param name="timeMs">イージングにかける時間。</param>
|
||||
/// <param name="startPoint">Starting point</param>
|
||||
/// <param name="endPoint">End point</param>
|
||||
/// <param name="timeMs">Time taken for easing, in milliseconds</param>
|
||||
public EaseIn(int startPoint, int endPoint, int timeMs) : base(0, timeMs, 1, false) {
|
||||
StartPoint = startPoint;
|
||||
EndPoint = endPoint;
|
||||
@ -17,8 +17,8 @@
|
||||
}
|
||||
|
||||
public override object GetAnimation() {
|
||||
var persent = Counter.CurrentValue / (double)TimeMs;
|
||||
return ((double)Sa * persent * persent * persent) + StartPoint;
|
||||
var percent = Counter.CurrentValue / (double)TimeMs;
|
||||
return ((double)Sa * percent * percent * percent) + StartPoint;
|
||||
}
|
||||
|
||||
private readonly int StartPoint;
|
||||
|
@ -1,14 +1,14 @@
|
||||
namespace OpenTaiko.Animations {
|
||||
/// <summary>
|
||||
/// イーズイン・アウトを行うクラス。
|
||||
/// A class that performs ease-in-out animation.
|
||||
/// </summary>
|
||||
class EaseInOut : Animator {
|
||||
/// <summary>
|
||||
/// イーズイン・アウトを初期化します。
|
||||
/// Initialize Ease-in-out.
|
||||
/// </summary>
|
||||
/// <param name="startPoint">始点。</param>
|
||||
/// <param name="endPoint">終点。</param>
|
||||
/// <param name="timeMs">イージングにかける時間。</param>
|
||||
/// <param name="startPoint">Starting point.</param>
|
||||
/// <param name="endPoint">End point.</param>
|
||||
/// <param name="timeMs">Time taken for easing, in milliseconds.</param>
|
||||
public EaseInOut(int startPoint, int endPoint, int timeMs) : base(0, timeMs, 1, false) {
|
||||
StartPoint = startPoint;
|
||||
EndPoint = endPoint;
|
||||
@ -17,12 +17,12 @@
|
||||
}
|
||||
|
||||
public override object GetAnimation() {
|
||||
var persent = Counter.CurrentValue / (double)TimeMs * 2.0;
|
||||
if (persent < 1) {
|
||||
return ((double)Sa / 2.0 * persent * persent * persent) + StartPoint;
|
||||
var percent = Counter.CurrentValue / (double)TimeMs * 2.0;
|
||||
if (percent < 1) {
|
||||
return ((double)Sa / 2.0 * percent * percent * percent) + StartPoint;
|
||||
} else {
|
||||
persent -= 2;
|
||||
return ((double)Sa / 2.0 * ((persent * persent * persent) + 2)) + StartPoint;
|
||||
percent -= 2;
|
||||
return ((double)Sa / 2.0 * ((percent * percent * percent) + 2)) + StartPoint;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
namespace OpenTaiko.Animations {
|
||||
/// <summary>
|
||||
/// イーズアウトを行うクラス。
|
||||
/// A class that performs ease-out animation.
|
||||
/// </summary>
|
||||
class EaseOut : Animator {
|
||||
/// <summary>
|
||||
/// イーズアウトを初期化します。
|
||||
/// Initialize Ease-out.
|
||||
/// </summary>
|
||||
/// <param name="startPoint">始点。</param>
|
||||
/// <param name="endPoint">終点。</param>
|
||||
/// <param name="timeMs">イージングにかける時間。</param>
|
||||
/// <param name="startPoint">Starting point.</param>
|
||||
/// <param name="endPoint">End point.</param>
|
||||
/// <param name="timeMs">Time taken for easing, in milliseconds.</param>
|
||||
public EaseOut(int startPoint, int endPoint, int timeMs) : base(0, timeMs, 1, false) {
|
||||
StartPoint = startPoint;
|
||||
EndPoint = endPoint;
|
||||
@ -17,9 +17,9 @@
|
||||
}
|
||||
|
||||
public override object GetAnimation() {
|
||||
var persent = Counter.CurrentValue / (double)TimeMs;
|
||||
persent -= 1;
|
||||
return (double)Sa * (persent * persent * persent + 1) + StartPoint;
|
||||
var percent = Counter.CurrentValue / (double)TimeMs;
|
||||
percent -= 1;
|
||||
return (double)Sa * (percent * percent * percent + 1) + StartPoint;
|
||||
}
|
||||
|
||||
private readonly int StartPoint;
|
||||
|
@ -1,20 +1,20 @@
|
||||
namespace OpenTaiko.Animations {
|
||||
/// <summary>
|
||||
/// フェードインを行うクラス。
|
||||
/// A class that performs fade-in animation.
|
||||
/// </summary>
|
||||
internal class FadeIn : Animator {
|
||||
/// <summary>
|
||||
/// フェードインを初期化します。
|
||||
/// Initialize fade-in.
|
||||
/// </summary>
|
||||
/// <param name="timems">フェードインに掛ける秒数(ミリ秒)</param>
|
||||
/// <param name="timems">Time taken for fading, in milliseconds.</param>
|
||||
public FadeIn(int timems) : base(0, timems - 1, 1, false) {
|
||||
TimeMs = timems;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// フェードインの不透明度を255段階で返します。
|
||||
/// Returns the opacity of the fade-in animation in 255 levels.
|
||||
/// </summary>
|
||||
/// <returns>不透明度。</returns>
|
||||
/// <returns>Opacity of the fade-in animation.</returns>
|
||||
public override object GetAnimation() {
|
||||
var opacity = base.Counter.CurrentValue * 255 / TimeMs;
|
||||
return opacity;
|
||||
|
@ -1,20 +1,20 @@
|
||||
namespace OpenTaiko.Animations {
|
||||
/// <summary>
|
||||
/// フェードアウトを行うクラス。
|
||||
/// A class that performs fade-out animation.
|
||||
/// </summary>
|
||||
internal class FadeOut : Animator {
|
||||
/// <summary>
|
||||
/// フェードアウトを初期化します。
|
||||
/// Initialize fade-out.
|
||||
/// </summary>
|
||||
/// <param name="timems">フェードアウトに掛ける秒数(ミリ秒)</param>
|
||||
/// <param name="timems">Time taken for fading, in milliseconds.</param>
|
||||
public FadeOut(int timems) : base(0, timems - 1, 1, false) {
|
||||
TimeMs = timems;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// フェードアウトの不透明度を255段階で返します。
|
||||
/// Returns the opacity of the fade-out animation in 255 levels.
|
||||
/// </summary>
|
||||
/// <returns>不透明度。</returns>
|
||||
/// <returns>Opacity of the fade-out animation.</returns>
|
||||
public override object GetAnimation() {
|
||||
var opacity = (TimeMs - base.Counter.CurrentValue) * 255 / TimeMs;
|
||||
return opacity;
|
||||
|
@ -1,28 +1,28 @@
|
||||
namespace OpenTaiko.Animations {
|
||||
/// <summary>
|
||||
/// アニメーション インターフェイス。
|
||||
/// Animation interface.
|
||||
/// </summary>
|
||||
interface IAnimatable {
|
||||
/// <summary>
|
||||
/// アニメーションを開始します。
|
||||
/// Starts the animation.
|
||||
/// </summary>
|
||||
void Start();
|
||||
/// <summary>
|
||||
/// アニメーションを停止します。
|
||||
/// Stops the animation.
|
||||
/// </summary>
|
||||
void Stop();
|
||||
/// <summary>
|
||||
/// アニメーションをリセットします。
|
||||
/// Resets the animation.
|
||||
/// </summary>
|
||||
void Reset();
|
||||
/// <summary>
|
||||
/// アニメーションの進行を行います。
|
||||
/// Advances the animation.
|
||||
/// </summary>
|
||||
void Tick();
|
||||
/// <summary>
|
||||
/// アニメーションのパラメータを返します。
|
||||
/// Returns the animation parameters.
|
||||
/// </summary>
|
||||
/// <returns>アニメーションのパラメータを返します。</returns>
|
||||
/// <returns>Animation parameters.</returns>
|
||||
object GetAnimation();
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,14 @@
|
||||
namespace OpenTaiko.Animations {
|
||||
/// <summary>
|
||||
/// リニア移動を行うクラス。
|
||||
/// A class that performs linear animation.
|
||||
/// </summary>
|
||||
class Linear : Animator {
|
||||
/// <summary>
|
||||
/// リニア移動を初期化します。
|
||||
/// Initialize linear movement.
|
||||
/// </summary>
|
||||
/// <param name="startPoint">始点。</param>
|
||||
/// <param name="endPoint">終点。</param>
|
||||
/// <param name="timeMs">移動にかける時間。</param>
|
||||
/// <param name="startPoint">Starting point.</param>
|
||||
/// <param name="endPoint">End point.</param>
|
||||
/// <param name="timeMs">Time taken for linear, in milliseconds.</param>
|
||||
public Linear(int startPoint, int endPoint, int timeMs) : base(0, timeMs, 1, false) {
|
||||
StartPoint = startPoint;
|
||||
EndPoint = endPoint;
|
||||
@ -17,8 +17,8 @@
|
||||
}
|
||||
|
||||
public override object GetAnimation() {
|
||||
var persent = Counter.CurrentValue / (double)TimeMs;
|
||||
return (Sa * persent) + StartPoint;
|
||||
var percent = Counter.CurrentValue / (double)TimeMs;
|
||||
return (Sa * percent) + StartPoint;
|
||||
}
|
||||
|
||||
private readonly int StartPoint;
|
||||
|
@ -43,11 +43,11 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// ぷちキャラを描画する。(オーバーライドじゃないよ)
|
||||
/// Draws Puchi Chara (small character) on the screen. Note: this is not an override.
|
||||
/// </summary>
|
||||
/// <param name="x">X座標(中央)</param>
|
||||
/// <param name="y">Y座標(中央)</param>
|
||||
/// <param name="alpha">不透明度</param>
|
||||
/// <param name="x">X coordinate (center)</param>
|
||||
/// <param name="y">Y coordinate (center)</param>
|
||||
/// <param name="alpha">Opacity (0-255)</param>
|
||||
/// <returns></returns>
|
||||
public int On進行描画(int x, int y, bool isGrowing, int alpha = 255, bool isBalloon = false, int player = 0, float scale = 1.0f) {
|
||||
if (!OpenTaiko.ConfigIni.ShowPuchiChara) return base.Draw();
|
||||
|
@ -11,7 +11,7 @@ namespace OpenTaiko {
|
||||
private const int MaximumKeyboardSoundLevelIncrement = 20;
|
||||
private const int DefaultKeyboardSoundLevelIncrement = 5;
|
||||
|
||||
// クラス
|
||||
// Class
|
||||
|
||||
#region [ CKeyAssign ]
|
||||
public class CKeyAssign {
|
||||
@ -1054,18 +1054,18 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
public bool KeyIsPressed(STKEYASSIGN[] pad) {
|
||||
return OpenTaiko.InputManager.Keyboard.KeyPressed(pad.ToList().ConvertAll<int>(key => key.コード));
|
||||
return OpenTaiko.InputManager.Keyboard.KeyPressed(pad.ToList().ConvertAll<int>(key => key.Code));
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct STKEYASSIGN {
|
||||
public EInputDevice 入力デバイス;
|
||||
public EInputDevice InputDevice;
|
||||
public int ID;
|
||||
public int コード;
|
||||
public int Code;
|
||||
public STKEYASSIGN(EInputDevice DeviceType, int nID, int nCode) {
|
||||
this.入力デバイス = DeviceType;
|
||||
this.InputDevice = DeviceType;
|
||||
this.ID = nID;
|
||||
this.コード = nCode;
|
||||
this.Code = nCode;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1077,42 +1077,42 @@ namespace OpenTaiko {
|
||||
public CKeyAssignPad this[int index] {
|
||||
get {
|
||||
switch (index) {
|
||||
case (int)EKeyConfigPart.DRUMS:
|
||||
case (int)EKeyConfigPart.Drums:
|
||||
return this.Drums;
|
||||
|
||||
case (int)EKeyConfigPart.GUITAR:
|
||||
case (int)EKeyConfigPart.Guitar:
|
||||
return this.Guitar;
|
||||
|
||||
case (int)EKeyConfigPart.BASS:
|
||||
case (int)EKeyConfigPart.Bass:
|
||||
return this.Bass;
|
||||
|
||||
case (int)EKeyConfigPart.TAIKO:
|
||||
case (int)EKeyConfigPart.Taiko:
|
||||
return this.Taiko;
|
||||
|
||||
case (int)EKeyConfigPart.SYSTEM:
|
||||
case (int)EKeyConfigPart.System:
|
||||
return this.System;
|
||||
}
|
||||
throw new IndexOutOfRangeException();
|
||||
}
|
||||
set {
|
||||
switch (index) {
|
||||
case (int)EKeyConfigPart.DRUMS:
|
||||
case (int)EKeyConfigPart.Drums:
|
||||
this.Drums = value;
|
||||
return;
|
||||
|
||||
case (int)EKeyConfigPart.GUITAR:
|
||||
case (int)EKeyConfigPart.Guitar:
|
||||
this.Guitar = value;
|
||||
return;
|
||||
|
||||
case (int)EKeyConfigPart.BASS:
|
||||
case (int)EKeyConfigPart.Bass:
|
||||
this.Bass = value;
|
||||
return;
|
||||
|
||||
case (int)EKeyConfigPart.TAIKO:
|
||||
case (int)EKeyConfigPart.Taiko:
|
||||
this.Taiko = value;
|
||||
return;
|
||||
|
||||
case (int)EKeyConfigPart.SYSTEM:
|
||||
case (int)EKeyConfigPart.System:
|
||||
this.System = value;
|
||||
return;
|
||||
}
|
||||
@ -1130,7 +1130,7 @@ namespace OpenTaiko {
|
||||
WASAPI_Shared,
|
||||
Unknown = 99
|
||||
}
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public class CAIPerformances {
|
||||
public int nGoodOdds;
|
||||
@ -1164,10 +1164,10 @@ namespace OpenTaiko {
|
||||
public int nBGAlpha;
|
||||
public bool bEnableAVI;
|
||||
public bool bEnableBGA;
|
||||
public bool bBGM音を発声する;
|
||||
public bool bLogDTX詳細ログ出力;
|
||||
public bool bLog曲検索ログ出力;
|
||||
public bool bLog作成解放ログ出力;
|
||||
public bool bBGMPlayVoiceSound;
|
||||
public bool bOutputDetailedDTXLog;
|
||||
public bool bOutputSongSearchLog;
|
||||
public bool bOutputCreationReleaseLog;
|
||||
public STDGBVALUE<bool> bReverse;
|
||||
|
||||
public bool bDanTowerHide;
|
||||
@ -1186,17 +1186,17 @@ namespace OpenTaiko {
|
||||
public Dictionary<int, string> dicGamepad;
|
||||
public ERandomMode[] eRandom;
|
||||
public CKeyAssign KeyAssign;
|
||||
public int n非フォーカス時スリープms; // #23568 2010.11.04 ikanick add
|
||||
public int nフレーム毎スリープms; // #xxxxx 2011.11.27 yyagi add
|
||||
public int nMsSleepUnfocused; // #23568 2010.11.04 ikanick add
|
||||
public int nMsSleepPerFrame; // #xxxxx 2011.11.27 yyagi add
|
||||
public int nSongSpeed;
|
||||
|
||||
public double SongPlaybackSpeed {
|
||||
get => ((double)nSongSpeed) / 20.0;
|
||||
}
|
||||
|
||||
public bool b演奏速度が一倍速であるとき以外音声を再生しない;
|
||||
public int n曲が選択されてからプレビュー音が鳴るまでのウェイトms;
|
||||
public int n曲が選択されてからプレビュー画像が表示開始されるまでのウェイトms;
|
||||
public bool bNoAudioIfNot1xSpeed; // FIXME: Negation should be removed and booleans flipped
|
||||
public int nMsWaitPreviewSoundFromSongSelected;
|
||||
public int nMsWaitPreviewImageFromSongSelected;
|
||||
|
||||
private bool _applyLoudnessMetadata;
|
||||
|
||||
@ -1257,7 +1257,7 @@ namespace OpenTaiko {
|
||||
nameof(KeyboardSoundLevelIncrement));
|
||||
}
|
||||
|
||||
public STDGBVALUE<int> n表示可能な最小コンボ数;
|
||||
public STDGBVALUE<int> nMinDisplayedCombo;
|
||||
public int[] nScrollSpeed;
|
||||
public int[] nTimingZones;
|
||||
public EGameType[] nGameType;
|
||||
@ -1334,7 +1334,7 @@ namespace OpenTaiko {
|
||||
|
||||
public bool bEnableCountdownTimer;
|
||||
|
||||
// 各画像の表示・非表示設定
|
||||
// Display/Hide settings for each image
|
||||
public bool ShowChara;
|
||||
public bool ShowDancer;
|
||||
public bool ShowRunner;
|
||||
@ -1368,9 +1368,7 @@ namespace OpenTaiko {
|
||||
|
||||
public bool bEndingAnime = false; // 2017.01.27 DD 「また遊んでね」画面の有効/無効オプション追加
|
||||
|
||||
public STDGBVALUE<E判定文字表示位置> 判定文字表示位置;
|
||||
// public int nハイハット切り捨て下限Velocity;
|
||||
// public int n切り捨て下限Velocity; // #23857 2010.12.12 yyagi VelocityMin
|
||||
public STDGBVALUE<EJudgeTextDisplayPosition> JudgeTextDisplayPosition;
|
||||
public int nInputAdjustTimeMs;
|
||||
public int nGlobalOffsetMs;
|
||||
public bool bIsAutoResultCapture; // #25399 2011.6.9 yyagi リザルト画像自動保存機能のON/OFF制御
|
||||
@ -1383,12 +1381,12 @@ namespace OpenTaiko {
|
||||
this.nAILevel = this.nDefaultAILevel;
|
||||
}
|
||||
|
||||
public bool bEnterがキー割り当てのどこにも使用されていない {
|
||||
public bool bEnterIsNotUsedInKeyAssignments {
|
||||
get {
|
||||
for (int i = 0; i <= (int)EKeyConfigPart.SYSTEM; i++) {
|
||||
for (int j = 0; j < (int)EKeyConfigPad.MAX; j++) {
|
||||
for (int i = 0; i <= (int)EKeyConfigPart.System; i++) {
|
||||
for (int j = 0; j < (int)EKeyConfigPad.Max; j++) {
|
||||
for (int k = 0; k < 0x10; k++) {
|
||||
if ((this.KeyAssign[i][j][k].入力デバイス == EInputDevice.Keyboard) && (this.KeyAssign[i][j][k].コード == (int)SlimDXKeys.Key.Return)) {
|
||||
if ((this.KeyAssign[i][j][k].InputDevice == EInputDevice.Keyboard) && (this.KeyAssign[i][j][k].Code == (int)SlimDXKeys.Key.Return)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@ -1397,7 +1395,7 @@ namespace OpenTaiko {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
public bool bウィンドウモード {
|
||||
public bool bWindowMode {
|
||||
get {
|
||||
return !this.bFullScreen;
|
||||
}
|
||||
@ -1405,7 +1403,7 @@ namespace OpenTaiko {
|
||||
this.bFullScreen = !value;
|
||||
}
|
||||
}
|
||||
public bool b演奏情報を表示しない {
|
||||
public bool bDoNotDisplayPerformanceInfos { // FIXME: should be flipped
|
||||
get {
|
||||
return !this.bDisplayDebugInfo;
|
||||
}
|
||||
@ -1413,7 +1411,7 @@ namespace OpenTaiko {
|
||||
this.bDisplayDebugInfo = !value;
|
||||
}
|
||||
}
|
||||
public int n背景の透過度 {
|
||||
public int nBackgroundTransparency {
|
||||
get {
|
||||
return this.nBGAlpha;
|
||||
}
|
||||
@ -1464,7 +1462,7 @@ namespace OpenTaiko {
|
||||
public bool SendDiscordPlayingInformation;
|
||||
|
||||
#region [ STRANGE ]
|
||||
public STRANGE nヒット範囲ms;
|
||||
public STRANGE nHitRangeMs;
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct STRANGE {
|
||||
public int Perfect;
|
||||
@ -1643,8 +1641,8 @@ namespace OpenTaiko {
|
||||
#endregion
|
||||
|
||||
#region[Position]
|
||||
public Eレーンタイプ eLaneType;
|
||||
public Eミラー eMirror;
|
||||
public ELaneType eLaneType;
|
||||
public EMirror eMirror;
|
||||
|
||||
#endregion
|
||||
#region[System]
|
||||
@ -1655,7 +1653,7 @@ namespace OpenTaiko {
|
||||
#endregion
|
||||
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CConfigIni() {
|
||||
this.strSongsPath = "Songs" + Path.DirectorySeparatorChar;
|
||||
@ -1665,26 +1663,26 @@ namespace OpenTaiko {
|
||||
this.nWindowBaseYPosition = 100;
|
||||
this.nWindowWidth = SampleFramework.GameWindowSize.Width; // #23510 2010.10.31 yyagi add
|
||||
this.nWindowHeight = SampleFramework.GameWindowSize.Height; //
|
||||
this.nフレーム毎スリープms = -1; // #xxxxx 2011.11.27 yyagi add
|
||||
this.n非フォーカス時スリープms = 1; // #23568 2010.11.04 ikanick add
|
||||
this._bGuitar有効 = true;
|
||||
this._bDrums有効 = true;
|
||||
this.nMsSleepPerFrame = -1; // #xxxxx 2011.11.27 yyagi add
|
||||
this.nMsSleepUnfocused = 1; // #23568 2010.11.04 ikanick add
|
||||
this._bGuitarEnabled = true;
|
||||
this._bDrumsEnabled = true;
|
||||
this.nBGAlpha = 100;
|
||||
this.bEnableAVI = false;
|
||||
this.eClipDispType = EClipDispType.背景のみ;
|
||||
this.eClipDispType = EClipDispType.BackgroundOnly;
|
||||
this.bEnableBGA = true;
|
||||
this.n曲が選択されてからプレビュー音が鳴るまでのウェイトms = 1000;
|
||||
this.n曲が選択されてからプレビュー画像が表示開始されるまでのウェイトms = 100;
|
||||
this.bBGM音を発声する = true;
|
||||
this.nMsWaitPreviewSoundFromSongSelected = 1000;
|
||||
this.nMsWaitPreviewImageFromSongSelected = 100;
|
||||
this.bBGMPlayVoiceSound = true;
|
||||
|
||||
this.bDanTowerHide = false;
|
||||
|
||||
this.bIncludeSubfoldersOnRandomSelect = true;
|
||||
this.n表示可能な最小コンボ数 = new STDGBVALUE<int>();
|
||||
this.n表示可能な最小コンボ数.Drums = 10;
|
||||
this.n表示可能な最小コンボ数.Guitar = 10;
|
||||
this.n表示可能な最小コンボ数.Bass = 10;
|
||||
this.n表示可能な最小コンボ数.Taiko = 10;
|
||||
this.nMinDisplayedCombo = new STDGBVALUE<int>();
|
||||
this.nMinDisplayedCombo.Drums = 10;
|
||||
this.nMinDisplayedCombo.Guitar = 10;
|
||||
this.nMinDisplayedCombo.Bass = 10;
|
||||
this.nMinDisplayedCombo.Taiko = 10;
|
||||
this.nRollsPerSec = 15;
|
||||
this.nAILevel = 1;
|
||||
this.bAIBattleMode = false;
|
||||
@ -1722,28 +1720,28 @@ namespace OpenTaiko {
|
||||
this.bOutputLogs = true;
|
||||
this.bReverse = new STDGBVALUE<bool>();
|
||||
this.eRandom = new ERandomMode[5];
|
||||
this.判定文字表示位置 = new STDGBVALUE<E判定文字表示位置>();
|
||||
this.JudgeTextDisplayPosition = new STDGBVALUE<EJudgeTextDisplayPosition>();
|
||||
this.nScrollSpeed = new int[5] { 9, 9, 9, 9, 9 };
|
||||
this.nTimingZones = new int[5] { 2, 2, 2, 2, 2 };
|
||||
this.nGameType = new EGameType[5] { EGameType.TAIKO, EGameType.TAIKO, EGameType.TAIKO, EGameType.TAIKO, EGameType.TAIKO };
|
||||
this.nFunMods = new EFunMods[5] { EFunMods.NONE, EFunMods.NONE, EFunMods.NONE, EFunMods.NONE, EFunMods.NONE };
|
||||
this.nGameType = new EGameType[5] { EGameType.Taiko, EGameType.Taiko, EGameType.Taiko, EGameType.Taiko, EGameType.Taiko };
|
||||
this.nFunMods = new EFunMods[5] { EFunMods.None, EFunMods.None, EFunMods.None, EFunMods.None, EFunMods.None };
|
||||
this.nInputAdjustTimeMs = 0;
|
||||
this.nGlobalOffsetMs = 0;
|
||||
for (int i = 0; i < 3; i++) {
|
||||
this.bReverse[i] = false;
|
||||
this.判定文字表示位置[i] = E判定文字表示位置.レーン上;
|
||||
this.eInvisible[i] = EInvisible.OFF;
|
||||
this.JudgeTextDisplayPosition[i] = EJudgeTextDisplayPosition.AboveLane;
|
||||
this.eInvisible[i] = EInvisible.Off;
|
||||
}
|
||||
|
||||
|
||||
for (int i = 0; i < 5; i++) {
|
||||
this.eRandom[i] = ERandomMode.OFF;
|
||||
this.eRandom[i] = ERandomMode.Off;
|
||||
this.nScrollSpeed[i] = 9;
|
||||
this.nTimingZones[i] = 2;
|
||||
}
|
||||
|
||||
this.nSongSpeed = 20;
|
||||
this.b演奏速度が一倍速であるとき以外音声を再生しない = false;
|
||||
this.bNoAudioIfNot1xSpeed = false;
|
||||
#region [ AutoPlay ]
|
||||
|
||||
for (int i = 0; i < 5; i++) {
|
||||
@ -1751,11 +1749,11 @@ namespace OpenTaiko {
|
||||
}
|
||||
this.bAuto先生の連打 = true;
|
||||
#endregion
|
||||
this.nヒット範囲ms = new STRANGE();
|
||||
this.nヒット範囲ms.Perfect = 25;
|
||||
this.nヒット範囲ms.Great = -1; //使用しません。
|
||||
this.nヒット範囲ms.Good = 75;
|
||||
this.nヒット範囲ms.Poor = 108;
|
||||
this.nHitRangeMs = new STRANGE();
|
||||
this.nHitRangeMs.Perfect = 25;
|
||||
this.nHitRangeMs.Great = -1; //使用しません。
|
||||
this.nHitRangeMs.Good = 75;
|
||||
this.nHitRangeMs.Poor = 108;
|
||||
this.ConfigIniファイル名 = "";
|
||||
this.dicJoystick = new Dictionary<int, string>(10);
|
||||
this.dicGamepad = new Dictionary<int, string>(10);
|
||||
@ -1829,7 +1827,7 @@ namespace OpenTaiko {
|
||||
this.eSTEALTH = new EStealthMode[5];
|
||||
|
||||
for (int i = 0; i < 5; i++)
|
||||
this.eSTEALTH[i] = EStealthMode.OFF;
|
||||
this.eSTEALTH[i] = EStealthMode.Off;
|
||||
|
||||
this.bNoInfo = false;
|
||||
|
||||
@ -1838,7 +1836,7 @@ namespace OpenTaiko {
|
||||
this.bHispeedRandom = false;
|
||||
this.nDefaultSongSort = 2;
|
||||
this.nRecentlyPlayedMax = 5;
|
||||
this.eGameMode = EGame.OFF;
|
||||
this.eGameMode = EGame.Off;
|
||||
this.TokkunMashInterval = 750;
|
||||
this.bEndingAnime = false;
|
||||
this.nPlayerCount = 1; //2017.08.18 kairera0467 マルチプレイ対応
|
||||
@ -1851,7 +1849,7 @@ namespace OpenTaiko {
|
||||
MusicPreTimeMs = 1000; // 一秒
|
||||
SendDiscordPlayingInformation = true;
|
||||
#region[ Ver.K追加 ]
|
||||
this.eLaneType = Eレーンタイプ.TypeA;
|
||||
this.eLaneType = ELaneType.TypeA;
|
||||
this.bDirectShowMode = false;
|
||||
#endregion
|
||||
}
|
||||
@ -1865,7 +1863,7 @@ namespace OpenTaiko {
|
||||
|
||||
public void t指定した入力が既にアサイン済みである場合はそれを全削除する(EInputDevice DeviceType, int nID, int nCode, EKeyConfigPad pad) {
|
||||
var isMenu = pad == EKeyConfigPad.Decide || pad == EKeyConfigPad.RightChange || pad == EKeyConfigPad.LeftChange;
|
||||
for (int i = 0; i <= (int)EKeyConfigPart.SYSTEM; i++) {
|
||||
for (int i = 0; i <= (int)EKeyConfigPart.System; i++) {
|
||||
for (int j = 0; j < (int)EKeyConfigPad.Capture; j++) // Do not restrict duplicate keybinds for System controls
|
||||
{
|
||||
if (isMenu ?
|
||||
@ -1875,13 +1873,13 @@ namespace OpenTaiko {
|
||||
(j == (int)EKeyConfigPad.LeftChange || j == (int)EKeyConfigPad.RightChange ||
|
||||
j == (int)EKeyConfigPad.Decide)) continue;
|
||||
for (int k = 0; k < 0x10; k++) {
|
||||
if (((this.KeyAssign[i][j][k].入力デバイス == DeviceType) && (this.KeyAssign[i][j][k].ID == nID)) && (this.KeyAssign[i][j][k].コード == nCode)) {
|
||||
if (((this.KeyAssign[i][j][k].InputDevice == DeviceType) && (this.KeyAssign[i][j][k].ID == nID)) && (this.KeyAssign[i][j][k].Code == nCode)) {
|
||||
for (int m = k; m < 15; m++) {
|
||||
this.KeyAssign[i][j][m] = this.KeyAssign[i][j][m + 1];
|
||||
}
|
||||
this.KeyAssign[i][j][15].入力デバイス = EInputDevice.Unknown;
|
||||
this.KeyAssign[i][j][15].InputDevice = EInputDevice.Unknown;
|
||||
this.KeyAssign[i][j][15].ID = 0;
|
||||
this.KeyAssign[i][j][15].コード = 0;
|
||||
this.KeyAssign[i][j][15].Code = 0;
|
||||
k--;
|
||||
}
|
||||
}
|
||||
@ -2011,7 +2009,7 @@ namespace OpenTaiko {
|
||||
sw.WriteLine(); //
|
||||
sw.WriteLine("; 非フォーカス時のsleep値[ms]"); // #23568 2011.11.04 ikanick add
|
||||
sw.WriteLine("; A sleep time[ms] while the window is inactive."); //
|
||||
sw.WriteLine("BackSleep={0}", this.n非フォーカス時スリープms); // そのまま引用(苦笑)
|
||||
sw.WriteLine("BackSleep={0}", this.nMsSleepUnfocused); // そのまま引用(苦笑)
|
||||
sw.WriteLine(); //
|
||||
#endregion
|
||||
#region [ フォント ]
|
||||
@ -2030,7 +2028,7 @@ namespace OpenTaiko {
|
||||
sw.WriteLine();
|
||||
sw.WriteLine("; フレーム毎のsleep値[ms] (-1でスリープ無し, 0以上で毎フレームスリープ。動画キャプチャ等で活用下さい)"); // #xxxxx 2011.11.27 yyagi add
|
||||
sw.WriteLine("; A sleep time[ms] per frame."); //
|
||||
sw.WriteLine("SleepTimePerFrame={0}", this.nフレーム毎スリープms); //
|
||||
sw.WriteLine("SleepTimePerFrame={0}", this.nMsSleepPerFrame); //
|
||||
sw.WriteLine(); //
|
||||
#endregion
|
||||
|
||||
@ -2113,24 +2111,24 @@ namespace OpenTaiko {
|
||||
#endregion
|
||||
#region [ プレビュー音 ]
|
||||
sw.WriteLine("; 曲選択からプレビュー音の再生までのウェイト[ms]");
|
||||
sw.WriteLine("PreviewSoundWait={0}", this.n曲が選択されてからプレビュー音が鳴るまでのウェイトms);
|
||||
sw.WriteLine("PreviewSoundWait={0}", this.nMsWaitPreviewSoundFromSongSelected);
|
||||
sw.WriteLine();
|
||||
sw.WriteLine("; 曲選択からプレビュー画像表示までのウェイト[ms]");
|
||||
sw.WriteLine("PreviewImageWait={0}", this.n曲が選択されてからプレビュー画像が表示開始されるまでのウェイトms);
|
||||
sw.WriteLine("PreviewImageWait={0}", this.nMsWaitPreviewImageFromSongSelected);
|
||||
sw.WriteLine();
|
||||
#endregion
|
||||
//sw.WriteLine( "; Waveの再生位置自動補正(0:OFF, 1:ON)" );
|
||||
//sw.WriteLine( "AdjustWaves={0}", this.bWave再生位置自動調整機能有効 ? 1 : 0 );
|
||||
#region [ BGM/ドラムヒット音の再生 ]
|
||||
sw.WriteLine("; BGM の再生(0:OFF, 1:ON)");
|
||||
sw.WriteLine("BGMSound={0}", this.bBGM音を発声する ? 1 : 0);
|
||||
sw.WriteLine("BGMSound={0}", this.bBGMPlayVoiceSound ? 1 : 0);
|
||||
sw.WriteLine();
|
||||
#endregion
|
||||
sw.WriteLine("; Hide Dan and Tower charts from the ensou song select screen (0:OFF, 1:ON)");
|
||||
sw.WriteLine("DanTowerHide={0}", this.bDanTowerHide ? 1 : 0);
|
||||
sw.WriteLine();
|
||||
sw.WriteLine("; 最小表示コンボ数");
|
||||
sw.WriteLine("MinComboDrums={0}", this.n表示可能な最小コンボ数.Drums);
|
||||
sw.WriteLine("MinComboDrums={0}", this.nMinDisplayedCombo.Drums);
|
||||
sw.WriteLine();
|
||||
sw.WriteLine("; RANDOM SELECT で子BOXを検索対象に含める (0:OFF, 1:ON)");
|
||||
sw.WriteLine("RandomFromSubBox={0}", this.bIncludeSubfoldersOnRandomSelect ? 1 : 0);
|
||||
@ -2247,13 +2245,13 @@ namespace OpenTaiko {
|
||||
sw.WriteLine("OutputLog={0}", this.bOutputLogs ? 1 : 0);
|
||||
sw.WriteLine();
|
||||
sw.WriteLine("; 曲データ検索に関するLog出力(0:OFF, 1:ON)");
|
||||
sw.WriteLine("TraceSongSearch={0}", this.bLog曲検索ログ出力 ? 1 : 0);
|
||||
sw.WriteLine("TraceSongSearch={0}", this.bOutputSongSearchLog ? 1 : 0);
|
||||
sw.WriteLine();
|
||||
sw.WriteLine("; 画像やサウンドの作成_解放に関するLog出力(0:OFF, 1:ON)");
|
||||
sw.WriteLine("TraceCreatedDisposed={0}", this.bLog作成解放ログ出力 ? 1 : 0);
|
||||
sw.WriteLine("TraceCreatedDisposed={0}", this.bOutputCreationReleaseLog ? 1 : 0);
|
||||
sw.WriteLine();
|
||||
sw.WriteLine("; DTX読み込み詳細に関するLog出力(0:OFF, 1:ON)");
|
||||
sw.WriteLine("TraceDTXDetails={0}", this.bLogDTX詳細ログ出力 ? 1 : 0);
|
||||
sw.WriteLine("TraceDTXDetails={0}", this.bOutputDetailedDTXLog ? 1 : 0);
|
||||
sw.WriteLine();
|
||||
sw.WriteLine(";-------------------");
|
||||
#endregion
|
||||
@ -2330,7 +2328,7 @@ namespace OpenTaiko {
|
||||
sw.WriteLine();
|
||||
|
||||
sw.WriteLine("; 演奏速度が一倍速であるときのみBGMを再生する(0:OFF, 1:ON)");
|
||||
sw.WriteLine("PlaySpeedNotEqualOneNoSound={0}", this.b演奏速度が一倍速であるとき以外音声を再生しない ? 1 : 0);
|
||||
sw.WriteLine("PlaySpeedNotEqualOneNoSound={0}", this.bNoAudioIfNot1xSpeed ? 1 : 0);
|
||||
sw.WriteLine();
|
||||
sw.WriteLine("; デフォルトで選択される難易度");
|
||||
sw.WriteLine("DefaultCourse={0}", this.nDefaultCourse);
|
||||
@ -2791,7 +2789,7 @@ namespace OpenTaiko {
|
||||
this.bIsEnabledSystemMenu = CConversion.bONorOFF(str4[0]);
|
||||
} else if (str3.Equals("BackSleep")) // #23568 2010.11.04 ikanick add
|
||||
{
|
||||
this.n非フォーカス時スリープms = CConversion.n値を文字列から取得して範囲内にちゃんと丸めて返す(str4, 0, 50, this.n非フォーカス時スリープms);
|
||||
this.nMsSleepUnfocused = CConversion.n値を文字列から取得して範囲内にちゃんと丸めて返す(str4, 0, 50, this.nMsSleepUnfocused);
|
||||
}
|
||||
#endregion
|
||||
|
||||
@ -2836,9 +2834,9 @@ namespace OpenTaiko {
|
||||
this.bEnableVSync = CConversion.bONorOFF(str4[0]);
|
||||
} else if (str3.Equals("SleepTimePerFrame")) // #23568 2011.11.27 yyagi
|
||||
{
|
||||
this.nフレーム毎スリープms = CConversion.n値を文字列から取得して範囲内にちゃんと丸めて返す(str4, -1, 50, this.nフレーム毎スリープms);
|
||||
this.nMsSleepPerFrame = CConversion.n値を文字列から取得して範囲内にちゃんと丸めて返す(str4, -1, 50, this.nMsSleepPerFrame);
|
||||
} else if (str3.Equals("BGAlpha")) {
|
||||
this.n背景の透過度 = CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, 0xff, this.n背景の透過度);
|
||||
this.nBackgroundTransparency = CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, 0xff, this.nBackgroundTransparency);
|
||||
}
|
||||
#region [ AVI/BGA ]
|
||||
else if (str3.Equals("AVI")) {
|
||||
@ -2851,14 +2849,14 @@ namespace OpenTaiko {
|
||||
#endregion
|
||||
#region [ プレビュー音 ]
|
||||
else if (str3.Equals("PreviewSoundWait")) {
|
||||
this.n曲が選択されてからプレビュー音が鳴るまでのウェイトms = CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, 0x5f5e0ff, this.n曲が選択されてからプレビュー音が鳴るまでのウェイトms);
|
||||
this.nMsWaitPreviewSoundFromSongSelected = CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, 0x5f5e0ff, this.nMsWaitPreviewSoundFromSongSelected);
|
||||
} else if (str3.Equals("PreviewImageWait")) {
|
||||
this.n曲が選択されてからプレビュー画像が表示開始されるまでのウェイトms = CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, 0x5f5e0ff, this.n曲が選択されてからプレビュー画像が表示開始されるまでのウェイトms);
|
||||
this.nMsWaitPreviewImageFromSongSelected = CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, 0x5f5e0ff, this.nMsWaitPreviewImageFromSongSelected);
|
||||
}
|
||||
#endregion
|
||||
#region [ BGM/ドラムのヒット音 ]
|
||||
else if (str3.Equals("BGMSound")) {
|
||||
this.bBGM音を発声する = CConversion.bONorOFF(str4[0]);
|
||||
this.bBGMPlayVoiceSound = CConversion.bONorOFF(str4[0]);
|
||||
}
|
||||
#endregion
|
||||
else if (str3.Equals("DanTowerHide")) {
|
||||
@ -2868,7 +2866,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
#region [ コンボ数 ]
|
||||
else if (str3.Equals("MinComboDrums")) {
|
||||
this.n表示可能な最小コンボ数.Drums = CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 1, 0x1869f, this.n表示可能な最小コンボ数.Drums);
|
||||
this.nMinDisplayedCombo.Drums = CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 1, 0x1869f, this.nMinDisplayedCombo.Drums);
|
||||
}
|
||||
#endregion
|
||||
else if (str3.Equals("ShowDebugStatus")) {
|
||||
@ -2995,13 +2993,13 @@ namespace OpenTaiko {
|
||||
//-----------------------------
|
||||
case Eセクション種別.HitRange:
|
||||
if (str3.Equals("Perfect")) {
|
||||
this.nヒット範囲ms.Perfect = CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, 0x3e7, this.nヒット範囲ms.Perfect);
|
||||
this.nHitRangeMs.Perfect = CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, 0x3e7, this.nHitRangeMs.Perfect);
|
||||
} else if (str3.Equals("Great")) {
|
||||
this.nヒット範囲ms.Great = CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, 0x3e7, this.nヒット範囲ms.Great);
|
||||
this.nHitRangeMs.Great = CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, 0x3e7, this.nHitRangeMs.Great);
|
||||
} else if (str3.Equals("Good")) {
|
||||
this.nヒット範囲ms.Good = CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, 0x3e7, this.nヒット範囲ms.Good);
|
||||
this.nHitRangeMs.Good = CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, 0x3e7, this.nHitRangeMs.Good);
|
||||
} else if (str3.Equals("Poor")) {
|
||||
this.nヒット範囲ms.Poor = CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, 0x3e7, this.nヒット範囲ms.Poor);
|
||||
this.nHitRangeMs.Poor = CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, 0x3e7, this.nHitRangeMs.Poor);
|
||||
}
|
||||
continue;
|
||||
|
||||
@ -3014,11 +3012,11 @@ namespace OpenTaiko {
|
||||
if (str3.Equals("OutputLog")) {
|
||||
this.bOutputLogs = CConversion.bONorOFF(str4[0]);
|
||||
} else if (str3.Equals("TraceCreatedDisposed")) {
|
||||
this.bLog作成解放ログ出力 = CConversion.bONorOFF(str4[0]);
|
||||
this.bOutputCreationReleaseLog = CConversion.bONorOFF(str4[0]);
|
||||
} else if (str3.Equals("TraceDTXDetails")) {
|
||||
this.bLogDTX詳細ログ出力 = CConversion.bONorOFF(str4[0]);
|
||||
this.bOutputDetailedDTXLog = CConversion.bONorOFF(str4[0]);
|
||||
} else if (str3.Equals("TraceSongSearch")) {
|
||||
this.bLog曲検索ログ出力 = CConversion.bONorOFF(str4[0]);
|
||||
this.bOutputSongSearchLog = CConversion.bONorOFF(str4[0]);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
@ -3053,7 +3051,7 @@ namespace OpenTaiko {
|
||||
else if (str3.Equals("DrumsReverse")) {
|
||||
this.bReverse.Drums = CConversion.bONorOFF(str4[0]);
|
||||
} else if (str3.Equals("DrumsPosition")) {
|
||||
this.判定文字表示位置.Drums = (E判定文字表示位置)CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, 2, (int)this.判定文字表示位置.Drums);
|
||||
this.JudgeTextDisplayPosition.Drums = (EJudgeTextDisplayPosition)CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, 2, (int)this.JudgeTextDisplayPosition.Drums);
|
||||
}
|
||||
|
||||
#region [Mods]
|
||||
@ -3142,15 +3140,15 @@ namespace OpenTaiko {
|
||||
#region [Fun mods]
|
||||
|
||||
else if (str3.Equals("FunMods1P")) {
|
||||
this.nFunMods[0] = (EFunMods)CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, (int)EFunMods.TOTAL - 1, (int)this.nFunMods[0]);
|
||||
this.nFunMods[0] = (EFunMods)CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, (int)EFunMods.Total - 1, (int)this.nFunMods[0]);
|
||||
} else if (str3.Equals("FunMods2P")) {
|
||||
this.nFunMods[1] = (EFunMods)CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, (int)EFunMods.TOTAL - 1, (int)this.nFunMods[1]);
|
||||
this.nFunMods[1] = (EFunMods)CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, (int)EFunMods.Total - 1, (int)this.nFunMods[1]);
|
||||
} else if (str3.Equals("FunMods3P")) {
|
||||
this.nFunMods[2] = (EFunMods)CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, (int)EFunMods.TOTAL - 1, (int)this.nFunMods[2]);
|
||||
this.nFunMods[2] = (EFunMods)CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, (int)EFunMods.Total - 1, (int)this.nFunMods[2]);
|
||||
} else if (str3.Equals("FunMods4P")) {
|
||||
this.nFunMods[3] = (EFunMods)CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, (int)EFunMods.TOTAL - 1, (int)this.nFunMods[3]);
|
||||
this.nFunMods[3] = (EFunMods)CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, (int)EFunMods.Total - 1, (int)this.nFunMods[3]);
|
||||
} else if (str3.Equals("FunMods5P")) {
|
||||
this.nFunMods[4] = (EFunMods)CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, (int)EFunMods.TOTAL - 1, (int)this.nFunMods[4]);
|
||||
this.nFunMods[4] = (EFunMods)CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, (int)EFunMods.Total - 1, (int)this.nFunMods[4]);
|
||||
}
|
||||
|
||||
#endregion
|
||||
@ -3195,7 +3193,7 @@ namespace OpenTaiko {
|
||||
else if (str3.Equals("PlaySpeed")) {
|
||||
this.nSongSpeed = CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 5, 400, this.nSongSpeed);
|
||||
} else if (str3.Equals("PlaySpeedNotEqualOneNoSound")) {
|
||||
this.b演奏速度が一倍速であるとき以外音声を再生しない = CConversion.bONorOFF(str4[0]);
|
||||
this.bNoAudioIfNot1xSpeed = CConversion.bONorOFF(str4[0]);
|
||||
} else if (str3.Equals("Risky")) // #23559 2011.6.23 yyagi
|
||||
{
|
||||
this.nRisky = CConversion.n値を文字列から取得して範囲内に丸めて返す(str4, 0, 10, this.nRisky);
|
||||
@ -3532,8 +3530,8 @@ namespace OpenTaiko {
|
||||
Temp,
|
||||
}
|
||||
|
||||
private bool _bDrums有効;
|
||||
private bool _bGuitar有効;
|
||||
private bool _bDrumsEnabled;
|
||||
private bool _bGuitarEnabled;
|
||||
private bool bConfigIniが存在している;
|
||||
private string ConfigIniファイル名;
|
||||
|
||||
@ -3563,8 +3561,8 @@ namespace OpenTaiko {
|
||||
}
|
||||
private void tキーアサインを全部クリアする() {
|
||||
this.KeyAssign = new CKeyAssign();
|
||||
for (int i = 0; i <= (int)EKeyConfigPart.SYSTEM; i++) {
|
||||
for (int j = 0; j < (int)EKeyConfigPad.MAX; j++) {
|
||||
for (int i = 0; i <= (int)EKeyConfigPart.System; i++) {
|
||||
for (int j = 0; j < (int)EKeyConfigPad.Max; j++) {
|
||||
this.KeyAssign[i][j] = new CKeyAssign.STKEYASSIGN[16];
|
||||
for (int k = 0; k < 16; k++) {
|
||||
this.KeyAssign[i][j][k] = new CKeyAssign.STKEYASSIGN(EInputDevice.Unknown, 0, 0);
|
||||
@ -3575,14 +3573,14 @@ namespace OpenTaiko {
|
||||
private void tキーの書き出し(StreamWriter sw, CKeyAssign.STKEYASSIGN[] assign) {
|
||||
bool flag = true;
|
||||
for (int i = 0; i < 0x10; i++) {
|
||||
if (assign[i].入力デバイス == EInputDevice.Unknown) {
|
||||
if (assign[i].InputDevice == EInputDevice.Unknown) {
|
||||
continue;
|
||||
}
|
||||
if (!flag) {
|
||||
sw.Write(',');
|
||||
}
|
||||
flag = false;
|
||||
switch (assign[i].入力デバイス) {
|
||||
switch (assign[i].InputDevice) {
|
||||
case EInputDevice.Keyboard:
|
||||
sw.Write('K');
|
||||
break;
|
||||
@ -3603,7 +3601,7 @@ namespace OpenTaiko {
|
||||
sw.Write('N');
|
||||
break;
|
||||
}
|
||||
sw.Write("{0}{1}", "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ".Substring(assign[i].ID, 1), assign[i].コード); // #24166 2011.1.15 yyagi: to support ID > 10, change 2nd character from Decimal to 36-numeral system. (e.g. J1023 -> JA23)
|
||||
sw.Write("{0}{1}", "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ".Substring(assign[i].ID, 1), assign[i].Code); // #24166 2011.1.15 yyagi: to support ID > 10, change 2nd character from Decimal to 36-numeral system. (e.g. J1023 -> JA23)
|
||||
}
|
||||
}
|
||||
private void tキーの読み出しと設定(string strキー記述, CKeyAssign.STKEYASSIGN[] assign) {
|
||||
@ -3645,9 +3643,9 @@ namespace OpenTaiko {
|
||||
id = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ".IndexOf(str[1]); // #24166 2011.1.15 yyagi: to support ID > 10, change 2nd character from Decimal to 36-numeral system. (e.g. J1023 -> JA23)
|
||||
if (((id >= 0) && int.TryParse(str.Substring(2), out code)) && ((code >= 0) && (code <= 0xff))) {
|
||||
//this.t指定した入力が既にアサイン済みである場合はそれを全削除する( e入力デバイス, id, code );
|
||||
assign[i].入力デバイス = e入力デバイス;
|
||||
assign[i].InputDevice = e入力デバイス;
|
||||
assign[i].ID = id;
|
||||
assign[i].コード = code;
|
||||
assign[i].Code = code;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2,9 +2,6 @@
|
||||
|
||||
namespace OpenTaiko {
|
||||
|
||||
/// <summary>
|
||||
/// 難易度。
|
||||
/// </summary>
|
||||
public enum Difficulty {
|
||||
Easy,
|
||||
Normal,
|
||||
@ -18,19 +15,20 @@ namespace OpenTaiko {
|
||||
|
||||
public enum EScrollMode {
|
||||
Normal,
|
||||
BMSCROLL,
|
||||
HBSCROLL
|
||||
BMScroll,
|
||||
HBScroll
|
||||
}
|
||||
|
||||
public enum EGame {
|
||||
OFF = 0,
|
||||
完走叩ききりまショー = 1,
|
||||
完走叩ききりまショー激辛 = 2
|
||||
Off = 0,
|
||||
Survival = 1,
|
||||
SurvivalHard = 2
|
||||
}
|
||||
public enum E難易度表示タイプ {
|
||||
OFF = 0,
|
||||
n曲目に表示 = 1,
|
||||
mtaikoに画像で表示 = 2,
|
||||
|
||||
public enum EDifficultyDisplayType {
|
||||
Off = 0,
|
||||
TextOnNthSong = 1,
|
||||
ImageOnMTaiko = 2,
|
||||
}
|
||||
|
||||
public enum EPad // 演奏用のenum。ここを修正するときは、次に出てくる EKeyConfigPad と EパッドFlag もセットで修正すること。
|
||||
@ -80,16 +78,16 @@ namespace OpenTaiko {
|
||||
LBlue5P = 30,
|
||||
RBlue5P = 31,
|
||||
|
||||
CLAP = 32,
|
||||
CLAP2P = 33,
|
||||
CLAP3P = 34,
|
||||
CLAP4P = 35,
|
||||
CLAP5P = 36,
|
||||
Clap = 32,
|
||||
Clap2P = 33,
|
||||
Clap3P = 34,
|
||||
Clap4P = 35,
|
||||
Clap5P = 36,
|
||||
LeftChange = 37,
|
||||
RightChange = 38,
|
||||
|
||||
MAX, // 門番用として定義
|
||||
UNKNOWN = 99
|
||||
Max, // 門番用として定義
|
||||
Unknown = 99
|
||||
}
|
||||
public enum EKeyConfigPad // #24609 キーコンフィグで使うenum。capture要素あり。
|
||||
{
|
||||
@ -138,11 +136,11 @@ namespace OpenTaiko {
|
||||
LBlue5P = EPad.LBlue5P,
|
||||
RBlue5P = EPad.RBlue5P,
|
||||
|
||||
Clap = EPad.CLAP,
|
||||
Clap2P = EPad.CLAP2P,
|
||||
Clap3P = EPad.CLAP3P,
|
||||
Clap4P = EPad.CLAP4P,
|
||||
Clap5P = EPad.CLAP5P,
|
||||
Clap = EPad.Clap,
|
||||
Clap2P = EPad.Clap2P,
|
||||
Clap3P = EPad.Clap3P,
|
||||
Clap4P = EPad.Clap4P,
|
||||
Clap5P = EPad.Clap5P,
|
||||
LeftChange = EPad.LeftChange,
|
||||
RightChange = EPad.RightChange,
|
||||
#endregion
|
||||
@ -182,8 +180,8 @@ namespace OpenTaiko {
|
||||
TrainingJumpToFirstMeasure,
|
||||
TrainingJumpToLastMeasure,
|
||||
#endregion
|
||||
MAX,
|
||||
UNKNOWN = EPad.UNKNOWN
|
||||
Max,
|
||||
Unknown = EPad.Unknown
|
||||
}
|
||||
[Flags]
|
||||
public enum EPadFlag // #24063 2011.1.16 yyagi コマンド入力用 パッド入力のフラグ化
|
||||
@ -216,44 +214,44 @@ namespace OpenTaiko {
|
||||
RRed2P = 16,
|
||||
LBlue2P = 32,
|
||||
RBlue2P = 64,
|
||||
UNKNOWN = 4096
|
||||
Unknown = 4096
|
||||
}
|
||||
public enum ERandomMode {
|
||||
OFF,
|
||||
RANDOM,
|
||||
MIRROR,
|
||||
SUPERRANDOM,
|
||||
MIRRORRANDOM
|
||||
Off,
|
||||
Random,
|
||||
Mirror,
|
||||
SuperRandom,
|
||||
MirrorRandom
|
||||
}
|
||||
|
||||
public enum EFunMods {
|
||||
NONE,
|
||||
AVALANCHE,
|
||||
MINESWEEPER,
|
||||
TOTAL,
|
||||
None,
|
||||
Avalanche,
|
||||
Minesweeper,
|
||||
Total,
|
||||
}
|
||||
|
||||
public enum EGameType {
|
||||
TAIKO = 0,
|
||||
KONGA = 1,
|
||||
Taiko = 0,
|
||||
Konga = 1,
|
||||
}
|
||||
|
||||
public enum EInstrumentPad // ここを修正するときは、セットで次の EKeyConfigPart も修正すること。
|
||||
{
|
||||
DRUMS = 0,
|
||||
GUITAR = 1,
|
||||
BASS = 2,
|
||||
TAIKO = 3,
|
||||
UNKNOWN = 99
|
||||
Drums = 0,
|
||||
Guitar = 1,
|
||||
Bass = 2,
|
||||
Taiko = 3,
|
||||
Unknown = 99
|
||||
}
|
||||
public enum EKeyConfigPart // : E楽器パート
|
||||
{
|
||||
DRUMS = EInstrumentPad.DRUMS,
|
||||
GUITAR = EInstrumentPad.GUITAR,
|
||||
BASS = EInstrumentPad.BASS,
|
||||
TAIKO = EInstrumentPad.TAIKO,
|
||||
SYSTEM,
|
||||
UNKNOWN = EInstrumentPad.UNKNOWN
|
||||
Drums = EInstrumentPad.Drums,
|
||||
Guitar = EInstrumentPad.Guitar,
|
||||
Bass = EInstrumentPad.Bass,
|
||||
Taiko = EInstrumentPad.Taiko,
|
||||
System,
|
||||
Unknown = EInstrumentPad.Unknown
|
||||
}
|
||||
|
||||
internal enum EInputDevice {
|
||||
@ -275,61 +273,61 @@ namespace OpenTaiko {
|
||||
ADLIB = 7,
|
||||
Mine = 8,
|
||||
}
|
||||
internal enum E判定文字表示位置 {
|
||||
表示OFF,
|
||||
レーン上,
|
||||
判定ライン上,
|
||||
コンボ下
|
||||
internal enum EJudgeTextDisplayPosition {
|
||||
OFF,
|
||||
AboveLane,
|
||||
OnJudgeLine,
|
||||
BelowCombo
|
||||
}
|
||||
|
||||
internal enum EFIFOモード {
|
||||
フェードイン,
|
||||
フェードアウト
|
||||
internal enum EFIFOMode {
|
||||
FadeIn,
|
||||
FadeOut
|
||||
}
|
||||
|
||||
internal enum E演奏画面の戻り値 {
|
||||
継続,
|
||||
演奏中断,
|
||||
ステージ失敗,
|
||||
ステージクリア,
|
||||
再読込_再演奏,
|
||||
再演奏
|
||||
internal enum EGameplayScreenReturnValue {
|
||||
Continue,
|
||||
PerformanceInterrupted,
|
||||
StageFailed,
|
||||
StageCleared,
|
||||
ReloadAndReplay,
|
||||
Replay
|
||||
}
|
||||
internal enum E曲読込画面の戻り値 {
|
||||
継続 = 0,
|
||||
読込完了,
|
||||
読込中止
|
||||
internal enum ESongLoadingScreenReturnValue {
|
||||
Continue = 0,
|
||||
LoadComplete,
|
||||
LoadCanceled
|
||||
}
|
||||
|
||||
public enum ENoteState {
|
||||
none,
|
||||
wait,
|
||||
perfect,
|
||||
grade,
|
||||
bad
|
||||
None,
|
||||
Wait,
|
||||
Perfect,
|
||||
Grade,
|
||||
Bad
|
||||
}
|
||||
|
||||
public enum E連打State {
|
||||
none,
|
||||
roll,
|
||||
rollB,
|
||||
balloon,
|
||||
potato
|
||||
public enum ERollState {
|
||||
None,
|
||||
Roll,
|
||||
RollB,
|
||||
Balloon,
|
||||
Potato
|
||||
}
|
||||
|
||||
public enum EStealthMode {
|
||||
OFF = 0,
|
||||
DORON = 1,
|
||||
STEALTH = 2
|
||||
Off = 0,
|
||||
Doron = 1,
|
||||
Stealth = 2
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 透明チップの種類
|
||||
/// </summary>
|
||||
public enum EInvisible {
|
||||
OFF, // チップを透明化しない
|
||||
SEMI, // Poor/Miss時だけ、一時的に透明解除する
|
||||
FULL // チップを常に透明化する
|
||||
Off, // チップを透明化しない
|
||||
Semi, // Poor/Miss時だけ、一時的に透明解除する
|
||||
Full // チップを常に透明化する
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -348,42 +346,42 @@ namespace OpenTaiko {
|
||||
public T this[int index] {
|
||||
get {
|
||||
switch (index) {
|
||||
case (int)EInstrumentPad.DRUMS:
|
||||
case (int)EInstrumentPad.Drums:
|
||||
return this.Drums;
|
||||
|
||||
case (int)EInstrumentPad.GUITAR:
|
||||
case (int)EInstrumentPad.Guitar:
|
||||
return this.Guitar;
|
||||
|
||||
case (int)EInstrumentPad.BASS:
|
||||
case (int)EInstrumentPad.Bass:
|
||||
return this.Bass;
|
||||
|
||||
case (int)EInstrumentPad.TAIKO:
|
||||
case (int)EInstrumentPad.Taiko:
|
||||
return this.Taiko;
|
||||
|
||||
case (int)EInstrumentPad.UNKNOWN:
|
||||
case (int)EInstrumentPad.Unknown:
|
||||
return this.Unknown;
|
||||
}
|
||||
throw new IndexOutOfRangeException();
|
||||
}
|
||||
set {
|
||||
switch (index) {
|
||||
case (int)EInstrumentPad.DRUMS:
|
||||
case (int)EInstrumentPad.Drums:
|
||||
this.Drums = value;
|
||||
return;
|
||||
|
||||
case (int)EInstrumentPad.GUITAR:
|
||||
case (int)EInstrumentPad.Guitar:
|
||||
this.Guitar = value;
|
||||
return;
|
||||
|
||||
case (int)EInstrumentPad.BASS:
|
||||
case (int)EInstrumentPad.Bass:
|
||||
this.Bass = value;
|
||||
return;
|
||||
|
||||
case (int)EInstrumentPad.TAIKO:
|
||||
case (int)EInstrumentPad.Taiko:
|
||||
this.Taiko = value;
|
||||
return;
|
||||
|
||||
case (int)EInstrumentPad.UNKNOWN:
|
||||
case (int)EInstrumentPad.Unknown:
|
||||
this.Unknown = value;
|
||||
return;
|
||||
}
|
||||
@ -399,21 +397,21 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
#region[Ver.K追加]
|
||||
public enum Eレーンタイプ {
|
||||
public enum ELaneType {
|
||||
TypeA,
|
||||
TypeB,
|
||||
TypeC,
|
||||
TypeD
|
||||
}
|
||||
public enum Eミラー {
|
||||
public enum EMirror {
|
||||
TypeA,
|
||||
TypeB
|
||||
}
|
||||
public enum EClipDispType {
|
||||
背景のみ = 1,
|
||||
ウィンドウのみ = 2,
|
||||
両方 = 3,
|
||||
OFF = 0
|
||||
BackgroundOnly = 1,
|
||||
WindowOnly = 2,
|
||||
Both = 3,
|
||||
Off = 0
|
||||
}
|
||||
#endregion
|
||||
}
|
@ -7,7 +7,7 @@ namespace OpenTaiko {
|
||||
/// <para>例2:"078a(100124)" → 整数部=078, 小数部=1100124 ('英字'+'yymmdd')</para>
|
||||
/// </summary>
|
||||
public class CDTXVersion {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
/// <summary>
|
||||
/// <para>バージョンが未知のときに true になる。</para>
|
||||
@ -33,7 +33,7 @@ namespace OpenTaiko {
|
||||
public int n小数部;
|
||||
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CDTXVersion() {
|
||||
this.n整数部 = 0;
|
||||
|
@ -3,7 +3,7 @@ using FDK;
|
||||
|
||||
namespace OpenTaiko {
|
||||
public class CPad {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
internal STHIT st検知したデバイス;
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
@ -22,7 +22,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
internal CPad(CConfigIni configIni, CInputManager mgrInput) {
|
||||
this.rConfigIni = configIni;
|
||||
@ -42,37 +42,37 @@ namespace OpenTaiko {
|
||||
if ((device.InputEvents != null) && (device.InputEvents.Count != 0)) {
|
||||
foreach (STInputEvent event2 in device.InputEvents) {
|
||||
for (int i = 0; i < stkeyassignArray.Length; i++) {
|
||||
switch (stkeyassignArray[i].入力デバイス) {
|
||||
switch (stkeyassignArray[i].InputDevice) {
|
||||
case EInputDevice.Keyboard:
|
||||
if ((device.CurrentType == InputDeviceType.Keyboard) && (event2.nKey == stkeyassignArray[i].コード)) {
|
||||
if ((device.CurrentType == InputDeviceType.Keyboard) && (event2.nKey == stkeyassignArray[i].Code)) {
|
||||
list.Add(event2);
|
||||
this.st検知したデバイス.Keyboard = true;
|
||||
}
|
||||
break;
|
||||
|
||||
case EInputDevice.MIDIInput:
|
||||
if (((device.CurrentType == InputDeviceType.MidiIn) && (device.ID == stkeyassignArray[i].ID)) && (event2.nKey == stkeyassignArray[i].コード)) {
|
||||
if (((device.CurrentType == InputDeviceType.MidiIn) && (device.ID == stkeyassignArray[i].ID)) && (event2.nKey == stkeyassignArray[i].Code)) {
|
||||
list.Add(event2);
|
||||
this.st検知したデバイス.MIDIIN = true;
|
||||
}
|
||||
break;
|
||||
|
||||
case EInputDevice.Joypad:
|
||||
if (((device.CurrentType == InputDeviceType.Joystick) && (device.ID == stkeyassignArray[i].ID)) && (event2.nKey == stkeyassignArray[i].コード)) {
|
||||
if (((device.CurrentType == InputDeviceType.Joystick) && (device.ID == stkeyassignArray[i].ID)) && (event2.nKey == stkeyassignArray[i].Code)) {
|
||||
list.Add(event2);
|
||||
this.st検知したデバイス.Joypad = true;
|
||||
}
|
||||
break;
|
||||
|
||||
case EInputDevice.Gamepad:
|
||||
if (((device.CurrentType == InputDeviceType.Gamepad) && (device.ID == stkeyassignArray[i].ID)) && (event2.nKey == stkeyassignArray[i].コード)) {
|
||||
if (((device.CurrentType == InputDeviceType.Gamepad) && (device.ID == stkeyassignArray[i].ID)) && (event2.nKey == stkeyassignArray[i].Code)) {
|
||||
list.Add(event2);
|
||||
this.st検知したデバイス.Gamepad = true;
|
||||
}
|
||||
break;
|
||||
|
||||
case EInputDevice.Mouse:
|
||||
if ((device.CurrentType == InputDeviceType.Mouse) && (event2.nKey == stkeyassignArray[i].コード)) {
|
||||
if ((device.CurrentType == InputDeviceType.Mouse) && (event2.nKey == stkeyassignArray[i].Code)) {
|
||||
list.Add(event2);
|
||||
this.st検知したデバイス.Mouse = true;
|
||||
}
|
||||
@ -86,13 +86,13 @@ namespace OpenTaiko {
|
||||
return list;
|
||||
}
|
||||
public bool bPressed(EInstrumentPad part, EPad pad) {
|
||||
if (part != EInstrumentPad.UNKNOWN) {
|
||||
if (part != EInstrumentPad.Unknown) {
|
||||
|
||||
CConfigIni.CKeyAssign.STKEYASSIGN[] stkeyassignArray = this.rConfigIni.KeyAssign[(int)part][(int)pad];
|
||||
for (int i = 0; i < stkeyassignArray.Length; i++) {
|
||||
switch (stkeyassignArray[i].入力デバイス) {
|
||||
switch (stkeyassignArray[i].InputDevice) {
|
||||
case EInputDevice.Keyboard:
|
||||
if (!this.rInput管理.Keyboard.KeyPressed(stkeyassignArray[i].コード))
|
||||
if (!this.rInput管理.Keyboard.KeyPressed(stkeyassignArray[i].Code))
|
||||
break;
|
||||
|
||||
this.st検知したデバイス.Keyboard = true;
|
||||
@ -100,7 +100,7 @@ namespace OpenTaiko {
|
||||
|
||||
case EInputDevice.MIDIInput: {
|
||||
IInputDevice device2 = this.rInput管理.MidiIn(stkeyassignArray[i].ID);
|
||||
if ((device2 == null) || !device2.KeyPressed(stkeyassignArray[i].コード))
|
||||
if ((device2 == null) || !device2.KeyPressed(stkeyassignArray[i].Code))
|
||||
break;
|
||||
|
||||
this.st検知したデバイス.MIDIIN = true;
|
||||
@ -111,7 +111,7 @@ namespace OpenTaiko {
|
||||
break;
|
||||
|
||||
IInputDevice device = this.rInput管理.Joystick(stkeyassignArray[i].ID);
|
||||
if ((device == null) || !device.KeyPressed(stkeyassignArray[i].コード))
|
||||
if ((device == null) || !device.KeyPressed(stkeyassignArray[i].Code))
|
||||
break;
|
||||
|
||||
this.st検知したデバイス.Joypad = true;
|
||||
@ -122,14 +122,14 @@ namespace OpenTaiko {
|
||||
break;
|
||||
|
||||
IInputDevice device = this.rInput管理.Gamepad(stkeyassignArray[i].ID);
|
||||
if ((device == null) || !device.KeyPressed(stkeyassignArray[i].コード))
|
||||
if ((device == null) || !device.KeyPressed(stkeyassignArray[i].Code))
|
||||
break;
|
||||
|
||||
this.st検知したデバイス.Gamepad = true;
|
||||
return true;
|
||||
}
|
||||
case EInputDevice.Mouse:
|
||||
if (!this.rInput管理.Mouse.KeyPressed(stkeyassignArray[i].コード))
|
||||
if (!this.rInput管理.Mouse.KeyPressed(stkeyassignArray[i].Code))
|
||||
break;
|
||||
|
||||
this.st検知したデバイス.Mouse = true;
|
||||
@ -140,24 +140,24 @@ namespace OpenTaiko {
|
||||
return false;
|
||||
}
|
||||
public bool bPressedDGB(EPad pad) {
|
||||
if (!this.bPressed(EInstrumentPad.DRUMS, pad) && !this.bPressed(EInstrumentPad.GUITAR, pad)) {
|
||||
return this.bPressed(EInstrumentPad.BASS, pad);
|
||||
if (!this.bPressed(EInstrumentPad.Drums, pad) && !this.bPressed(EInstrumentPad.Guitar, pad)) {
|
||||
return this.bPressed(EInstrumentPad.Bass, pad);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
public bool bPressedGB(EPad pad) {
|
||||
if (!this.bPressed(EInstrumentPad.GUITAR, pad)) {
|
||||
return this.bPressed(EInstrumentPad.BASS, pad);
|
||||
if (!this.bPressed(EInstrumentPad.Guitar, pad)) {
|
||||
return this.bPressed(EInstrumentPad.Bass, pad);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
public bool b押されている(EInstrumentPad part, EPad pad) {
|
||||
if (part != EInstrumentPad.UNKNOWN) {
|
||||
if (part != EInstrumentPad.Unknown) {
|
||||
CConfigIni.CKeyAssign.STKEYASSIGN[] stkeyassignArray = this.rConfigIni.KeyAssign[(int)part][(int)pad];
|
||||
for (int i = 0; i < stkeyassignArray.Length; i++) {
|
||||
switch (stkeyassignArray[i].入力デバイス) {
|
||||
switch (stkeyassignArray[i].InputDevice) {
|
||||
case EInputDevice.Keyboard:
|
||||
if (!this.rInput管理.Keyboard.KeyPressing(stkeyassignArray[i].コード)) {
|
||||
if (!this.rInput管理.Keyboard.KeyPressing(stkeyassignArray[i].Code)) {
|
||||
break;
|
||||
}
|
||||
this.st検知したデバイス.Keyboard = true;
|
||||
@ -168,7 +168,7 @@ namespace OpenTaiko {
|
||||
break;
|
||||
}
|
||||
IInputDevice device = this.rInput管理.Joystick(stkeyassignArray[i].ID);
|
||||
if ((device == null) || !device.KeyPressing(stkeyassignArray[i].コード)) {
|
||||
if ((device == null) || !device.KeyPressing(stkeyassignArray[i].Code)) {
|
||||
break;
|
||||
}
|
||||
this.st検知したデバイス.Joypad = true;
|
||||
@ -180,14 +180,14 @@ namespace OpenTaiko {
|
||||
break;
|
||||
}
|
||||
IInputDevice device = this.rInput管理.Gamepad(stkeyassignArray[i].ID);
|
||||
if ((device == null) || !device.KeyPressing(stkeyassignArray[i].コード)) {
|
||||
if ((device == null) || !device.KeyPressing(stkeyassignArray[i].Code)) {
|
||||
break;
|
||||
}
|
||||
this.st検知したデバイス.Gamepad = true;
|
||||
return true;
|
||||
}
|
||||
case EInputDevice.Mouse:
|
||||
if (!this.rInput管理.Mouse.KeyPressing(stkeyassignArray[i].コード)) {
|
||||
if (!this.rInput管理.Mouse.KeyPressing(stkeyassignArray[i].Code)) {
|
||||
break;
|
||||
}
|
||||
this.st検知したデバイス.Mouse = true;
|
||||
@ -198,8 +198,8 @@ namespace OpenTaiko {
|
||||
return false;
|
||||
}
|
||||
public bool b押されているGB(EPad pad) {
|
||||
if (!this.b押されている(EInstrumentPad.GUITAR, pad)) {
|
||||
return this.b押されている(EInstrumentPad.BASS, pad);
|
||||
if (!this.b押されている(EInstrumentPad.Guitar, pad)) {
|
||||
return this.b押されている(EInstrumentPad.Bass, pad);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
internal class CSkin : IDisposable {
|
||||
// クラス
|
||||
// Class
|
||||
|
||||
public class CSystemSound : IDisposable {
|
||||
// static フィールド
|
||||
@ -240,7 +240,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
// Hitsounds
|
||||
|
||||
@ -604,7 +604,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
public CSkin(string _strSkinSubfolderFullName, bool _bUseBoxDefSkin) {
|
||||
lockBoxDefSkin = new object();
|
||||
strSystemSkinSubfolderFullName = _strSkinSubfolderFullName;
|
||||
@ -901,7 +901,7 @@ namespace OpenTaiko {
|
||||
/// 変数の初期化
|
||||
/// </summary>
|
||||
public void tSkinConfigInit() {
|
||||
this.eDiffDispMode = E難易度表示タイプ.mtaikoに画像で表示;
|
||||
this.eDiffDispMode = EDifficultyDisplayType.ImageOnMTaiko;
|
||||
this.b現在のステージ数を表示しない = false;
|
||||
}
|
||||
|
||||
@ -1015,7 +1015,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
case "DiffDispMode": {
|
||||
this.eDiffDispMode = (E難易度表示タイプ)CConversion.n値を文字列から取得して範囲内に丸めて返す(strParam, 0, 2, (int)this.eDiffDispMode);
|
||||
this.eDiffDispMode = (EDifficultyDisplayType)CConversion.n値を文字列から取得して範囲内に丸めて返す(strParam, 0, 2, (int)this.eDiffDispMode);
|
||||
break;
|
||||
}
|
||||
case "NowStageDisp": {
|
||||
@ -7588,7 +7588,7 @@ namespace OpenTaiko {
|
||||
public float fComboNumberSpacing = 0;
|
||||
public float fComboNumberSpacing_l = 0;
|
||||
|
||||
public E難易度表示タイプ eDiffDispMode;
|
||||
public EDifficultyDisplayType eDiffDispMode;
|
||||
public bool b現在のステージ数を表示しない;
|
||||
|
||||
//リザルト画面
|
||||
|
@ -15,7 +15,7 @@ using Rectangle = System.Drawing.Rectangle;
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class OpenTaiko : Game {
|
||||
// プロパティ
|
||||
// Properties
|
||||
#region [ properties ]
|
||||
public static readonly string VERSION = Assembly.GetExecutingAssembly().GetName().Version.ToString();
|
||||
public static readonly string AppDisplayThreePartVersion = GetAppDisplayThreePartVersion();
|
||||
@ -195,7 +195,7 @@ namespace OpenTaiko {
|
||||
return c曲リストノード.nPerfect範囲ms;
|
||||
}
|
||||
}
|
||||
return ConfigIni.nヒット範囲ms.Perfect;
|
||||
return ConfigIni.nHitRangeMs.Perfect;
|
||||
}
|
||||
}
|
||||
public static int nGreat範囲ms {
|
||||
@ -206,7 +206,7 @@ namespace OpenTaiko {
|
||||
return c曲リストノード.nGreat範囲ms;
|
||||
}
|
||||
}
|
||||
return ConfigIni.nヒット範囲ms.Great;
|
||||
return ConfigIni.nHitRangeMs.Great;
|
||||
}
|
||||
}
|
||||
public static int nGood範囲ms {
|
||||
@ -217,7 +217,7 @@ namespace OpenTaiko {
|
||||
return c曲リストノード.nGood範囲ms;
|
||||
}
|
||||
}
|
||||
return ConfigIni.nヒット範囲ms.Good;
|
||||
return ConfigIni.nHitRangeMs.Good;
|
||||
}
|
||||
}
|
||||
public static int nPoor範囲ms {
|
||||
@ -228,7 +228,7 @@ namespace OpenTaiko {
|
||||
return c曲リストノード.nPoor範囲ms;
|
||||
}
|
||||
}
|
||||
return ConfigIni.nヒット範囲ms.Poor;
|
||||
return ConfigIni.nHitRangeMs.Poor;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
@ -428,7 +428,7 @@ namespace OpenTaiko {
|
||||
|
||||
#endregion
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public OpenTaiko() : base("OpenTaiko.ico") {
|
||||
OpenTaiko.app = this;
|
||||
@ -547,7 +547,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
protected override void LoadContent() {
|
||||
if (ConfigIni.bウィンドウモード) {
|
||||
if (ConfigIni.bWindowMode) {
|
||||
if (!this.bマウスカーソル表示中) {
|
||||
this.bマウスカーソル表示中 = true;
|
||||
}
|
||||
@ -1327,7 +1327,7 @@ namespace OpenTaiko {
|
||||
r現在のステージ.ReleaseUnmanagedResource();
|
||||
}
|
||||
#region [ ESC押下時は、曲の読み込みを中止して選曲画面に戻る ]
|
||||
if (this.n進行描画の戻り値 == (int)E曲読込画面の戻り値.読込中止) {
|
||||
if (this.n進行描画の戻り値 == (int)ESongLoadingScreenReturnValue.LoadCanceled) {
|
||||
//DTX.t全チップの再生停止();
|
||||
if (DTX != null) {
|
||||
DTX.DeActivate();
|
||||
@ -1469,7 +1469,7 @@ for (int i = 0; i < 3; i++) {
|
||||
#endregion
|
||||
|
||||
switch (this.n進行描画の戻り値) {
|
||||
case (int)E演奏画面の戻り値.再読込_再演奏:
|
||||
case (int)EGameplayScreenReturnValue.ReloadAndReplay:
|
||||
#region [ DTXファイルを再読み込みして、再演奏 ]
|
||||
DTX.t全チップの再生停止();
|
||||
DTX.DeActivate();
|
||||
@ -1496,10 +1496,10 @@ for (int i = 0; i < 3; i++) {
|
||||
#endregion
|
||||
// break;
|
||||
|
||||
case (int)E演奏画面の戻り値.継続:
|
||||
case (int)EGameplayScreenReturnValue.Continue:
|
||||
break;
|
||||
|
||||
case (int)E演奏画面の戻り値.演奏中断:
|
||||
case (int)EGameplayScreenReturnValue.PerformanceInterrupted:
|
||||
#region [ 演奏キャンセル ]
|
||||
//-----------------------------
|
||||
|
||||
@ -1572,7 +1572,7 @@ for (int i = 0; i < 3; i++) {
|
||||
//-----------------------------
|
||||
#endregion
|
||||
|
||||
case (int)E演奏画面の戻り値.ステージ失敗:
|
||||
case (int)EGameplayScreenReturnValue.StageFailed:
|
||||
#region [ 演奏失敗(StageFailed) ]
|
||||
//-----------------------------
|
||||
|
||||
@ -1621,7 +1621,7 @@ for (int i = 0; i < 3; i++) {
|
||||
//-----------------------------
|
||||
#endregion
|
||||
|
||||
case (int)E演奏画面の戻り値.ステージクリア:
|
||||
case (int)EGameplayScreenReturnValue.StageCleared:
|
||||
#region [ 演奏クリア ]
|
||||
//-----------------------------
|
||||
|
||||
|
@ -292,14 +292,14 @@
|
||||
* - 8 (256) : Safe (Bad => Ok)
|
||||
*/
|
||||
ModFlags = (int)EModFlag.None;
|
||||
if (OpenTaiko.ConfigIni.eRandom[actualPlayer] == ERandomMode.MIRROR) ModFlags |= (int)EModFlag.Mirror;
|
||||
if (OpenTaiko.ConfigIni.eRandom[actualPlayer] == ERandomMode.RANDOM) ModFlags |= (int)EModFlag.Random;
|
||||
if (OpenTaiko.ConfigIni.eRandom[actualPlayer] == ERandomMode.SUPERRANDOM) ModFlags |= (int)EModFlag.SuperRandom;
|
||||
if (OpenTaiko.ConfigIni.eRandom[actualPlayer] == ERandomMode.MIRRORRANDOM) ModFlags |= ((int)EModFlag.Random | (int)EModFlag.Mirror);
|
||||
if (OpenTaiko.ConfigIni.eSTEALTH[actualPlayer] == EStealthMode.DORON) ModFlags |= (int)EModFlag.Invisible;
|
||||
if (OpenTaiko.ConfigIni.eSTEALTH[actualPlayer] == EStealthMode.STEALTH) ModFlags |= (int)EModFlag.PerfectMemory;
|
||||
if (OpenTaiko.ConfigIni.nFunMods[actualPlayer] == EFunMods.AVALANCHE) ModFlags |= (int)EModFlag.Avalanche;
|
||||
if (OpenTaiko.ConfigIni.nFunMods[actualPlayer] == EFunMods.MINESWEEPER) ModFlags |= (int)EModFlag.Minesweeper;
|
||||
if (OpenTaiko.ConfigIni.eRandom[actualPlayer] == ERandomMode.Mirror) ModFlags |= (int)EModFlag.Mirror;
|
||||
if (OpenTaiko.ConfigIni.eRandom[actualPlayer] == ERandomMode.Random) ModFlags |= (int)EModFlag.Random;
|
||||
if (OpenTaiko.ConfigIni.eRandom[actualPlayer] == ERandomMode.SuperRandom) ModFlags |= (int)EModFlag.SuperRandom;
|
||||
if (OpenTaiko.ConfigIni.eRandom[actualPlayer] == ERandomMode.MirrorRandom) ModFlags |= ((int)EModFlag.Random | (int)EModFlag.Mirror);
|
||||
if (OpenTaiko.ConfigIni.eSTEALTH[actualPlayer] == EStealthMode.Doron) ModFlags |= (int)EModFlag.Invisible;
|
||||
if (OpenTaiko.ConfigIni.eSTEALTH[actualPlayer] == EStealthMode.Stealth) ModFlags |= (int)EModFlag.PerfectMemory;
|
||||
if (OpenTaiko.ConfigIni.nFunMods[actualPlayer] == EFunMods.Avalanche) ModFlags |= (int)EModFlag.Avalanche;
|
||||
if (OpenTaiko.ConfigIni.nFunMods[actualPlayer] == EFunMods.Minesweeper) ModFlags |= (int)EModFlag.Minesweeper;
|
||||
if (OpenTaiko.ConfigIni.bJust[actualPlayer] == 1) ModFlags |= (int)EModFlag.Just;
|
||||
if (OpenTaiko.ConfigIni.bJust[actualPlayer] == 2) ModFlags |= (int)EModFlag.Safe;
|
||||
/* Gauge type
|
||||
|
@ -5,7 +5,7 @@ namespace OpenTaiko {
|
||||
/// すべてのアイテムの基本クラス。
|
||||
/// </summary>
|
||||
internal class CItemBase {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public EPanelType eパネル種別;
|
||||
public enum EPanelType {
|
||||
@ -40,7 +40,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CItemBase() {
|
||||
this.str項目名 = "";
|
||||
|
@ -3,13 +3,13 @@
|
||||
/// 「整数」を表すアイテム。
|
||||
/// </summary>
|
||||
internal class CItemInteger : CItemBase {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public int n現在の値;
|
||||
public bool b値がフォーカスされている;
|
||||
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CItemInteger() {
|
||||
base.e種別 = CItemBase.E種別.整数;
|
||||
|
@ -3,13 +3,13 @@
|
||||
/// 「リスト」(複数の固定値からの1つを選択可能)を表すアイテム。
|
||||
/// </summary>
|
||||
internal class CItemList : CItemBase {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public List<string> list項目値;
|
||||
public int n現在選択されている項目番号;
|
||||
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CItemList() {
|
||||
base.e種別 = CItemBase.E種別.リスト;
|
||||
@ -90,7 +90,7 @@
|
||||
/// e種別が違うのと、tEnter押下()で何もしない以外は、「リスト」そのまま。
|
||||
/// </summary>
|
||||
internal class CSwitchItemList : CItemList {
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CSwitchItemList() {
|
||||
base.e種別 = CItemBase.E種別.切替リスト;
|
||||
|
@ -3,7 +3,7 @@
|
||||
/// 「スリーステート」(ON, OFF, 不定 の3状態)を表すアイテム。
|
||||
/// </summary>
|
||||
internal class CItemThreeState : CItemBase {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public E状態 e現在の状態;
|
||||
public enum E状態 {
|
||||
@ -13,7 +13,7 @@
|
||||
}
|
||||
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CItemThreeState() {
|
||||
base.e種別 = CItemBase.E種別.ONorOFFor不定スリーステート;
|
||||
|
@ -3,11 +3,11 @@
|
||||
/// 「トグル」(ON, OFF の2状態)を表すアイテム。
|
||||
/// </summary>
|
||||
internal class CItemToggle : CItemBase {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public bool bON;
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CItemToggle() {
|
||||
base.e種別 = CItemBase.E種別.ONorOFFトグル;
|
||||
|
@ -3,7 +3,7 @@ using FDK;
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class CPluginHost : IPluginHost {
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CPluginHost() {
|
||||
this._DTXManiaVersion = new CDTXVersion(OpenTaiko.VERSION);
|
||||
|
@ -4,7 +4,7 @@ using System.Text;
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class CBoxDef {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public Color Color;
|
||||
public string SelectBG;
|
||||
@ -28,7 +28,7 @@ namespace OpenTaiko {
|
||||
public string DefaultPreimage;
|
||||
public string ScenePreset;
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CBoxDef() {
|
||||
this.Genre = "";
|
||||
|
@ -17,7 +17,7 @@ namespace OpenTaiko {
|
||||
|
||||
public List<string> listErrors = new List<string>();
|
||||
private int nNowReadLine;
|
||||
// クラス
|
||||
// Class
|
||||
|
||||
public class CBPM {
|
||||
public double dbBPM値;
|
||||
@ -159,7 +159,7 @@ namespace OpenTaiko {
|
||||
public int nスクロール方向;
|
||||
public int n描画優先度; //(特殊)現状連打との判断目的で使用
|
||||
public ENoteState eNoteState;
|
||||
public EInstrumentPad e楽器パート = EInstrumentPad.UNKNOWN;
|
||||
public EInstrumentPad e楽器パート = EInstrumentPad.Unknown;
|
||||
public int nチャンネル番号;
|
||||
public int VideoStartTimeMs;
|
||||
public STDGBVALUE<int> nバーからの距離dot;
|
||||
@ -308,7 +308,7 @@ namespace OpenTaiko {
|
||||
this.bHit = false;
|
||||
this.IsMissed = false;
|
||||
this.b可視 = true;
|
||||
this.e楽器パート = EInstrumentPad.UNKNOWN;
|
||||
this.e楽器パート = EInstrumentPad.Unknown;
|
||||
this.n透明度 = 0xff;
|
||||
this.nバーからの距離dot.Drums = 0;
|
||||
this.nバーからの距離dot.Guitar = 0;
|
||||
@ -562,7 +562,7 @@ namespace OpenTaiko {
|
||||
OpenTaiko.SoundManager.tDisposeSound(this.rSound[i]);
|
||||
this.rSound[i] = null;
|
||||
|
||||
if ((i == 0) && OpenTaiko.ConfigIni.bLog作成解放ログ出力)
|
||||
if ((i == 0) && OpenTaiko.ConfigIni.bOutputCreationReleaseLog)
|
||||
Trace.TraceInformation("サウンドを解放しました。({0})({1})", this.strコメント文, this.strファイル名);
|
||||
}
|
||||
}
|
||||
@ -949,7 +949,7 @@ namespace OpenTaiko {
|
||||
public int nタイプ;
|
||||
}
|
||||
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
|
||||
public class CBranchStartInfo {
|
||||
@ -1178,7 +1178,7 @@ namespace OpenTaiko {
|
||||
// public bool bGUITAR演奏で直前のGUITARを消音する;
|
||||
// public bool bBASS演奏で直前のBASSを消音する;
|
||||
#endif
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CDTX() {
|
||||
this.nPlayerSide = 0;
|
||||
@ -1387,7 +1387,7 @@ namespace OpenTaiko {
|
||||
cwav.rSound[i].AddBassSoundFromMixer();
|
||||
}
|
||||
|
||||
if (OpenTaiko.ConfigIni.bLog作成解放ログ出力) {
|
||||
if (OpenTaiko.ConfigIni.bOutputCreationReleaseLog) {
|
||||
Trace.TraceInformation("サウンドを作成しました。({3})({0})({1})({2}bytes)", cwav.strコメント文, str,
|
||||
cwav.rSound[0].SoundBufferSize, cwav.rSound[0].IsStreamPlay ? "Stream" : "OnMemory");
|
||||
}
|
||||
@ -1429,7 +1429,7 @@ namespace OpenTaiko {
|
||||
var fuseRollFactor = Math.Max(0, Math.Min(100, chara.effect.FuseRollFactor));
|
||||
|
||||
switch (eFun) {
|
||||
case EFunMods.MINESWEEPER:
|
||||
case EFunMods.Minesweeper:
|
||||
foreach (var chip in this.listChip) {
|
||||
if (NotesManager.IsMissableNote(chip)) {
|
||||
int n = rnd.Next(100);
|
||||
@ -1445,7 +1445,7 @@ namespace OpenTaiko {
|
||||
|
||||
}
|
||||
break;
|
||||
case EFunMods.AVALANCHE:
|
||||
case EFunMods.Avalanche:
|
||||
foreach (var chip in this.listChip) {
|
||||
int n = rnd.Next(100);
|
||||
|
||||
@ -1453,7 +1453,7 @@ namespace OpenTaiko {
|
||||
chip.dbSCROLL *= (n + 50) / (double)100;
|
||||
}
|
||||
break;
|
||||
case EFunMods.NONE:
|
||||
case EFunMods.None:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@ -1466,7 +1466,7 @@ namespace OpenTaiko {
|
||||
var eRandom = OpenTaiko.ConfigIni.eRandom[OpenTaiko.GetActualPlayer(player)];
|
||||
|
||||
switch (eRandom) {
|
||||
case ERandomMode.MIRROR:
|
||||
case ERandomMode.Mirror:
|
||||
foreach (var chip in this.listChip) {
|
||||
switch (chip.nチャンネル番号) {
|
||||
case 0x11:
|
||||
@ -1486,7 +1486,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
}
|
||||
break;
|
||||
case ERandomMode.RANDOM:
|
||||
case ERandomMode.Random:
|
||||
foreach (var chip in this.listChip) {
|
||||
int n = rnd.Next(100);
|
||||
|
||||
@ -1510,7 +1510,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
}
|
||||
break;
|
||||
case ERandomMode.SUPERRANDOM:
|
||||
case ERandomMode.SuperRandom:
|
||||
foreach (var chip in this.listChip) {
|
||||
int n = rnd.Next(100);
|
||||
|
||||
@ -1534,7 +1534,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
}
|
||||
break;
|
||||
case ERandomMode.MIRRORRANDOM:
|
||||
case ERandomMode.MirrorRandom:
|
||||
foreach (var chip in this.listChip) {
|
||||
int n = rnd.Next(100);
|
||||
|
||||
@ -1558,7 +1558,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
}
|
||||
break;
|
||||
case ERandomMode.OFF:
|
||||
case ERandomMode.Off:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@ -1578,7 +1578,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
}
|
||||
|
||||
if (eRandom != ERandomMode.OFF) {
|
||||
if (eRandom != ERandomMode.Off) {
|
||||
#region[ list作成 ]
|
||||
//ひとまずチップだけのリストを作成しておく。
|
||||
List<CDTX.CChip> list音符のみのリスト;
|
||||
@ -1599,7 +1599,7 @@ namespace OpenTaiko {
|
||||
|
||||
#region [ チップの再生と停止 ]
|
||||
public void tチップの再生(CChip pChip, long n再生開始システム時刻ms) {
|
||||
if (OpenTaiko.ConfigIni.b演奏速度が一倍速であるとき以外音声を再生しない && OpenTaiko.ConfigIni.nSongSpeed != 20)
|
||||
if (OpenTaiko.ConfigIni.bNoAudioIfNot1xSpeed && OpenTaiko.ConfigIni.nSongSpeed != 20)
|
||||
return;
|
||||
|
||||
if (pChip.n整数値_内部番号 >= 0) {
|
||||
@ -2111,7 +2111,7 @@ namespace OpenTaiko {
|
||||
|
||||
#endregion
|
||||
#region [ bLogDTX詳細ログ出力 ]
|
||||
if (OpenTaiko.ConfigIni.bLogDTX詳細ログ出力) {
|
||||
if (OpenTaiko.ConfigIni.bOutputDetailedDTXLog) {
|
||||
foreach (CWAV cwav in this.listWAV.Values) {
|
||||
Trace.TraceInformation(cwav.ToString());
|
||||
}
|
||||
@ -4689,11 +4689,11 @@ namespace OpenTaiko {
|
||||
chip.n整数値_内部番号 = 1;
|
||||
switch (argument) {
|
||||
case "Taiko":
|
||||
chip.eGameType = EGameType.TAIKO;
|
||||
chip.eGameType = EGameType.Taiko;
|
||||
break;
|
||||
case "Bongo":
|
||||
case "Konga":
|
||||
chip.eGameType = EGameType.KONGA;
|
||||
chip.eGameType = EGameType.Konga;
|
||||
break;
|
||||
}
|
||||
|
||||
@ -5123,7 +5123,7 @@ namespace OpenTaiko {
|
||||
chip.nコース = this.n現在のコース;
|
||||
|
||||
// チップを配置。
|
||||
eScrollMode = EScrollMode.BMSCROLL;
|
||||
eScrollMode = EScrollMode.BMScroll;
|
||||
|
||||
this.listChip.Add(chip);
|
||||
} else if (command == "#HBSCROLL") {
|
||||
@ -5139,7 +5139,7 @@ namespace OpenTaiko {
|
||||
chip.nコース = this.n現在のコース;
|
||||
|
||||
// チップを配置。
|
||||
eScrollMode = EScrollMode.HBSCROLL;
|
||||
eScrollMode = EScrollMode.HBScroll;
|
||||
|
||||
this.listChip.Add(chip);
|
||||
}
|
||||
@ -5379,7 +5379,7 @@ namespace OpenTaiko {
|
||||
chip.nコース = n現在のコース;
|
||||
|
||||
chip.n分岐回数 = this.n内部番号BRANCH1to;
|
||||
chip.e楽器パート = EInstrumentPad.TAIKO;
|
||||
chip.e楽器パート = EInstrumentPad.Taiko;
|
||||
chip.nノーツ出現時刻ms = (int)(this.db出現時刻 * 1000.0);
|
||||
chip.nノーツ移動開始時刻ms = (int)(this.db移動待機時刻 * 1000.0);
|
||||
chip.nPlayerSide = this.nPlayerSide;
|
||||
@ -5594,10 +5594,10 @@ namespace OpenTaiko {
|
||||
if (InputText.Equals("#NMSCROLL")) {
|
||||
eScrollMode = EScrollMode.Normal;
|
||||
} else if (InputText.Equals("#HBSCROLL")) {
|
||||
eScrollMode = EScrollMode.HBSCROLL;
|
||||
eScrollMode = EScrollMode.HBScroll;
|
||||
}
|
||||
if (InputText.Equals("#BMSCROLL")) {
|
||||
eScrollMode = EScrollMode.BMSCROLL;
|
||||
eScrollMode = EScrollMode.BMScroll;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
namespace OpenTaiko {
|
||||
[Serializable]
|
||||
public class CScoreIni {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
[Serializable]
|
||||
public class C演奏記録 {
|
||||
|
@ -3,7 +3,7 @@
|
||||
namespace OpenTaiko {
|
||||
[Serializable]
|
||||
internal class CSongListNode {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public ENodeType eノード種別 = ENodeType.UNKNOWN;
|
||||
public enum ENodeType {
|
||||
@ -96,7 +96,7 @@ namespace OpenTaiko {
|
||||
return uniqueId?.data.id ?? "";
|
||||
}
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CSongListNode() {
|
||||
this.nID = id++;
|
||||
|
@ -6,7 +6,7 @@ using OpenTaiko.C曲リストノードComparers;
|
||||
namespace OpenTaiko {
|
||||
[Serializable]
|
||||
internal class CSongs管理 {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public int nスコアキャッシュから反映できたスコア数 {
|
||||
get;
|
||||
@ -44,7 +44,7 @@ namespace OpenTaiko {
|
||||
|
||||
private int searchCount; // #PREMOVIE中は検索n回実行したら少しスリープする
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CSongs管理() {
|
||||
this.listSongsDB = new();
|
||||
@ -110,7 +110,7 @@ namespace OpenTaiko {
|
||||
|
||||
DirectoryInfo info = new DirectoryInfo(str基点フォルダ);
|
||||
|
||||
if (OpenTaiko.ConfigIni.bLog曲検索ログ出力)
|
||||
if (OpenTaiko.ConfigIni.bOutputSongSearchLog)
|
||||
Trace.TraceInformation("基点フォルダ: " + str基点フォルダ);
|
||||
|
||||
#region [ a.フォルダ内に set.def が存在する場合 → 1フォルダ内のtjaファイル無制限]
|
||||
@ -118,7 +118,7 @@ namespace OpenTaiko {
|
||||
string path = str基点フォルダ + "set.def";
|
||||
if (File.Exists(path)) {
|
||||
new FileInfo(path);
|
||||
if (OpenTaiko.ConfigIni.bLog曲検索ログ出力) {
|
||||
if (OpenTaiko.ConfigIni.bOutputSongSearchLog) {
|
||||
Trace.TraceInformation("set.def検出 : {0}", path);
|
||||
Trace.Indent();
|
||||
}
|
||||
@ -209,7 +209,7 @@ namespace OpenTaiko {
|
||||
#endregion
|
||||
}
|
||||
} finally {
|
||||
if (OpenTaiko.ConfigIni.bLog曲検索ログ出力) {
|
||||
if (OpenTaiko.ConfigIni.bOutputSongSearchLog) {
|
||||
Trace.Unindent();
|
||||
}
|
||||
}
|
||||
@ -547,7 +547,7 @@ namespace OpenTaiko {
|
||||
|
||||
c曲リストノード.list子リスト = new List<CSongListNode>();
|
||||
listノードリスト.Add(c曲リストノード);
|
||||
if (OpenTaiko.ConfigIni.bLog曲検索ログ出力) {
|
||||
if (OpenTaiko.ConfigIni.bOutputSongSearchLog) {
|
||||
Trace.TraceInformation("box.def検出 : {0}", infoDir.FullName + @$"{Path.DirectorySeparatorChar}box.def");
|
||||
Trace.Indent();
|
||||
try {
|
||||
@ -667,7 +667,7 @@ namespace OpenTaiko {
|
||||
cdtx.DeActivate();
|
||||
#region [ 曲検索ログ出力 ]
|
||||
//-----------------
|
||||
if (OpenTaiko.ConfigIni.bLog曲検索ログ出力) {
|
||||
if (OpenTaiko.ConfigIni.bOutputSongSearchLog) {
|
||||
StringBuilder sb = new StringBuilder(0x400);
|
||||
sb.Append(string.Format("曲データファイルから譜面情報を転記しました。({0})", path));
|
||||
sb.Append("(title=" + c曲リストノード.arスコア[i].譜面情報.タイトル);
|
||||
@ -790,9 +790,9 @@ namespace OpenTaiko {
|
||||
if (OpenTaiko.ConfigIni.nDefaultSongSort == 0) {
|
||||
t曲リストのソート1_絶対パス順(ノードリスト);
|
||||
} else if (OpenTaiko.ConfigIni.nDefaultSongSort == 1) {
|
||||
t曲リストのソート9_ジャンル順(ノードリスト, EInstrumentPad.TAIKO, 1, 0);
|
||||
t曲リストのソート9_ジャンル順(ノードリスト, EInstrumentPad.Taiko, 1, 0);
|
||||
} else if (OpenTaiko.ConfigIni.nDefaultSongSort == 2) {
|
||||
t曲リストのソート9_ジャンル順(ノードリスト, EInstrumentPad.TAIKO, 2, 0);
|
||||
t曲リストのソート9_ジャンル順(ノードリスト, EInstrumentPad.Taiko, 2, 0);
|
||||
}
|
||||
//-----------------------------
|
||||
#endregion
|
||||
@ -811,9 +811,9 @@ namespace OpenTaiko {
|
||||
if (OpenTaiko.ConfigIni.nDefaultSongSort == 0) {
|
||||
t曲リストのソート1_絶対パス順(c曲リストノード.list子リスト);
|
||||
} else if (OpenTaiko.ConfigIni.nDefaultSongSort == 1) {
|
||||
t曲リストのソート9_ジャンル順(c曲リストノード.list子リスト, EInstrumentPad.TAIKO, 1, 0);
|
||||
t曲リストのソート9_ジャンル順(c曲リストノード.list子リスト, EInstrumentPad.Taiko, 1, 0);
|
||||
} else if (OpenTaiko.ConfigIni.nDefaultSongSort == 2) {
|
||||
t曲リストのソート9_ジャンル順(c曲リストノード.list子リスト, EInstrumentPad.TAIKO, 2, 0);
|
||||
t曲リストのソート9_ジャンル順(c曲リストノード.list子リスト, EInstrumentPad.Taiko, 2, 0);
|
||||
}
|
||||
//-----------------------------
|
||||
#endregion
|
||||
@ -839,7 +839,7 @@ namespace OpenTaiko {
|
||||
if ((c曲リストノード.arスコア[j] != null) && !string.IsNullOrEmpty(c曲リストノード.arスコア[j].譜面情報.タイトル)) {
|
||||
c曲リストノード.ldTitle = new CLocalizationData();
|
||||
|
||||
if (OpenTaiko.ConfigIni.bLog曲検索ログ出力)
|
||||
if (OpenTaiko.ConfigIni.bOutputSongSearchLog)
|
||||
Trace.TraceInformation("タイトルを設定しました。(nID#{0:D3}, title={1})", c曲リストノード.nID, c曲リストノード.ldTitle.GetString(""));
|
||||
|
||||
break;
|
||||
@ -861,7 +861,7 @@ namespace OpenTaiko {
|
||||
//-----------------
|
||||
|
||||
public static void t曲リストのソート1_絶対パス順(List<CSongListNode> ノードリスト) {
|
||||
t曲リストのソート1_絶対パス順(ノードリスト, EInstrumentPad.TAIKO, 1, 0);
|
||||
t曲リストのソート1_絶対パス順(ノードリスト, EInstrumentPad.Taiko, 1, 0);
|
||||
|
||||
foreach (CSongListNode c曲リストノード in ノードリスト) {
|
||||
if ((c曲リストノード.list子リスト != null) && (c曲リストノード.list子リスト.Count > 1)) {
|
||||
|
@ -5,7 +5,7 @@ using FDK;
|
||||
namespace OpenTaiko {
|
||||
[Serializable]
|
||||
internal class Cスコア {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public STScoreIni情報 ScoreIni情報;
|
||||
[Serializable]
|
||||
@ -211,7 +211,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public Cスコア() {
|
||||
this.ScoreIni情報 = new STScoreIni情報(DateTime.MinValue, 0L);
|
||||
|
@ -3,7 +3,7 @@ using FDK;
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class CStage起動 : CStage {
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CStage起動() {
|
||||
base.eStageID = CStage.EStage.StartUp;
|
||||
|
@ -6,7 +6,7 @@ namespace OpenTaiko {
|
||||
public static string BASE = @$"Graphics{Path.DirectorySeparatorChar}";
|
||||
public static string GLOBAL = @$"Global{Path.DirectorySeparatorChar}";
|
||||
|
||||
// Global assets
|
||||
// Global assets
|
||||
public static string PUCHICHARA = @$"PuchiChara{Path.DirectorySeparatorChar}";
|
||||
public static string CHARACTERS = @$"Characters{Path.DirectorySeparatorChar}";
|
||||
|
||||
@ -68,7 +68,7 @@ namespace OpenTaiko {
|
||||
public Dictionary<string, CTexture> trackedTextures = new Dictionary<string, CTexture>();
|
||||
|
||||
public TextureLoader() {
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
}
|
||||
|
||||
internal CTexture TxC(string FileName, bool localize = true) {
|
||||
@ -2325,7 +2325,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
listTexture.Clear();
|
||||
|
||||
//if (TJAPlayer3.ConfigIni.PreAssetsLoading)
|
||||
//if (TJAPlayer3.ConfigIni.PreAssetsLoading)
|
||||
{
|
||||
foreach (var act in OpenTaiko.app.listトップレベルActivities) {
|
||||
act.ReleaseManagedResource();
|
||||
|
@ -5,7 +5,7 @@ using FDK;
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class CStageタイトル : CStage {
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CStageタイトル() {
|
||||
base.eStageID = CStage.EStage.Title;
|
||||
@ -68,7 +68,7 @@ namespace OpenTaiko {
|
||||
b音声再生 = false;
|
||||
if (bSaveFileLoaded == false)
|
||||
OpenTaiko.Skin.soundEntry.tPlay();
|
||||
if (OpenTaiko.ConfigIni.bBGM音を発声する)
|
||||
if (OpenTaiko.ConfigIni.bBGMPlayVoiceSound)
|
||||
OpenTaiko.Skin.bgmタイトルイン.tPlay();
|
||||
base.Activate();
|
||||
} finally {
|
||||
@ -132,7 +132,7 @@ namespace OpenTaiko {
|
||||
this.ctBarMove.Tick();
|
||||
|
||||
if (!OpenTaiko.Skin.bgmタイトルイン.bIsPlaying) {
|
||||
if (OpenTaiko.ConfigIni.bBGM音を発声する && !b音声再生) {
|
||||
if (OpenTaiko.ConfigIni.bBGMPlayVoiceSound && !b音声再生) {
|
||||
OpenTaiko.Skin.bgmタイトル.tPlay();
|
||||
b音声再生 = true;
|
||||
}
|
||||
@ -145,7 +145,7 @@ namespace OpenTaiko {
|
||||
if (base.ePhaseID == CStage.EPhase.Common_NORMAL // 通常状態、かつ
|
||||
&& OpenTaiko.act現在入力を占有中のプラグイン == null) // プラグインの入力占有がない
|
||||
{
|
||||
if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Escape) || OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.Cancel)) {
|
||||
if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Escape) || OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.Cancel)) {
|
||||
if (bモード選択) {
|
||||
OpenTaiko.Skin.soundCancelSFX.tPlay();
|
||||
bSaveFileLoaded = false;
|
||||
@ -171,7 +171,7 @@ namespace OpenTaiko {
|
||||
if ((TJAPlayer3.Input管理.Keyboard.bキーが押されている((int)SlimDXKeys.Key.RightShift) || TJAPlayer3.Input管理.Keyboard.bキーが押されている((int)SlimDXKeys.Key.LeftShift)) && TJAPlayer3.Input管理.Keyboard.bキーが押された((int)SlimDXKeys.Key.F1))
|
||||
{
|
||||
TJAPlayer3.Skin.soundEntry.t停止する();
|
||||
|
||||
|
||||
n現在の選択行モード選択 = (int)E戻り値.CONFIG - 1;
|
||||
|
||||
this.actFO.tフェードアウト開始();
|
||||
@ -183,8 +183,8 @@ namespace OpenTaiko {
|
||||
// 1st step (Save file loading)
|
||||
if (!bSaveIsLoading && !bSaveFailedToLoad) {
|
||||
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.Decide) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RRed) || OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LRed)) {
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.Decide) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RRed) || OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LRed)) {
|
||||
// Hit 1P save
|
||||
OpenTaiko.SaveFile = 0;
|
||||
CMenuCharacter.tMenuResetTimer(CMenuCharacter.ECharacterAnimation.ENTRY_NORMAL);
|
||||
@ -192,7 +192,7 @@ namespace OpenTaiko {
|
||||
this.ctSaveLoading.CurrentValue = (int)this.ctSaveLoading.EndValue;
|
||||
for (int i = 0; i < 2; i++)
|
||||
OpenTaiko.NamePlate.tNamePlateRefreshTitles(i);
|
||||
} else if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RRed2P) || OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LRed2P)) {
|
||||
} else if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RRed2P) || OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LRed2P)) {
|
||||
// Hit 2P save
|
||||
OpenTaiko.SaveFile = 1;
|
||||
CMenuCharacter.tMenuResetTimer(CMenuCharacter.ECharacterAnimation.ENTRY_NORMAL);
|
||||
@ -212,7 +212,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
}
|
||||
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RightChange) || OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.RightArrow)) {
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RightChange) || OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.RightArrow)) {
|
||||
if (bプレイヤーエントリー && !bプレイヤーエントリー決定 && this.ctSaveLoaded.IsEnded) {
|
||||
if (n現在の選択行プレイヤーエントリー + 1 <= 2) {
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
@ -235,7 +235,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
}
|
||||
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LeftChange) || OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.LeftArrow)) {
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LeftChange) || OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.LeftArrow)) {
|
||||
if (bプレイヤーエントリー && !bプレイヤーエントリー決定 && this.ctSaveLoaded.IsEnded) {
|
||||
if (n現在の選択行プレイヤーエントリー - 1 >= 0) {
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
@ -258,7 +258,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.Decide)
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.Decide)
|
||||
|| OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return)) {
|
||||
if (bプレイヤーエントリー && this.ctSaveLoaded.IsEnded) {
|
||||
if (n現在の選択行プレイヤーエントリー == 0 || n現在の選択行プレイヤーエントリー == 2) {
|
||||
|
@ -39,9 +39,9 @@ namespace OpenTaiko {
|
||||
|
||||
CalibrateTick.Tick();
|
||||
|
||||
bool decide = OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.Decide) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RRed) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LRed) ||
|
||||
bool decide = OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.Decide) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RRed) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LRed) ||
|
||||
OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return);
|
||||
|
||||
if (CalibrateTick.IsEnded) {
|
||||
@ -49,13 +49,13 @@ namespace OpenTaiko {
|
||||
CalibrateTick.Start(0, 500, 1, OpenTaiko.Timer);
|
||||
}
|
||||
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LeftChange) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LBlue) ||
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LeftChange) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LBlue) ||
|
||||
OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.LeftArrow)) {
|
||||
buttonIndex = Math.Max(buttonIndex - 1, 0);
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
} else if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RightChange) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RBlue) ||
|
||||
} else if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RightChange) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RBlue) ||
|
||||
OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.RightArrow)) {
|
||||
buttonIndex = Math.Min(buttonIndex + 1, 2);
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
|
@ -3,7 +3,7 @@ using FDK;
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class CActConfigKeyAssign : CActivity {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public bool bキー入力待ちの最中である {
|
||||
get {
|
||||
@ -15,14 +15,14 @@ namespace OpenTaiko {
|
||||
// メソッド
|
||||
|
||||
public void t開始(EKeyConfigPart part, EKeyConfigPad pad, string strパッド名) {
|
||||
if (part != EKeyConfigPart.UNKNOWN) {
|
||||
if (part != EKeyConfigPart.Unknown) {
|
||||
this.part = part;
|
||||
this.pad = pad;
|
||||
this.strパッド名 = strパッド名;
|
||||
for (int i = 0; i < 0x10; i++) {
|
||||
this.structReset用KeyAssign[i].入力デバイス = OpenTaiko.ConfigIni.KeyAssign[(int)part][(int)pad][i].入力デバイス;
|
||||
this.structReset用KeyAssign[i].InputDevice = OpenTaiko.ConfigIni.KeyAssign[(int)part][(int)pad][i].InputDevice;
|
||||
this.structReset用KeyAssign[i].ID = OpenTaiko.ConfigIni.KeyAssign[(int)part][(int)pad][i].ID;
|
||||
this.structReset用KeyAssign[i].コード = OpenTaiko.ConfigIni.KeyAssign[(int)part][(int)pad][i].コード;
|
||||
this.structReset用KeyAssign[i].Code = OpenTaiko.ConfigIni.KeyAssign[(int)part][(int)pad][i].Code;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -33,9 +33,9 @@ namespace OpenTaiko {
|
||||
switch (this.n現在の選択行) {
|
||||
case 0x10:
|
||||
for (int i = 0; i < 0x10; i++) {
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][i].入力デバイス = this.structReset用KeyAssign[i].入力デバイス;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][i].InputDevice = this.structReset用KeyAssign[i].InputDevice;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][i].ID = this.structReset用KeyAssign[i].ID;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][i].コード = this.structReset用KeyAssign[i].コード;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][i].Code = this.structReset用KeyAssign[i].Code;
|
||||
}
|
||||
return;
|
||||
|
||||
@ -63,8 +63,8 @@ namespace OpenTaiko {
|
||||
// CActivity 実装
|
||||
|
||||
public override void Activate() {
|
||||
this.part = EKeyConfigPart.UNKNOWN;
|
||||
this.pad = EKeyConfigPad.UNKNOWN;
|
||||
this.part = EKeyConfigPart.Unknown;
|
||||
this.pad = EKeyConfigPad.Unknown;
|
||||
this.strパッド名 = "";
|
||||
this.n現在の選択行 = 0;
|
||||
this.bキー入力待ち = false;
|
||||
@ -99,9 +99,9 @@ namespace OpenTaiko {
|
||||
}
|
||||
} else if ((OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Delete) && (this.n現在の選択行 >= 0)) && (this.n現在の選択行 <= 15)) {
|
||||
OpenTaiko.Skin.soundDecideSFX.tPlay();
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].入力デバイス = EInputDevice.Unknown;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].InputDevice = EInputDevice.Unknown;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].ID = 0;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].コード = 0;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].Code = 0;
|
||||
}
|
||||
if (OpenTaiko.Tx.Menu_Highlight != null) {
|
||||
int num = OpenTaiko.Skin.Config_KeyAssign_Move;
|
||||
@ -128,25 +128,25 @@ namespace OpenTaiko {
|
||||
y += num5;
|
||||
CConfigIni.CKeyAssign.STKEYASSIGN[] stkeyassignArray = OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad];
|
||||
for (int i = 0; i < 0x10; i++) {
|
||||
switch (stkeyassignArray[i].入力デバイス) {
|
||||
switch (stkeyassignArray[i].InputDevice) {
|
||||
case EInputDevice.Keyboard:
|
||||
this.tアサインコードの描画_Keyboard(i + 1, x + num5, y, stkeyassignArray[i].ID, stkeyassignArray[i].コード, this.n現在の選択行 == i);
|
||||
this.tアサインコードの描画_Keyboard(i + 1, x + num5, y, stkeyassignArray[i].ID, stkeyassignArray[i].Code, this.n現在の選択行 == i);
|
||||
break;
|
||||
|
||||
case EInputDevice.MIDIInput:
|
||||
this.tアサインコードの描画_MidiIn(i + 1, x + num5, y, stkeyassignArray[i].ID, stkeyassignArray[i].コード, this.n現在の選択行 == i);
|
||||
this.tアサインコードの描画_MidiIn(i + 1, x + num5, y, stkeyassignArray[i].ID, stkeyassignArray[i].Code, this.n現在の選択行 == i);
|
||||
break;
|
||||
|
||||
case EInputDevice.Joypad:
|
||||
this.tアサインコードの描画_Joypad(i + 1, x + num5, y, stkeyassignArray[i].ID, stkeyassignArray[i].コード, this.n現在の選択行 == i);
|
||||
this.tアサインコードの描画_Joypad(i + 1, x + num5, y, stkeyassignArray[i].ID, stkeyassignArray[i].Code, this.n現在の選択行 == i);
|
||||
break;
|
||||
|
||||
case EInputDevice.Gamepad:
|
||||
this.tアサインコードの描画_Gamepad(i + 1, x + num5, y, stkeyassignArray[i].ID, stkeyassignArray[i].コード, this.n現在の選択行 == i);
|
||||
this.tアサインコードの描画_Gamepad(i + 1, x + num5, y, stkeyassignArray[i].ID, stkeyassignArray[i].Code, this.n現在の選択行 == i);
|
||||
break;
|
||||
|
||||
case EInputDevice.Mouse:
|
||||
this.tアサインコードの描画_Mouse(i + 1, x + num5, y, stkeyassignArray[i].ID, stkeyassignArray[i].コード, this.n現在の選択行 == i);
|
||||
this.tアサインコードの描画_Mouse(i + 1, x + num5, y, stkeyassignArray[i].ID, stkeyassignArray[i].Code, this.n現在の選択行 == i);
|
||||
break;
|
||||
|
||||
default:
|
||||
@ -291,9 +291,9 @@ namespace OpenTaiko {
|
||||
if (device.KeyPressed(i)) {
|
||||
OpenTaiko.Skin.soundDecideSFX.tPlay();
|
||||
OpenTaiko.ConfigIni.t指定した入力が既にアサイン済みである場合はそれを全削除する(EInputDevice.Gamepad, device.ID, i, this.pad);
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].入力デバイス = EInputDevice.Gamepad;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].InputDevice = EInputDevice.Gamepad;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].ID = device.ID;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].コード = i;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].Code = i;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@ -309,9 +309,9 @@ namespace OpenTaiko {
|
||||
if (device.KeyPressed(i)) {
|
||||
OpenTaiko.Skin.soundDecideSFX.tPlay();
|
||||
OpenTaiko.ConfigIni.t指定した入力が既にアサイン済みである場合はそれを全削除する(EInputDevice.Joypad, device.ID, i, this.pad);
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].入力デバイス = EInputDevice.Joypad;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].InputDevice = EInputDevice.Joypad;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].ID = device.ID;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].コード = i;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].Code = i;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@ -335,16 +335,16 @@ namespace OpenTaiko {
|
||||
OpenTaiko.Skin.soundDecideSFX.tPlay();
|
||||
if (pad < EKeyConfigPad.Capture)
|
||||
OpenTaiko.ConfigIni.t指定した入力が既にアサイン済みである場合はそれを全削除する(EInputDevice.Keyboard, 0, i, this.pad);
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].入力デバイス = EInputDevice.Keyboard;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].InputDevice = EInputDevice.Keyboard;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].ID = 0;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].コード = i;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].Code = i;
|
||||
return true;
|
||||
} else if (i == (int)SlimDXKeys.Key.Return && OpenTaiko.InputManager.Keyboard.KeyPressed(i)) // Remove keybind
|
||||
{
|
||||
OpenTaiko.Skin.soundCancelSFX.tPlay();
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].入力デバイス = EInputDevice.Unknown;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].InputDevice = EInputDevice.Unknown;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].ID = 0;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].コード = 0;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].Code = 0;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@ -357,9 +357,9 @@ namespace OpenTaiko {
|
||||
if (device.KeyPressed(i)) {
|
||||
OpenTaiko.Skin.soundDecideSFX.tPlay();
|
||||
OpenTaiko.ConfigIni.t指定した入力が既にアサイン済みである場合はそれを全削除する(EInputDevice.MIDIInput, device.ID, i, this.pad);
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].入力デバイス = EInputDevice.MIDIInput;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].InputDevice = EInputDevice.MIDIInput;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].ID = device.ID;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].コード = i;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].Code = i;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@ -371,9 +371,9 @@ namespace OpenTaiko {
|
||||
for (int i = 0; i < 8; i++) {
|
||||
if (OpenTaiko.InputManager.Mouse.KeyPressed(i)) {
|
||||
OpenTaiko.ConfigIni.t指定した入力が既にアサイン済みである場合はそれを全削除する(EInputDevice.Mouse, 0, i, this.pad);
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].入力デバイス = EInputDevice.Mouse;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].InputDevice = EInputDevice.Mouse;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].ID = 0;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].コード = i;
|
||||
OpenTaiko.ConfigIni.KeyAssign[(int)this.part][(int)this.pad][this.n現在の選択行].Code = i;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
@ -4,7 +4,7 @@ using SkiaSharp;
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class CActConfigList : CActivity {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public bool bIsKeyAssignSelected // #24525 2011.3.15 yyagi
|
||||
{
|
||||
@ -123,11 +123,11 @@ namespace OpenTaiko {
|
||||
CLangManager.LangInstance.GetString("SETTINGS_SYSTEM_BGA_DESC"));
|
||||
this.list項目リスト.Add(this.iSystemBGA);
|
||||
|
||||
this.iSystemPreviewSoundWait = new CItemInteger(CLangManager.LangInstance.GetString("SETTINGS_SYSTEM_SONGPREVIEWBUFFER"), 0, 0x2710, OpenTaiko.ConfigIni.n曲が選択されてからプレビュー音が鳴るまでのウェイトms,
|
||||
this.iSystemPreviewSoundWait = new CItemInteger(CLangManager.LangInstance.GetString("SETTINGS_SYSTEM_SONGPREVIEWBUFFER"), 0, 0x2710, OpenTaiko.ConfigIni.nMsWaitPreviewSoundFromSongSelected,
|
||||
CLangManager.LangInstance.GetString("SETTINGS_SYSTEM_SONGPREVIEWBUFFER_DESC"));
|
||||
this.list項目リスト.Add(this.iSystemPreviewSoundWait);
|
||||
|
||||
this.iSystemPreviewImageWait = new CItemInteger(CLangManager.LangInstance.GetString("SETTINGS_SYSTEM_IMAGEPREVIEWBUFFER"), 0, 0x2710, OpenTaiko.ConfigIni.n曲が選択されてからプレビュー画像が表示開始されるまでのウェイトms,
|
||||
this.iSystemPreviewImageWait = new CItemInteger(CLangManager.LangInstance.GetString("SETTINGS_SYSTEM_IMAGEPREVIEWBUFFER"), 0, 0x2710, OpenTaiko.ConfigIni.nMsWaitPreviewImageFromSongSelected,
|
||||
CLangManager.LangInstance.GetString("SETTINGS_SYSTEM_IMAGEPREVIEWBUFFER_DESC"));
|
||||
this.list項目リスト.Add(this.iSystemPreviewImageWait);
|
||||
|
||||
@ -135,11 +135,11 @@ namespace OpenTaiko {
|
||||
CLangManager.LangInstance.GetString("SETTINGS_SYSTEM_DEBUGMODE_DESC"));
|
||||
this.list項目リスト.Add(this.iSystemDebugInfo);
|
||||
|
||||
this.iSystemBGAlpha = new CItemInteger(CLangManager.LangInstance.GetString("SETTINGS_SYSTEM_LANEOPACITY"), 0, 0xff, OpenTaiko.ConfigIni.n背景の透過度,
|
||||
this.iSystemBGAlpha = new CItemInteger(CLangManager.LangInstance.GetString("SETTINGS_SYSTEM_LANEOPACITY"), 0, 0xff, OpenTaiko.ConfigIni.nBackgroundTransparency,
|
||||
CLangManager.LangInstance.GetString("SETTINGS_SYSTEM_LANEOPACITY_DESC"));
|
||||
this.list項目リスト.Add(this.iSystemBGAlpha);
|
||||
|
||||
this.iSystemBGMSound = new CItemToggle(CLangManager.LangInstance.GetString("SETTINGS_SYSTEM_SONGPLAYBACK"), OpenTaiko.ConfigIni.bBGM音を発声する,
|
||||
this.iSystemBGMSound = new CItemToggle(CLangManager.LangInstance.GetString("SETTINGS_SYSTEM_SONGPLAYBACK"), OpenTaiko.ConfigIni.bBGMPlayVoiceSound,
|
||||
CLangManager.LangInstance.GetString("SETTINGS_SYSTEM_SONGPLAYBACK_DESC"));
|
||||
this.list項目リスト.Add(this.iSystemBGMSound);
|
||||
|
||||
@ -307,7 +307,7 @@ namespace OpenTaiko {
|
||||
CLangManager.LangInstance.GetString("SETTINGS_GAME_NOTELOCK_DESC"));
|
||||
this.list項目リスト.Add(this.iDrumsTight);
|
||||
|
||||
this.iSystemMinComboDrums = new CItemInteger(CLangManager.LangInstance.GetString("SETTINGS_GAME_COMBODISPLAY"), 1, 0x1869f, OpenTaiko.ConfigIni.n表示可能な最小コンボ数.Drums,
|
||||
this.iSystemMinComboDrums = new CItemInteger(CLangManager.LangInstance.GetString("SETTINGS_GAME_COMBODISPLAY"), 1, 0x1869f, OpenTaiko.ConfigIni.nMinDisplayedCombo.Drums,
|
||||
CLangManager.LangInstance.GetString("SETTINGS_GAME_COMBODISPLAY_DESC"));
|
||||
this.list項目リスト.Add(this.iSystemMinComboDrums);
|
||||
|
||||
@ -421,143 +421,143 @@ namespace OpenTaiko {
|
||||
#region [ 個々のキーアサイン ]
|
||||
//太鼓のキー設定。
|
||||
else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoLRed) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.LRed);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.LRed);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoRRed) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.RRed);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.RRed);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoLBlue) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.LBlue);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.LBlue);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoRBlue) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.RBlue);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.RBlue);
|
||||
}
|
||||
|
||||
//太鼓のキー設定。2P
|
||||
else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoLRed2P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.LRed2P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.LRed2P);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoRRed2P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.RRed2P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.RRed2P);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoLBlue2P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.LBlue2P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.LBlue2P);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoRBlue2P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.RBlue2P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.RBlue2P);
|
||||
}
|
||||
|
||||
//太鼓のキー設定。3P
|
||||
else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoLRed3P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.LRed3P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.LRed3P);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoRRed3P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.RRed3P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.RRed3P);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoLBlue3P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.LBlue3P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.LBlue3P);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoRBlue3P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.RBlue3P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.RBlue3P);
|
||||
}
|
||||
|
||||
//太鼓のキー設定。4P
|
||||
else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoLRed4P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.LRed4P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.LRed4P);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoRRed4P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.RRed4P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.RRed4P);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoLBlue4P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.LBlue4P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.LBlue4P);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoRBlue4P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.RBlue4P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.RBlue4P);
|
||||
}
|
||||
|
||||
//太鼓のキー設定。5P
|
||||
else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoLRed5P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.LRed5P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.LRed5P);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoRRed5P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.RRed5P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.RRed5P);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoLBlue5P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.LBlue5P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.LBlue5P);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTaikoRBlue5P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.RBlue5P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.RBlue5P);
|
||||
}
|
||||
|
||||
// Konga claps
|
||||
else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignKongaClap) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.Clap);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.Clap);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignKongaClap2P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.Clap2P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.Clap2P);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignKongaClap3P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.Clap3P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.Clap3P);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignKongaClap4P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.Clap4P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.Clap4P);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignKongaClap5P) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.Clap5P);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.Clap5P);
|
||||
}
|
||||
|
||||
// Menu controls
|
||||
else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignDecide) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.Decide);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.Decide);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignCancel) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.Cancel);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.Cancel);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignLeftChange) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.LeftChange);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.LeftChange);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignRightChange) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.RightChange);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.RightChange);
|
||||
}
|
||||
|
||||
// System controls
|
||||
else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignSystemCapture) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.SYSTEM, EKeyConfigPad.Capture);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.System, EKeyConfigPad.Capture);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignSystemSongVolIncrease) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.SYSTEM, EKeyConfigPad.SongVolumeIncrease);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.System, EKeyConfigPad.SongVolumeIncrease);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignSystemSongVolDecrease) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.SYSTEM, EKeyConfigPad.SongVolumeDecrease);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.System, EKeyConfigPad.SongVolumeDecrease);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignSystemDisplayHit) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.SYSTEM, EKeyConfigPad.DisplayHits);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.System, EKeyConfigPad.DisplayHits);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignSystemDisplayDebug) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.SYSTEM, EKeyConfigPad.DisplayDebug);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.System, EKeyConfigPad.DisplayDebug);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignSystemQuickConfig) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.SYSTEM, EKeyConfigPad.QuickConfig);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.System, EKeyConfigPad.QuickConfig);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignSystemNewHeya) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.SYSTEM, EKeyConfigPad.NewHeya);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.System, EKeyConfigPad.NewHeya);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignSystemSortSongs) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.SYSTEM, EKeyConfigPad.SortSongs);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.System, EKeyConfigPad.SortSongs);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignSystemToggleAutoP1) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.SYSTEM, EKeyConfigPad.ToggleAutoP1);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.System, EKeyConfigPad.ToggleAutoP1);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignSystemToggleAutoP2) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.SYSTEM, EKeyConfigPad.ToggleAutoP2);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.System, EKeyConfigPad.ToggleAutoP2);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignSystemToggleTrainingMode) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.SYSTEM, EKeyConfigPad.ToggleTrainingMode);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.System, EKeyConfigPad.ToggleTrainingMode);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignSystemCycleVideoDisplayMode) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.SYSTEM, EKeyConfigPad.CycleVideoDisplayMode);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.System, EKeyConfigPad.CycleVideoDisplayMode);
|
||||
}
|
||||
|
||||
// Training controls
|
||||
else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTrainingPause) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.TrainingPause);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.TrainingPause);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTrainingToggleAuto) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.TrainingToggleAuto);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.TrainingToggleAuto);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTrainingBookmark) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.TrainingBookmark);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.TrainingBookmark);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTrainingIncreaseScrollSpeed) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.TrainingIncreaseScrollSpeed);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.TrainingIncreaseScrollSpeed);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTrainingDecreaseScrollSpeed) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.TrainingDecreaseScrollSpeed);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.TrainingDecreaseScrollSpeed);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTrainingIncreaseSongSpeed) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.TrainingIncreaseSongSpeed);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.TrainingIncreaseSongSpeed);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTrainingDecreaseSongSpeed) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.TrainingDecreaseSongSpeed);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.TrainingDecreaseSongSpeed);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTrainingBranchNormal) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.TrainingBranchNormal);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.TrainingBranchNormal);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTrainingBranchExpert) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.TrainingBranchExpert);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.TrainingBranchExpert);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTrainingBranchMaster) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.TrainingBranchMaster);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.TrainingBranchMaster);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTrainingMoveForwardMeasure) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.TrainingMoveForwardMeasure);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.TrainingMoveForwardMeasure);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTrainingMoveBackMeasure) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.TrainingMoveBackMeasure);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.TrainingMoveBackMeasure);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTrainingSkipForwardMeasure) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.TrainingSkipForwardMeasure);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.TrainingSkipForwardMeasure);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTrainingSkipBackMeasure) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.TrainingSkipBackMeasure);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.TrainingSkipBackMeasure);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTrainingJumpToFirstMeasure) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.TrainingJumpToFirstMeasure);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.TrainingJumpToFirstMeasure);
|
||||
} else if (this.list項目リスト[this.n現在の選択項目] == this.iKeyAssignTrainingJumpToLastMeasure) {
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.DRUMS, EKeyConfigPad.TrainingJumpToLastMeasure);
|
||||
OpenTaiko.stageコンフィグ.tパッド選択通知(EKeyConfigPart.Drums, EKeyConfigPad.TrainingJumpToLastMeasure);
|
||||
}
|
||||
#endregion
|
||||
else {
|
||||
@ -1602,11 +1602,11 @@ namespace OpenTaiko {
|
||||
OpenTaiko.ConfigIni.bEnableAVI = this.iSystemAVI.bON;
|
||||
OpenTaiko.ConfigIni.eClipDispType = (EClipDispType)this.iSystemAVIDisplayMode.n現在選択されている項目番号;
|
||||
OpenTaiko.ConfigIni.bEnableBGA = this.iSystemBGA.bON;
|
||||
OpenTaiko.ConfigIni.n曲が選択されてからプレビュー音が鳴るまでのウェイトms = this.iSystemPreviewSoundWait.n現在の値;
|
||||
OpenTaiko.ConfigIni.n曲が選択されてからプレビュー画像が表示開始されるまでのウェイトms = this.iSystemPreviewImageWait.n現在の値;
|
||||
OpenTaiko.ConfigIni.nMsWaitPreviewSoundFromSongSelected = this.iSystemPreviewSoundWait.n現在の値;
|
||||
OpenTaiko.ConfigIni.nMsWaitPreviewImageFromSongSelected = this.iSystemPreviewImageWait.n現在の値;
|
||||
OpenTaiko.ConfigIni.bDisplayDebugInfo = this.iSystemDebugInfo.bON;
|
||||
OpenTaiko.ConfigIni.n背景の透過度 = this.iSystemBGAlpha.n現在の値;
|
||||
OpenTaiko.ConfigIni.bBGM音を発声する = this.iSystemBGMSound.bON;
|
||||
OpenTaiko.ConfigIni.nBackgroundTransparency = this.iSystemBGAlpha.n現在の値;
|
||||
OpenTaiko.ConfigIni.bBGMPlayVoiceSound = this.iSystemBGMSound.bON;
|
||||
OpenTaiko.ConfigIni.bDanTowerHide = this.iDanTowerHide.bON;
|
||||
|
||||
OpenTaiko.ConfigIni.ApplySongVol = this.iSystemApplySongVol.bON;
|
||||
@ -1661,7 +1661,7 @@ namespace OpenTaiko {
|
||||
|
||||
OpenTaiko.ConfigIni.nGlobalOffsetMs = this.iGlobalOffsetMs.n現在の値;
|
||||
|
||||
OpenTaiko.ConfigIni.n表示可能な最小コンボ数.Drums = this.iSystemMinComboDrums.n現在の値;
|
||||
OpenTaiko.ConfigIni.nMinDisplayedCombo.Drums = this.iSystemMinComboDrums.n現在の値;
|
||||
OpenTaiko.ConfigIni.nRisky = this.iSystemRisky.n現在の値; // #23559 2911.7.27 yyagi
|
||||
OpenTaiko.ConfigIni.bBranchGuide = this.iTaikoBranchGuide.bON;
|
||||
OpenTaiko.ConfigIni.nDefaultCourse = this.iTaikoDefaultCourse.n現在選択されている項目番号;
|
||||
|
@ -6,13 +6,13 @@ using SkiaSharp;
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class CStageコンフィグ : CStage {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public CActDFPFont actFont { get; private set; }
|
||||
public CActCalibrationMode actCalibrationMode;
|
||||
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CStageコンフィグ() {
|
||||
CActDFPFont font;
|
||||
@ -403,7 +403,7 @@ namespace OpenTaiko {
|
||||
if (!OpenTaiko.Skin.bgmコンフィグ画面.bIsPlaying)
|
||||
OpenTaiko.Skin.bgmコンフィグ画面.tPlay();
|
||||
|
||||
if ((OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Escape) || OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.FT)) || OpenTaiko.Pad.bPressedGB(EPad.FT)) {
|
||||
if ((OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Escape) || OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.FT)) || OpenTaiko.Pad.bPressedGB(EPad.FT)) {
|
||||
OpenTaiko.Skin.soundCancelSFX.tPlay();
|
||||
if (!this.bメニューにフォーカス中) {
|
||||
if (this.eItemPanelモード == EItemPanelモード.キーコード一覧) {
|
||||
@ -420,7 +420,7 @@ namespace OpenTaiko {
|
||||
this.actFIFO.tフェードアウト開始();
|
||||
base.ePhaseID = CStage.EPhase.Common_FADEOUT;
|
||||
}
|
||||
} else if ((OpenTaiko.Pad.bPressedDGB(EPad.CY) || OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RD)) || (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LC) || (OpenTaiko.ConfigIni.bEnterがキー割り当てのどこにも使用されていない && OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return)))) {
|
||||
} else if ((OpenTaiko.Pad.bPressedDGB(EPad.CY) || OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RD)) || (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LC) || (OpenTaiko.ConfigIni.bEnterIsNotUsedInKeyAssignments && OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return)))) {
|
||||
if (this.n現在のメニュー番号 == 2) {
|
||||
// Exit
|
||||
OpenTaiko.Skin.soundDecideSFX.tPlay();
|
||||
@ -455,12 +455,12 @@ namespace OpenTaiko {
|
||||
}
|
||||
this.ctキー反復用.Up.KeyIntervalFunc(OpenTaiko.InputManager.Keyboard.KeyPressing((int)SlimDXKeys.Key.UpArrow), new CCounter.KeyProcess(this.tカーソルを上へ移動する));
|
||||
this.ctキー反復用.R.KeyIntervalFunc(OpenTaiko.Pad.b押されているGB(EPad.HH), new CCounter.KeyProcess(this.tカーソルを上へ移動する));
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.SD)) {
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.SD)) {
|
||||
this.tカーソルを上へ移動する();
|
||||
}
|
||||
this.ctキー反復用.Down.KeyIntervalFunc(OpenTaiko.InputManager.Keyboard.KeyPressing((int)SlimDXKeys.Key.DownArrow), new CCounter.KeyProcess(this.tカーソルを下へ移動する));
|
||||
this.ctキー反復用.B.KeyIntervalFunc(OpenTaiko.Pad.b押されているGB(EPad.BD), new CCounter.KeyProcess(this.tカーソルを下へ移動する));
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LT)) {
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LT)) {
|
||||
this.tカーソルを下へ移動する();
|
||||
}
|
||||
}
|
||||
|
@ -52,7 +52,7 @@ namespace OpenTaiko {
|
||||
|
||||
if (ctBarIn.IsEnded && !OpenTaiko.stage段位選択.b選択した && bOption == false) {
|
||||
if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.RightArrow) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RBlue)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RBlue)) {
|
||||
if (n現在の選択行 - 1 >= 0) {
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
n現在の選択行--;
|
||||
@ -60,7 +60,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.LeftArrow) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LBlue)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LBlue)) {
|
||||
if (n現在の選択行 + 1 <= 2) {
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
n現在の選択行++;
|
||||
@ -68,8 +68,8 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LRed) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RRed)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LRed) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RRed)) {
|
||||
if (n現在の選択行 == 0) {
|
||||
this.ctBarOut.Start(0, 255, 0.5f, OpenTaiko.Timer);
|
||||
OpenTaiko.Skin.soundCancelSFX.tPlay();
|
||||
|
@ -164,17 +164,17 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
if (OpenTaiko.InputManager.Keyboard.KeyPressing((int)SlimDXKeys.Key.RightArrow) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RightChange)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RightChange)) {
|
||||
this.段位リスト.t右に移動();
|
||||
}
|
||||
|
||||
if (OpenTaiko.InputManager.Keyboard.KeyPressing((int)SlimDXKeys.Key.LeftArrow) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LeftChange)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LeftChange)) {
|
||||
this.段位リスト.t左に移動();
|
||||
}
|
||||
|
||||
if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.Decide)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.Decide)) {
|
||||
switch (段位リスト.currentBar.eノード種別) {
|
||||
case CSongListNode.ENodeType.SCORE:
|
||||
case CSongListNode.ENodeType.RANDOM: {
|
||||
@ -203,7 +203,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Escape) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.Cancel)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.Cancel)) {
|
||||
this.段位リスト.n現在の選択行 = 0;
|
||||
return returnTitle();
|
||||
}
|
||||
@ -321,7 +321,7 @@ namespace OpenTaiko {
|
||||
|
||||
int randomSongIndex = OpenTaiko.Random.Next(selectableSongCount);
|
||||
|
||||
if (OpenTaiko.ConfigIni.bLogDTX詳細ログ出力) {
|
||||
if (OpenTaiko.ConfigIni.bOutputDetailedDTXLog) {
|
||||
StringBuilder builder = new StringBuilder(0x400);
|
||||
builder.Append(string.Format("Total number of songs to randomly choose from {0}. Randomly selected index {0}.", selectableSongCount, randomSongIndex));
|
||||
Trace.TraceInformation(builder.ToString());
|
||||
|
@ -231,31 +231,31 @@ namespace OpenTaiko {
|
||||
|
||||
switch (player) {
|
||||
case 0:
|
||||
_rightDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RightChange) || OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.RightArrow));
|
||||
_leftDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LeftChange) || OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.LeftArrow));
|
||||
_rightDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RightChange) || OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.RightArrow));
|
||||
_leftDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LeftChange) || OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.LeftArrow));
|
||||
_centerDrum = (OpenTaiko.Pad.bPressedDGB(EPad.Decide) ||
|
||||
(OpenTaiko.ConfigIni.bEnterがキー割り当てのどこにも使用されていない && OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return)));
|
||||
(OpenTaiko.ConfigIni.bEnterIsNotUsedInKeyAssignments && OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return)));
|
||||
_cancel = (OpenTaiko.Pad.bPressedDGB(EPad.Cancel) || OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Escape));
|
||||
break;
|
||||
case 1:
|
||||
_rightDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RBlue2P));
|
||||
_leftDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LBlue2P));
|
||||
_centerDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LRed2P) || OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RRed2P));
|
||||
_rightDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RBlue2P));
|
||||
_leftDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LBlue2P));
|
||||
_centerDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LRed2P) || OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RRed2P));
|
||||
break;
|
||||
case 2:
|
||||
_rightDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RBlue3P));
|
||||
_leftDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LBlue3P));
|
||||
_centerDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LRed3P) || OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RRed3P));
|
||||
_rightDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RBlue3P));
|
||||
_leftDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LBlue3P));
|
||||
_centerDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LRed3P) || OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RRed3P));
|
||||
break;
|
||||
case 3:
|
||||
_rightDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RBlue4P));
|
||||
_leftDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LBlue4P));
|
||||
_centerDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LRed4P) || OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RRed4P));
|
||||
_rightDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RBlue4P));
|
||||
_leftDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LBlue4P));
|
||||
_centerDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LRed4P) || OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RRed4P));
|
||||
break;
|
||||
case 4:
|
||||
_rightDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RBlue5P));
|
||||
_leftDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LBlue5P));
|
||||
_centerDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LRed5P) || OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RRed5P));
|
||||
_rightDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RBlue5P));
|
||||
_leftDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LBlue5P));
|
||||
_centerDrum = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LRed5P) || OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RRed5P));
|
||||
break;
|
||||
}
|
||||
|
||||
@ -451,19 +451,19 @@ namespace OpenTaiko {
|
||||
|
||||
var rand_ = OpenTaiko.ConfigIni.eRandom[actual];
|
||||
|
||||
if (rand_ == ERandomMode.MIRRORRANDOM) {
|
||||
if (rand_ == ERandomMode.MirrorRandom) {
|
||||
nRandom = 2;
|
||||
nAbekobe = 1;
|
||||
} else if (rand_ == ERandomMode.SUPERRANDOM) {
|
||||
} else if (rand_ == ERandomMode.SuperRandom) {
|
||||
nRandom = 2;
|
||||
nAbekobe = 0;
|
||||
} else if (rand_ == ERandomMode.RANDOM) {
|
||||
} else if (rand_ == ERandomMode.Random) {
|
||||
nRandom = 1;
|
||||
nAbekobe = 0;
|
||||
} else if (rand_ == ERandomMode.MIRROR) {
|
||||
} else if (rand_ == ERandomMode.Mirror) {
|
||||
nRandom = 0;
|
||||
nAbekobe = 1;
|
||||
} else if (rand_ == ERandomMode.OFF) {
|
||||
} else if (rand_ == ERandomMode.Off) {
|
||||
nRandom = 0;
|
||||
nAbekobe = 0;
|
||||
}
|
||||
@ -560,17 +560,17 @@ namespace OpenTaiko {
|
||||
#region [ Random ]
|
||||
|
||||
if (nRandom == 2 && nAbekobe == 1) {
|
||||
OpenTaiko.ConfigIni.eRandom[actual] = ERandomMode.MIRRORRANDOM;
|
||||
OpenTaiko.ConfigIni.eRandom[actual] = ERandomMode.MirrorRandom;
|
||||
} else if (nRandom == 2 && nAbekobe == 0) {
|
||||
OpenTaiko.ConfigIni.eRandom[actual] = ERandomMode.SUPERRANDOM;
|
||||
OpenTaiko.ConfigIni.eRandom[actual] = ERandomMode.SuperRandom;
|
||||
} else if (nRandom == 1 && nAbekobe == 1) {
|
||||
OpenTaiko.ConfigIni.eRandom[actual] = ERandomMode.RANDOM;
|
||||
OpenTaiko.ConfigIni.eRandom[actual] = ERandomMode.Random;
|
||||
} else if (nRandom == 1 && nAbekobe == 0) {
|
||||
OpenTaiko.ConfigIni.eRandom[actual] = ERandomMode.RANDOM;
|
||||
OpenTaiko.ConfigIni.eRandom[actual] = ERandomMode.Random;
|
||||
} else if (nRandom == 0 && nAbekobe == 1) {
|
||||
OpenTaiko.ConfigIni.eRandom[actual] = ERandomMode.MIRROR;
|
||||
OpenTaiko.ConfigIni.eRandom[actual] = ERandomMode.Mirror;
|
||||
} else if (nRandom == 0 && nAbekobe == 0) {
|
||||
OpenTaiko.ConfigIni.eRandom[actual] = ERandomMode.OFF;
|
||||
OpenTaiko.ConfigIni.eRandom[actual] = ERandomMode.Off;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
@ -4,7 +4,7 @@ using FDK;
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class CActSelectInformation : CActivity {
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CActSelectInformation() {
|
||||
base.IsDeActivated = true;
|
||||
|
@ -11,7 +11,7 @@ namespace OpenTaiko {
|
||||
Child.Add(this);
|
||||
}
|
||||
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
|
||||
public int GetIndex(int pos) {
|
||||
@ -228,7 +228,7 @@ namespace OpenTaiko {
|
||||
#endregion
|
||||
#region [ キー入力: キャンセル ]
|
||||
else if ((OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Escape)
|
||||
|| OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.FT)
|
||||
|| OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.FT)
|
||||
|| OpenTaiko.Pad.bPressedGB(EPad.Cancel))
|
||||
&& this.bEsc有効) { // キャンセル
|
||||
OpenTaiko.Skin.soundCancelSFX.tPlay();
|
||||
@ -241,20 +241,20 @@ namespace OpenTaiko {
|
||||
#region [ キー入力: 決定 ]
|
||||
// E楽器パート eInst = E楽器パート.UNKNOWN;
|
||||
ESortAction eAction = ESortAction.END;
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.GUITAR, EPad.Decide)) {
|
||||
eInst = EInstrumentPad.GUITAR;
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.Guitar, EPad.Decide)) {
|
||||
eInst = EInstrumentPad.Guitar;
|
||||
eAction = ESortAction.Decide;
|
||||
} else if (OpenTaiko.Pad.bPressed(EInstrumentPad.BASS, EPad.Decide)) {
|
||||
eInst = EInstrumentPad.BASS;
|
||||
} else if (OpenTaiko.Pad.bPressed(EInstrumentPad.Bass, EPad.Decide)) {
|
||||
eInst = EInstrumentPad.Bass;
|
||||
eAction = ESortAction.Decide;
|
||||
} else if (
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.Decide) // #24756 2011.4.1 yyagi: Add condition "Drum-Decide" to enable CY in Sort Menu.
|
||||
|| OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RD)
|
||||
|| OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LC)
|
||||
|| OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LRed)
|
||||
|| OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RRed)
|
||||
|| (OpenTaiko.ConfigIni.bEnterがキー割り当てのどこにも使用されていない && OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return))) {
|
||||
eInst = EInstrumentPad.DRUMS;
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.Decide) // #24756 2011.4.1 yyagi: Add condition "Drum-Decide" to enable CY in Sort Menu.
|
||||
|| OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RD)
|
||||
|| OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LC)
|
||||
|| OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LRed)
|
||||
|| OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RRed)
|
||||
|| (OpenTaiko.ConfigIni.bEnterIsNotUsedInKeyAssignments && OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return))) {
|
||||
eInst = EInstrumentPad.Drums;
|
||||
eAction = ESortAction.Decide;
|
||||
}
|
||||
if (eAction == ESortAction.Decide) // 決定
|
||||
@ -265,14 +265,14 @@ namespace OpenTaiko {
|
||||
#region [ キー入力: 前に移動 ]
|
||||
this.ctキー反復用.Up.KeyIntervalFunc(OpenTaiko.InputManager.Keyboard.KeyPressing((int)SlimDXKeys.Key.UpArrow), new CCounter.KeyProcess(this.t前に移動));
|
||||
this.ctキー反復用.R.KeyIntervalFunc(OpenTaiko.Pad.b押されているGB(EPad.R), new CCounter.KeyProcess(this.t前に移動));
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.SD) || OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LBlue)) {
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.SD) || OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LBlue)) {
|
||||
this.t前に移動();
|
||||
}
|
||||
#endregion
|
||||
#region [ キー入力: 次に移動 ]
|
||||
this.ctキー反復用.Down.KeyIntervalFunc(OpenTaiko.InputManager.Keyboard.KeyPressing((int)SlimDXKeys.Key.DownArrow), new CCounter.KeyProcess(this.t次に移動));
|
||||
this.ctキー反復用.B.KeyIntervalFunc(OpenTaiko.Pad.b押されているGB(EPad.B), new CCounter.KeyProcess(this.t次に移動));
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LT) || OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RBlue)) {
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LT) || OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RBlue)) {
|
||||
this.t次に移動();
|
||||
}
|
||||
#endregion
|
||||
@ -370,7 +370,7 @@ namespace OpenTaiko {
|
||||
protected bool bEsc有効;
|
||||
|
||||
internal int n現在の選択行;
|
||||
internal EInstrumentPad eInst = EInstrumentPad.UNKNOWN;
|
||||
internal EInstrumentPad eInst = EInstrumentPad.Unknown;
|
||||
|
||||
//private CTexture txPopupMenuBackground;
|
||||
//private CTexture txCursor;
|
||||
|
@ -8,7 +8,7 @@ namespace OpenTaiko {
|
||||
base.IsDeActivated = true;
|
||||
}
|
||||
public void tSelectedSongChanged() {
|
||||
this.ctDelayedDisplay = new CCounter(-OpenTaiko.ConfigIni.n曲が選択されてからプレビュー画像が表示開始されるまでのウェイトms, 100, 1, OpenTaiko.Timer);
|
||||
this.ctDelayedDisplay = new CCounter(-OpenTaiko.ConfigIni.nMsWaitPreviewImageFromSongSelected, 100, 1, OpenTaiko.Timer);
|
||||
this.bNewPreimageLoaded = false;
|
||||
}
|
||||
|
||||
|
@ -142,7 +142,7 @@ namespace OpenTaiko {
|
||||
string strPreviewFilename = cスコア.ファイル情報.フォルダの絶対パス + cスコア.譜面情報.Presound;
|
||||
try {
|
||||
strPreviewFilename = cスコア.ファイル情報.フォルダの絶対パス + cスコア.譜面情報.strBGMファイル名;
|
||||
if (OpenTaiko.ConfigIni.bBGM音を発声する)
|
||||
if (OpenTaiko.ConfigIni.bBGMPlayVoiceSound)
|
||||
this.sound = OpenTaiko.SoundManager.tCreateSound(strPreviewFilename, ESoundGroup.SongPreview);
|
||||
if (this.sound == null) return;
|
||||
//this.sound.db再生速度 = ((double)TJAPlayer3.ConfigIni.n演奏速度) / 20.0;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class CActSelectQuickConfig : CActSelectPopupMenu {
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CActSelectQuickConfig() {
|
||||
CActSelectQuickConfigMain();
|
||||
@ -10,16 +10,16 @@ namespace OpenTaiko {
|
||||
|
||||
private void CActSelectQuickConfigMain() {
|
||||
/*
|
||||
•Target: Drums/Guitar/Bass
|
||||
•Auto Mode: All ON/All OFF/CUSTOM
|
||||
•Auto Lane:
|
||||
•Scroll Speed:
|
||||
•Play Speed:
|
||||
•Risky:
|
||||
•Hidden/Sudden: None/Hidden/Sudden/Both
|
||||
•Conf SET: SET-1/SET-2/SET-3
|
||||
•More...
|
||||
•EXIT
|
||||
•Target: Drums/Guitar/Bass
|
||||
•Auto Mode: All ON/All OFF/CUSTOM
|
||||
•Auto Lane:
|
||||
•Scroll Speed:
|
||||
•Play Speed:
|
||||
•Risky:
|
||||
•Hidden/Sudden: None/Hidden/Sudden/Both
|
||||
•Conf SET: SET-1/SET-2/SET-3
|
||||
•More...
|
||||
•EXIT
|
||||
*/
|
||||
lci = new List<List<List<CItemBase>>>(); // この画面に来る度に、メニューを作り直す。
|
||||
for (int nConfSet = 0; nConfSet < 3; nConfSet++) {
|
||||
@ -98,11 +98,11 @@ namespace OpenTaiko {
|
||||
OpenTaiko.ConfigIni.eSTEALTH[OpenTaiko.SaveFile] = (EStealthMode)GetIndex((int)EOrder.Stealth);
|
||||
break;
|
||||
case (int)EOrder.GameMode:
|
||||
EGame game = EGame.OFF;
|
||||
EGame game = EGame.Off;
|
||||
switch ((int)GetIndex((int)EOrder.GameMode)) {
|
||||
case 0: game = EGame.OFF; break;
|
||||
case 1: game = EGame.完走叩ききりまショー; break;
|
||||
case 2: game = EGame.完走叩ききりまショー激辛; break;
|
||||
case 0: game = EGame.Off; break;
|
||||
case 1: game = EGame.Survival; break;
|
||||
case 2: game = EGame.SurvivalHard; break;
|
||||
}
|
||||
OpenTaiko.ConfigIni.eGameMode = game;
|
||||
break;
|
||||
|
@ -8,7 +8,7 @@ using RectangleF = System.Drawing.RectangleF;
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class CActSelect曲リスト : CActivity {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public bool bIsEnumeratingSongs {
|
||||
get;
|
||||
@ -77,7 +77,7 @@ namespace OpenTaiko {
|
||||
// (前と同じ曲なら選択曲変更に掛かる再計算を省略して高速化するため)
|
||||
private CSongListNode song_last = null;
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CActSelect曲リスト() {
|
||||
|
||||
@ -238,7 +238,7 @@ namespace OpenTaiko {
|
||||
|
||||
this.rCurrentlySelectedSong.bIsOpenFolder = true;
|
||||
|
||||
// Previous index
|
||||
// Previous index
|
||||
int n回数 = this.rCurrentlySelectedSong.Openindex;
|
||||
if (this.rCurrentlySelectedSong.Openindex >= this.rCurrentlySelectedSong.list子リスト.Count())
|
||||
n回数 = 0;
|
||||
@ -1305,8 +1305,8 @@ namespace OpenTaiko {
|
||||
|
||||
// Very disgusting, to improve and unbloat asap
|
||||
this.tジャンル別選択されていない曲バーの描画(
|
||||
xAnime - (int)Box_X,//Box,
|
||||
y - ((int)Box_Y),//Box * 3),
|
||||
xAnime - (int)Box_X,//Box,
|
||||
y - ((int)Box_Y),//Box * 3),
|
||||
this.stバー情報[nパネル番号].strジャンル,
|
||||
stバー情報[nパネル番号].eバー種別,
|
||||
stバー情報[nパネル番号].nクリア,
|
||||
@ -1318,10 +1318,10 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
|
||||
else if (n見た目の行番号 != 4)
|
||||
this.tジャンル別選択されていない曲バーの描画(xAnime - (int)Box, y - ((int)Box * 3), this.stバー情報[nパネル番号].strジャンル, stバー情報[nパネル番号].eバー種別, stバー情報[nパネル番号].nクリア, stバー情報[nパネル番号].nスコアランク, boxType);
|
||||
|
||||
|
||||
*/
|
||||
|
||||
//-----------------
|
||||
@ -1349,7 +1349,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
|
||||
//-----------------
|
||||
//-----------------
|
||||
}
|
||||
#endregion
|
||||
|
||||
@ -1844,7 +1844,7 @@ namespace OpenTaiko {
|
||||
break;
|
||||
}
|
||||
|
||||
/*if (TJAPlayer3.Tx.SongSelect_Branch_Text != null
|
||||
/*if (TJAPlayer3.Tx.SongSelect_Branch_Text != null
|
||||
&& TJAPlayer3.stage選曲.r現在選択中のスコア.譜面情報.b譜面分岐[TJAPlayer3.stage選曲.n現在選択中の曲の難易度])
|
||||
TJAPlayer3.Tx.SongSelect_Branch_Text.t2D描画(483, TJAPlayer3.Skin.SongSelect_Overall_Y + 21);
|
||||
*/
|
||||
@ -2048,7 +2048,7 @@ namespace OpenTaiko {
|
||||
#region [Decide]
|
||||
|
||||
if ((OpenTaiko.Pad.bPressedDGB(EPad.Decide)) ||
|
||||
((OpenTaiko.ConfigIni.bEnterがキー割り当てのどこにも使用されていない && OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return)))) {
|
||||
((OpenTaiko.ConfigIni.bEnterIsNotUsedInKeyAssignments && OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return)))) {
|
||||
if (emc == eMenuContext.SearchByDifficulty) {
|
||||
OpenTaiko.Skin.soundDecideSFX.tPlay();
|
||||
|
||||
@ -2093,7 +2093,7 @@ namespace OpenTaiko {
|
||||
|
||||
#region [Left]
|
||||
|
||||
else if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LeftChange)
|
||||
else if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LeftChange)
|
||||
|| OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.LeftArrow)) {
|
||||
if (emc == eMenuContext.SearchByDifficulty) {
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
@ -2115,7 +2115,7 @@ namespace OpenTaiko {
|
||||
|
||||
#region [Right]
|
||||
|
||||
else if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RightChange)
|
||||
else if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RightChange)
|
||||
|| OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.RightArrow)) {
|
||||
if (emc == eMenuContext.SearchByDifficulty) {
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
|
@ -10,11 +10,11 @@ namespace OpenTaiko {
|
||||
/// この難易度選択画面はAC7~AC14のような方式であり、WiiまたはAC15移行の方式とは異なる。
|
||||
/// </summary>
|
||||
internal class CActSelect難易度選択画面 : CActivity {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public bool bIsDifficltSelect;
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CActSelect難易度選択画面() {
|
||||
for (int i = 0; i < 10; i++) {
|
||||
@ -166,33 +166,33 @@ namespace OpenTaiko {
|
||||
|
||||
switch (i) {
|
||||
case 0:
|
||||
right = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RightChange) || OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.RightArrow));
|
||||
left = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LeftChange) || OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.LeftArrow));
|
||||
right = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RightChange) || OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.RightArrow));
|
||||
left = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LeftChange) || OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.LeftArrow));
|
||||
decide = (OpenTaiko.Pad.bPressedDGB(EPad.Decide) ||
|
||||
(OpenTaiko.ConfigIni.bEnterがキー割り当てのどこにも使用されていない && OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return)));
|
||||
(OpenTaiko.ConfigIni.bEnterIsNotUsedInKeyAssignments && OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return)));
|
||||
cancel = (OpenTaiko.Pad.bPressedDGB(EPad.Cancel) || OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Escape));
|
||||
break;
|
||||
case 1:
|
||||
if (!OpenTaiko.ConfigIni.bAIBattleMode) {
|
||||
right = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RBlue2P));
|
||||
left = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LBlue2P));
|
||||
decide = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LRed2P) || OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RRed2P));
|
||||
right = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RBlue2P));
|
||||
left = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LBlue2P));
|
||||
decide = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LRed2P) || OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RRed2P));
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
right = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RBlue3P));
|
||||
left = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LBlue3P));
|
||||
decide = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LRed3P) || OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RRed3P));
|
||||
right = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RBlue3P));
|
||||
left = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LBlue3P));
|
||||
decide = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LRed3P) || OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RRed3P));
|
||||
break;
|
||||
case 3:
|
||||
right = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RBlue4P));
|
||||
left = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LBlue4P));
|
||||
decide = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LRed4P) || OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RRed4P));
|
||||
right = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RBlue4P));
|
||||
left = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LBlue4P));
|
||||
decide = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LRed4P) || OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RRed4P));
|
||||
break;
|
||||
case 4:
|
||||
right = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RBlue5P));
|
||||
left = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LBlue5P));
|
||||
decide = (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LRed5P) || OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RRed5P));
|
||||
right = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RBlue5P));
|
||||
left = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LBlue5P));
|
||||
decide = (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LRed5P) || OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RRed5P));
|
||||
break;
|
||||
}
|
||||
|
||||
@ -426,8 +426,8 @@ namespace OpenTaiko {
|
||||
|
||||
/*
|
||||
Difficulty_Select_Bar[i].t2D描画(
|
||||
TJAPlayer3.ConfigIni.nPlayerCount == 2 ? n現在の選択行[0] != n現在の選択行[1] ? (float)this.BarX[n現在の選択行[i]] : i == 0 ? (float)this.BarX[n現在の選択行[i]] - 25 : (float)this.BarX[n現在の選択行[i]] + 25 : (float)this.BarX[n現在の選択行[i]],
|
||||
126 + ((float)Math.Sin((float)(ctBarAnimeIn.n現在の値 >= 80 ? (ctBarAnimeIn.n現在の値 - 80) : 0) * (Math.PI / 180)) * 50) + (float)Math.Sin((float)ctBarAnime[i].n現在の値 * (Math.PI / 180)) * 10,
|
||||
TJAPlayer3.ConfigIni.nPlayerCount == 2 ? n現在の選択行[0] != n現在の選択行[1] ? (float)this.BarX[n現在の選択行[i]] : i == 0 ? (float)this.BarX[n現在の選択行[i]] - 25 : (float)this.BarX[n現在の選択行[i]] + 25 : (float)this.BarX[n現在の選択行[i]],
|
||||
126 + ((float)Math.Sin((float)(ctBarAnimeIn.n現在の値 >= 80 ? (ctBarAnimeIn.n現在の値 - 80) : 0) * (Math.PI / 180)) * 50) + (float)Math.Sin((float)ctBarAnime[i].n現在の値 * (Math.PI / 180)) * 10,
|
||||
new RectangleF(0, 0, 259, 114));
|
||||
*/
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
namespace OpenTaiko {
|
||||
internal class CActSortSongs : CActSelectPopupMenu {
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CActSortSongs() {
|
||||
List<CItemBase> lci = new List<CItemBase>();
|
||||
@ -9,16 +9,10 @@
|
||||
lci.Add(new CItemList(CLangManager.LangInstance.GetString("SONGSELECT_SORT_TITLE"), CItemBase.EPanelType.Normal, 0, "", "", new string[] { "Z,Y,X,...", "A,B,C,..." }));
|
||||
lci.Add(new CItemList(CLangManager.LangInstance.GetString("SONGSELECT_SORT_SUBTITLE"), CItemBase.EPanelType.Normal, 0, "", "", new string[] { "Z,Y,X,...", "A,B,C,..." }));
|
||||
lci.Add(new CItemList(CLangManager.LangInstance.GetString("SONGSELECT_SORT_LEVEL"), CItemBase.EPanelType.Normal, 0, "", "", new string[] { "13,12,11,...", "1,2,3,..." }));
|
||||
//lci.Add( new CItemList( "Best Rank", CItemBase.Eパネル種別.通常, 0, "", "", new string[] { "E,D,C,...", "SS,S,A,..." } ) );
|
||||
//lci.Add( new CItemList( "PlayCount", CItemBase.Eパネル種別.通常, 0, "", "", new string[] { "10,9,8,...", "1,2,3,..." } ) );
|
||||
|
||||
//lci.Add( new CItemList( "SkillPoint", CItemBase.Eパネル種別.通常, 0, "", "", new string[] { "100,99,98,...", "1,2,3,..." } ) );
|
||||
#if TEST_SORTBGM
|
||||
lci.Add( new CItemList( "BPM", CItemBase.Eパネル種別.通常, 0, "", "", new string[] { "300,200,...", "70,80,90,..." } ) );
|
||||
lci.Add( new CItemList( "BPM", CItemBase.EPanelType.Normal, 0, "", "", new string[] { "300,200,...", "70,80,90,..." } ) );
|
||||
#endif
|
||||
//lci.Add( new CItemList( "ジャンル", CItemBase.Eパネル種別.通常, 0, "", "", new string[] { "AC15", "AC8-14" } ) );
|
||||
lci.Add(new CItemList(CLangManager.LangInstance.GetString("MENU_RETURN"), CItemBase.EPanelType.Normal, 0, "", "", new string[] { "", "" }));
|
||||
|
||||
base.Initialize(lci, false, CLangManager.LangInstance.GetString("SONGSELECT_SORT"));
|
||||
}
|
||||
|
||||
@ -28,11 +22,6 @@
|
||||
this.act曲リスト = ca;
|
||||
base.tActivatePopupMenu(einst);
|
||||
}
|
||||
//public void tDeativatePopupMenu()
|
||||
//{
|
||||
// base.tDeativatePopupMenu();
|
||||
//}
|
||||
|
||||
|
||||
public override void tEnter押下Main(int nSortOrder) {
|
||||
nSortOrder *= 2; // 0,1 => -1, 1
|
||||
@ -81,21 +70,11 @@
|
||||
|
||||
// CActivity 実装
|
||||
|
||||
public override void Activate() {
|
||||
//this.e現在のソート = EOrder.Title;
|
||||
base.Activate();
|
||||
}
|
||||
public override void DeActivate() {
|
||||
if (!base.IsDeActivated) {
|
||||
base.DeActivate();
|
||||
}
|
||||
}
|
||||
public override void CreateManagedResource() {
|
||||
base.CreateManagedResource();
|
||||
}
|
||||
public override void ReleaseManagedResource() {
|
||||
base.ReleaseManagedResource();
|
||||
}
|
||||
|
||||
#region [ private ]
|
||||
//-----------------
|
||||
@ -113,6 +92,4 @@
|
||||
//-----------------
|
||||
#endregion
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ namespace OpenTaiko {
|
||||
if (CSongSelectSongManager.isSongDisabled)
|
||||
return;
|
||||
|
||||
if (OpenTaiko.ConfigIni.bBGM音を発声する && !bgmIn.bIsPlaying && !bgmLoop.bIsPlaying) {
|
||||
if (OpenTaiko.ConfigIni.bBGMPlayVoiceSound && !bgmIn.bIsPlaying && !bgmLoop.bIsPlaying) {
|
||||
if (inSongPlayed == false) {
|
||||
bgmIn.tPlay();
|
||||
CSongSelectSongManager.inSongPlayed = true;
|
||||
@ -73,7 +73,7 @@ namespace OpenTaiko {
|
||||
#endregion
|
||||
|
||||
internal class CStage選曲 : CStage {
|
||||
// プロパティ
|
||||
// Properties
|
||||
public int nスクロールバー相対y座標 {
|
||||
get {
|
||||
if (actSongList != null) {
|
||||
@ -495,9 +495,9 @@ namespace OpenTaiko {
|
||||
|
||||
if (OpenTaiko.ConfigIni.bTokkunMode)
|
||||
OpenTaiko.actTextConsole.tPrint(0, 0, CTextConsole.EFontType.White, "GAME: TRAINING MODE");
|
||||
if (OpenTaiko.ConfigIni.eGameMode == EGame.完走叩ききりまショー)
|
||||
if (OpenTaiko.ConfigIni.eGameMode == EGame.Survival)
|
||||
OpenTaiko.actTextConsole.tPrint(0, 16, CTextConsole.EFontType.White, "GAME: SURVIVAL");
|
||||
if (OpenTaiko.ConfigIni.eGameMode == EGame.完走叩ききりまショー激辛)
|
||||
if (OpenTaiko.ConfigIni.eGameMode == EGame.SurvivalHard)
|
||||
OpenTaiko.actTextConsole.tPrint(0, 16, CTextConsole.EFontType.White, "GAME: SURVIVAL HARD");
|
||||
if (OpenTaiko.ConfigIni.bSuperHard)
|
||||
OpenTaiko.actTextConsole.tPrint(0, 32, CTextConsole.EFontType.Cyan, "SUPER HARD MODE : ON");
|
||||
@ -804,7 +804,7 @@ namespace OpenTaiko {
|
||||
#region [ F2 Quick Config ]
|
||||
if (OpenTaiko.ConfigIni.KeyAssign.KeyIsPressed(OpenTaiko.ConfigIni.KeyAssign.System.QuickConfig)) {
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
this.actQuickConfig.tActivatePopupMenu(EInstrumentPad.DRUMS);
|
||||
this.actQuickConfig.tActivatePopupMenu(EInstrumentPad.Drums);
|
||||
}
|
||||
#endregion
|
||||
#region [ F3 1P AUTO ]
|
||||
@ -848,7 +848,7 @@ namespace OpenTaiko {
|
||||
if (!this.bCurrentlyScrolling) {
|
||||
#region [ Decide ]
|
||||
if ((OpenTaiko.Pad.bPressedDGB(EPad.Decide) ||
|
||||
((OpenTaiko.ConfigIni.bEnterがキー割り当てのどこにも使用されていない && OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return))))) {
|
||||
((OpenTaiko.ConfigIni.bEnterIsNotUsedInKeyAssignments && OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return))))) {
|
||||
|
||||
if (this.actSongList.rCurrentlySelectedSong != null) {
|
||||
switch (this.actSongList.rCurrentlySelectedSong.eノード種別) {
|
||||
@ -886,7 +886,7 @@ namespace OpenTaiko {
|
||||
} else {
|
||||
if (this.n現在選択中の曲の難易度 >= (int)Difficulty.Tower) {
|
||||
if (OpenTaiko.ConfigIni.nPlayerCount == 1 && !OpenTaiko.ConfigIni.bTokkunMode) {
|
||||
// Init tower variables
|
||||
// Init tower variables
|
||||
if (this.n現在選択中の曲の難易度 == (int)Difficulty.Tower)
|
||||
CFloorManagement.reinitialize(this.rNowSelectedSong.arスコア[(int)Difficulty.Tower].譜面情報.nLife);
|
||||
|
||||
@ -1008,11 +1008,11 @@ namespace OpenTaiko {
|
||||
if (!this.bCurrentlyScrolling) {
|
||||
this.ctキー反復用.Up.KeyIntervalFunc(OpenTaiko.InputManager.Keyboard.KeyPressing((int)SlimDXKeys.Key.LeftArrow), new CCounter.KeyProcess(this.tカーソルを上へ移動する));
|
||||
//this.ctキー反復用.Up.tキー反復( CDTXMania.Input管理.Keyboard.bキーが押されている( (int) SlimDXKeys.Key.UpArrow ) || CDTXMania.Input管理.Keyboard.bキーが押されている( (int) SlimDXKeys.Key.LeftArrow ), new CCounter.DGキー処理( this.tカーソルを上へ移動する ) );
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LeftChange)) {
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LeftChange)) {
|
||||
this.tカーソルを上へ移動する();
|
||||
}
|
||||
} else {
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LeftChange)) {
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LeftChange)) {
|
||||
//this.ctChara_Jump[0].t開始(0, TJAPlayer3.Tx.SongSelect_Chara_Jump.Length + 8, 1000 / 45, TJAPlayer3.Timer);
|
||||
//this.ctChara_Jump[1].t開始(0, TJAPlayer3.Tx.SongSelect_Chara_Jump.Length + 8, 1000 / 45, TJAPlayer3.Timer);
|
||||
CMenuCharacter.tMenuResetTimer(CMenuCharacter.ECharacterAnimation.SELECT);
|
||||
@ -1027,11 +1027,11 @@ namespace OpenTaiko {
|
||||
this.ctキー反復用.Down.KeyIntervalFunc(OpenTaiko.InputManager.Keyboard.KeyPressing((int)SlimDXKeys.Key.RightArrow), new CCounter.KeyProcess(this.tカーソルを下へ移動する));
|
||||
//this.ctキー反復用.Down.tキー反復( CDTXMania.Input管理.Keyboard.bキーが押されている( (int) SlimDXKeys.Key.DownArrow ) || CDTXMania.Input管理.Keyboard.bキーが押されている( (int) SlimDXKeys.Key.RightArrow ), new CCounter.DGキー処理( this.tカーソルを下へ移動する ) );
|
||||
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RightChange)) {
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RightChange)) {
|
||||
this.tカーソルを下へ移動する();
|
||||
}
|
||||
} else {
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RightChange)) {
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RightChange)) {
|
||||
//this.ctChara_Jump[0].t開始(0, TJAPlayer3.Tx.SongSelect_Chara_Jump.Length + 8, 1000 / 45, TJAPlayer3.Timer);
|
||||
//this.ctChara_Jump[1].t開始(0, TJAPlayer3.Tx.SongSelect_Chara_Jump.Length + 8, 1000 / 45, TJAPlayer3.Timer);
|
||||
CMenuCharacter.tMenuResetTimer(CMenuCharacter.ECharacterAnimation.SELECT);
|
||||
@ -1058,14 +1058,14 @@ namespace OpenTaiko {
|
||||
#region [ BDx2: 簡易CONFIG ]
|
||||
if (OpenTaiko.ConfigIni.KeyAssign.KeyIsPressed(OpenTaiko.ConfigIni.KeyAssign.System.SortSongs)) {
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
this.actSortSongs.tActivatePopupMenu(EInstrumentPad.DRUMS, ref this.actSongList);
|
||||
this.actSortSongs.tActivatePopupMenu(EInstrumentPad.Drums, ref this.actSongList);
|
||||
}
|
||||
#endregion
|
||||
#region [ HHx2: 難易度変更 ]
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.HH) || OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.HHO)) { // [HH]x2 難易度変更
|
||||
CommandHistory.Add(EInstrumentPad.DRUMS, EPadFlag.HH);
|
||||
if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.HH) || OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.HHO)) { // [HH]x2 難易度変更
|
||||
CommandHistory.Add(EInstrumentPad.Drums, EPadFlag.HH);
|
||||
EPadFlag[] comChangeDifficulty = new EPadFlag[] { EPadFlag.HH, EPadFlag.HH };
|
||||
if (CommandHistory.CheckCommand(comChangeDifficulty, EInstrumentPad.DRUMS)) {
|
||||
if (CommandHistory.CheckCommand(comChangeDifficulty, EInstrumentPad.Drums)) {
|
||||
Debug.WriteLine("ドラムス難易度変更");
|
||||
this.actSongList.t難易度レベルをひとつ進める();
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
@ -1429,7 +1429,7 @@ namespace OpenTaiko {
|
||||
//Debug.Write( "CMD解析: 成功!(" + _ePad.Length + ") " );
|
||||
//for ( int i = 0; i < _ePad.Length; i++ ) Debug.Write( _ePad[ i ] + ", " );
|
||||
//Debug.WriteLine( "" );
|
||||
//stct.RemoveRange( 0, targetCount ); // #24396 2011.2.13 yyagi
|
||||
//stct.RemoveRange( 0, targetCount ); // #24396 2011.2.13 yyagi
|
||||
stct.Clear(); // #24396 2011.2.13 yyagi Clear all command input history in case you succeeded inputting some command
|
||||
|
||||
return true;
|
||||
@ -1540,7 +1540,7 @@ namespace OpenTaiko {
|
||||
|
||||
int randomSongIndex = OpenTaiko.Random.Next(selectableSongCount);
|
||||
|
||||
if (OpenTaiko.ConfigIni.bLogDTX詳細ログ出力) {
|
||||
if (OpenTaiko.ConfigIni.bOutputDetailedDTXLog) {
|
||||
StringBuilder builder = new StringBuilder(0x400);
|
||||
builder.Append(string.Format("Total number of songs to randomly choose from {0}. Randomly selected index {0}.", selectableSongCount, randomSongIndex));
|
||||
Trace.TraceInformation(builder.ToString());
|
||||
|
@ -202,7 +202,7 @@ namespace OpenTaiko {
|
||||
this.sd読み込み音.tStopSound();
|
||||
this.sd読み込み音.tDispose();
|
||||
}
|
||||
return (int)E曲読込画面の戻り値.読込中止;
|
||||
return (int)ESongLoadingScreenReturnValue.LoadCanceled;
|
||||
}
|
||||
#endregion
|
||||
|
||||
@ -372,7 +372,7 @@ namespace OpenTaiko {
|
||||
// 必ず一度「CStaeg.Eフェーズ.共通_フェードイン」フェーズを経由させること。
|
||||
// さもないと、曲読み込みが完了するまで、曲読み込み画面が描画されない。
|
||||
base.ePhaseID = CStage.EPhase.SongLoading_LoadDTXFile;
|
||||
return (int)E曲読込画面の戻り値.継続;
|
||||
return (int)ESongLoadingScreenReturnValue.Continue;
|
||||
|
||||
case CStage.EPhase.SongLoading_LoadDTXFile: {
|
||||
timeBeginLoad = DateTime.Now;
|
||||
@ -445,14 +445,14 @@ namespace OpenTaiko {
|
||||
|
||||
base.ePhaseID = CStage.EPhase.SongLoading_WaitToLoadWAVFile;
|
||||
timeBeginLoadWAV = DateTime.Now;
|
||||
return (int)E曲読込画面の戻り値.継続;
|
||||
return (int)ESongLoadingScreenReturnValue.Continue;
|
||||
}
|
||||
|
||||
case CStage.EPhase.SongLoading_WaitToLoadWAVFile: {
|
||||
if (this.ct待機.CurrentValue > 260) {
|
||||
base.ePhaseID = CStage.EPhase.SongLoading_LoadWAVFile;
|
||||
}
|
||||
return (int)E曲読込画面の戻り値.継続;
|
||||
return (int)ESongLoadingScreenReturnValue.Continue;
|
||||
}
|
||||
|
||||
case CStage.EPhase.SongLoading_LoadWAVFile: {
|
||||
@ -487,7 +487,7 @@ namespace OpenTaiko {
|
||||
|
||||
base.ePhaseID = CStage.EPhase.SongLoading_LoadBMPFile;
|
||||
}
|
||||
return (int)E曲読込画面の戻り値.継続;
|
||||
return (int)ESongLoadingScreenReturnValue.Continue;
|
||||
}
|
||||
|
||||
case CStage.EPhase.SongLoading_LoadBMPFile: {
|
||||
@ -511,7 +511,7 @@ namespace OpenTaiko {
|
||||
OpenTaiko.Timer.Update();
|
||||
//CSound管理.rc演奏用タイマ.t更新();
|
||||
base.ePhaseID = CStage.EPhase.SongLoading_WaitForSoundSystemBGM;
|
||||
return (int)E曲読込画面の戻り値.継続;
|
||||
return (int)ESongLoadingScreenReturnValue.Continue;
|
||||
}
|
||||
|
||||
case CStage.EPhase.SongLoading_WaitForSoundSystemBGM: {
|
||||
@ -524,19 +524,19 @@ namespace OpenTaiko {
|
||||
{
|
||||
base.ePhaseID = CStage.EPhase.Common_FADEOUT;
|
||||
}
|
||||
return (int)E曲読込画面の戻り値.継続;
|
||||
return (int)ESongLoadingScreenReturnValue.Continue;
|
||||
}
|
||||
|
||||
case CStage.EPhase.Common_FADEOUT:
|
||||
if (this.ct待機.IsUnEnded) // DTXVモード時は、フェードアウト省略
|
||||
return (int)E曲読込画面の戻り値.継続;
|
||||
return (int)ESongLoadingScreenReturnValue.Continue;
|
||||
|
||||
if (this.sd読み込み音 != null) {
|
||||
this.sd読み込み音.tDispose();
|
||||
}
|
||||
return (int)E曲読込画面の戻り値.読込完了;
|
||||
return (int)ESongLoadingScreenReturnValue.LoadComplete;
|
||||
}
|
||||
return (int)E曲読込画面の戻り値.継続;
|
||||
return (int)ESongLoadingScreenReturnValue.Continue;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -37,7 +37,7 @@ namespace OpenTaiko {
|
||||
this.tx描画用.vcScaleRatio.X = this.ratio1;
|
||||
this.tx描画用.vcScaleRatio.Y = this.ratio1;
|
||||
|
||||
if (OpenTaiko.ConfigIni.eClipDispType.HasFlag(EClipDispType.背景のみ)) {
|
||||
if (OpenTaiko.ConfigIni.eClipDispType.HasFlag(EClipDispType.BackgroundOnly)) {
|
||||
this.tx描画用.t2D拡大率考慮描画(CTexture.RefPnt.Center, SampleFramework.GameWindowSize.Width / 2, SampleFramework.GameWindowSize.Height / 2);
|
||||
}
|
||||
}
|
||||
@ -45,7 +45,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
public void t窓表示() {
|
||||
if (this.rVD == null || this.tx描画用 == null || !OpenTaiko.ConfigIni.eClipDispType.HasFlag(EClipDispType.ウィンドウのみ))
|
||||
if (this.rVD == null || this.tx描画用 == null || !OpenTaiko.ConfigIni.eClipDispType.HasFlag(EClipDispType.WindowOnly))
|
||||
return;
|
||||
|
||||
float[] fRatio = new float[] { (SampleFramework.GameWindowSize.Width / 2) - 4.0f, (SampleFramework.GameWindowSize.Height / 2) - 4.0f }; //中央下表示
|
||||
|
@ -2,9 +2,9 @@
|
||||
using FDK;
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class CAct演奏Combo共通 : CActivity {
|
||||
// プロパティ
|
||||
|
||||
internal class CAct演奏Combo共通 : CActivity {
|
||||
// Properties
|
||||
|
||||
public STCOMBO n現在のコンボ数;
|
||||
public struct STCOMBO {
|
||||
public CAct演奏Combo共通 act;
|
||||
@ -136,10 +136,10 @@ namespace OpenTaiko {
|
||||
protected const int nドラムコンボの幅 = 90;
|
||||
protected const int nドラムコンボの文字間隔 = -6;
|
||||
protected int[] nジャンプ差分値 = new int[180];
|
||||
protected CSTATUS status;
|
||||
//protected CTexture txCOMBO太鼓;
|
||||
//protected CTexture txCOMBO太鼓_でかいやつ;
|
||||
//protected CTexture txコンボラメ;
|
||||
protected CSTATUS status;
|
||||
//protected CTexture txCOMBO太鼓;
|
||||
//protected CTexture txCOMBO太鼓_でかいやつ;
|
||||
//protected CTexture txコンボラメ;
|
||||
public CCounter[] ctコンボ加算;
|
||||
public CCounter ctコンボラメ;
|
||||
|
||||
@ -209,9 +209,9 @@ namespace OpenTaiko {
|
||||
{ 0.032f, 0},
|
||||
{ 0.011f, 0},
|
||||
{ 0.000f, 0},
|
||||
};
|
||||
// 内部クラス
|
||||
|
||||
};
|
||||
// 内部クラス
|
||||
|
||||
protected class CSTATUS {
|
||||
public CSTAT P1 = new CSTAT();
|
||||
public CSTAT P2 = new CSTAT();
|
||||
@ -274,12 +274,12 @@ namespace OpenTaiko {
|
||||
public int n残像表示中のCOMBO値;
|
||||
public long n前回の時刻_ジャンプ用;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// メソッド
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
// メソッド
|
||||
|
||||
|
||||
private void showComboEffect(int cat, int i, int rightX, int y, int nPlayer) {
|
||||
if (OpenTaiko.Tx.Taiko_Combo_Effect != null) {
|
||||
int a = rightX - OpenTaiko.Skin.Game_Taiko_Combo_Padding[cat] * i;
|
||||
@ -287,62 +287,62 @@ namespace OpenTaiko {
|
||||
float c = (OpenTaiko.Skin.Game_Taiko_Combo_Size_Ex[1] / 4) * OpenTaiko.Skin.Game_Taiko_Combo_Scale[cat];
|
||||
float d = y;
|
||||
|
||||
if (ctコンボラメ.CurrentValue < 13) // First
|
||||
{
|
||||
// まんなか
|
||||
if (ctコンボラメ.CurrentValue < 13) // First
|
||||
{
|
||||
// まんなか
|
||||
OpenTaiko.Tx.Taiko_Combo_Effect.t2D拡大率考慮下中心基準描画(a, d - c - (int)(1.05 * this.ctコンボラメ.CurrentValue) - 13);
|
||||
}
|
||||
if (ctコンボラメ.CurrentValue >= 8 && ctコンボラメ.CurrentValue < 23) {
|
||||
// みぎ
|
||||
if (ctコンボラメ.CurrentValue >= 8 && ctコンボラメ.CurrentValue < 23) {
|
||||
// みぎ
|
||||
OpenTaiko.Tx.Taiko_Combo_Effect.t2D拡大率考慮下中心基準描画(a + b, d - c - (int)(1.05 * (this.ctコンボラメ.CurrentValue - 10)) - 3);
|
||||
|
||||
}
|
||||
if (this.ctコンボラメ.CurrentValue >= 17 && this.ctコンボラメ.CurrentValue < 32) {
|
||||
// ひだり
|
||||
if (this.ctコンボラメ.CurrentValue >= 17 && this.ctコンボラメ.CurrentValue < 32) {
|
||||
// ひだり
|
||||
OpenTaiko.Tx.Taiko_Combo_Effect.t2D拡大率考慮下中心基準描画(a - b, d - c - (int)(1.05 * this.ctコンボラメ.CurrentValue - 20) - 8);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void tコンボ表示_太鼓(int nCombo値, int nジャンプインデックス, int nPlayer) {
|
||||
// Combo display here
|
||||
|
||||
//テスト用コンボ数
|
||||
//nCombo値 = 72;
|
||||
protected virtual void tコンボ表示_太鼓(int nCombo値, int nジャンプインデックス, int nPlayer) {
|
||||
// Combo display here
|
||||
|
||||
//テスト用コンボ数
|
||||
//nCombo値 = 72;
|
||||
#region [ 事前チェック。]
|
||||
//-----------------
|
||||
//if( CDTXMania.ConfigIni.bドラムコンボ表示 == false )
|
||||
// return; // 表示OFF。
|
||||
|
||||
//-----------------
|
||||
//if( CDTXMania.ConfigIni.bドラムコンボ表示 == false )
|
||||
// return; // 表示OFF。
|
||||
|
||||
if (nCombo値 == 0)
|
||||
return; // コンボゼロは表示しない。
|
||||
//-----------------
|
||||
return; // コンボゼロは表示しない。
|
||||
//-----------------
|
||||
#endregion
|
||||
|
||||
int[] n位の数 = new int[10]; // 表示は10桁もあれば足りるだろう
|
||||
|
||||
|
||||
int[] n位の数 = new int[10]; // 表示は10桁もあれば足りるだろう
|
||||
|
||||
this.ctコンボラメ.TickLoop();
|
||||
this.ctコンボ加算[nPlayer].Tick();
|
||||
|
||||
this.ctコンボ加算[nPlayer].Tick();
|
||||
|
||||
#region [ nCombo値を桁数ごとに n位の数[] に格納する。(例:nCombo値=125 のとき n位の数 = { 5,2,1,0,0,0,0,0,0,0 } ) ]
|
||||
//-----------------
|
||||
//-----------------
|
||||
int n = nCombo値;
|
||||
int n桁数 = 0;
|
||||
while ((n > 0) && (n桁数 < 10)) {
|
||||
n位の数[n桁数] = n % 10; // 1の位を格納
|
||||
n = (n - (n % 10)) / 10; // 右へシフト(例: 12345 → 1234 )
|
||||
n位の数[n桁数] = n % 10; // 1の位を格納
|
||||
n = (n - (n % 10)) / 10; // 右へシフト(例: 12345 → 1234 )
|
||||
n桁数++;
|
||||
}
|
||||
//-----------------
|
||||
}
|
||||
//-----------------
|
||||
#endregion
|
||||
|
||||
|
||||
#region [ n位の数[] を、"COMBO" → 1の位 → 10の位 … の順に、右から左へ向かって順番に表示する。]
|
||||
//-----------------
|
||||
const int n1桁ごとのジャンプの遅れ = 30; // 1桁につき 50 インデックス遅れる
|
||||
|
||||
|
||||
//X右座標を元にして、右座標 - ( コンボの幅 * 桁数 ) でX座標を求めていく?
|
||||
|
||||
//-----------------
|
||||
const int n1桁ごとのジャンプの遅れ = 30; // 1桁につき 50 インデックス遅れる
|
||||
|
||||
|
||||
//X右座標を元にして、右座標 - ( コンボの幅 * 桁数 ) でX座標を求めていく?
|
||||
|
||||
int combo_text_x;
|
||||
int combo_text_y;
|
||||
int combo_x;
|
||||
@ -385,67 +385,67 @@ namespace OpenTaiko {
|
||||
|
||||
int nY上辺位置px = OpenTaiko.ConfigIni.bReverse.Drums ? 350 : 10;
|
||||
int n数字とCOMBOを合わせた画像の全長px = ((44) * n桁数);
|
||||
int x = 245 + (n数字とCOMBOを合わせた画像の全長px / 2);
|
||||
//int y = 212;
|
||||
//int y = CDTXMania.Skin.nComboNumberY[ nPlayer ];
|
||||
|
||||
int x = 245 + (n数字とCOMBOを合わせた画像の全長px / 2);
|
||||
//int y = 212;
|
||||
//int y = CDTXMania.Skin.nComboNumberY[ nPlayer ];
|
||||
|
||||
#region[ Combo text & Combo guides ]
|
||||
|
||||
if (!OpenTaiko.ConfigIni.SimpleMode) {
|
||||
OpenTaiko.Tx.Taiko_Combo_Text?.t2D拡大率考慮下中心基準描画(combo_text_x, combo_text_y);
|
||||
|
||||
int guide = 2;
|
||||
var ccf = OpenTaiko.stage演奏ドラム画面.CChartScore[nPlayer];
|
||||
|
||||
if (ccf.nGood > 0)
|
||||
guide = 1;
|
||||
if (ccf.nMiss > 0 || ccf.nMine > 0)
|
||||
guide = 0;
|
||||
|
||||
OpenTaiko.Tx.Taiko_Combo_Guide[guide]?.t2D拡大率考慮下中心基準描画(combo_text_x, combo_text_y);
|
||||
}
|
||||
|
||||
|
||||
if (!OpenTaiko.ConfigIni.SimpleMode) {
|
||||
OpenTaiko.Tx.Taiko_Combo_Text?.t2D拡大率考慮下中心基準描画(combo_text_x, combo_text_y);
|
||||
|
||||
int guide = 2;
|
||||
var ccf = OpenTaiko.stage演奏ドラム画面.CChartScore[nPlayer];
|
||||
|
||||
if (ccf.nGood > 0)
|
||||
guide = 1;
|
||||
if (ccf.nMiss > 0 || ccf.nMine > 0)
|
||||
guide = 0;
|
||||
|
||||
OpenTaiko.Tx.Taiko_Combo_Guide[guide]?.t2D拡大率考慮下中心基準描画(combo_text_x, combo_text_y);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
int rightX = 0;
|
||||
|
||||
int rightX = 0;
|
||||
#region 一番右の数字の座標の決定
|
||||
if (n桁数 == 1) {
|
||||
// 一桁ならそのままSkinConfigの座標を使用する。
|
||||
if (n桁数 == 1) {
|
||||
// 一桁ならそのままSkinConfigの座標を使用する。
|
||||
rightX = combo_x;
|
||||
} else if (n桁数 == 2) {
|
||||
// 二桁ならSkinConfigの座標+パディング/2を使用する
|
||||
} else if (n桁数 == 2) {
|
||||
// 二桁ならSkinConfigの座標+パディング/2を使用する
|
||||
rightX = combo_x + OpenTaiko.Skin.Game_Taiko_Combo_Padding[0] / 2;
|
||||
} else if (n桁数 == 3) {
|
||||
// 三桁ならSkinConfigの座標+パディングを使用する
|
||||
} else if (n桁数 == 3) {
|
||||
// 三桁ならSkinConfigの座標+パディングを使用する
|
||||
rightX = combo_ex_x + OpenTaiko.Skin.Game_Taiko_Combo_Padding[1];
|
||||
} else if (n桁数 == 4) {
|
||||
// 四桁ならSkinconfigの座標+パディング/2 + パディングを使用する
|
||||
} else if (n桁数 == 4) {
|
||||
// 四桁ならSkinconfigの座標+パディング/2 + パディングを使用する
|
||||
rightX = combo_ex4_x + OpenTaiko.Skin.Game_Taiko_Combo_Padding[2] / 2 + OpenTaiko.Skin.Game_Taiko_Combo_Padding[2];
|
||||
} else {
|
||||
// 五桁以上の場合
|
||||
} else {
|
||||
// 五桁以上の場合
|
||||
int rightDigit = 0;
|
||||
switch (n桁数 % 2) {
|
||||
case 0:
|
||||
// 2で割り切れる
|
||||
// パディング/2を足す必要がある
|
||||
// 右に表示される桁数を求め、-1する
|
||||
case 0:
|
||||
// 2で割り切れる
|
||||
// パディング/2を足す必要がある
|
||||
// 右に表示される桁数を求め、-1する
|
||||
rightDigit = n桁数 / 2 - 1;
|
||||
rightX = combo_ex4_x + OpenTaiko.Skin.Game_Taiko_Combo_Padding[2] / 2 + OpenTaiko.Skin.Game_Taiko_Combo_Padding[2] * rightDigit;
|
||||
break;
|
||||
case 1:
|
||||
// 2で割るとあまりが出る
|
||||
// そのままパディングを足していく
|
||||
// 右に表示される桁数を求める(中央除く -1)
|
||||
case 1:
|
||||
// 2で割るとあまりが出る
|
||||
// そのままパディングを足していく
|
||||
// 右に表示される桁数を求める(中央除く -1)
|
||||
rightDigit = (n桁数 - 1) / 2;
|
||||
rightX = combo_ex4_x + OpenTaiko.Skin.Game_Taiko_Combo_Padding[2] * rightDigit;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
|
||||
for (int i = 0; i < n桁数; i++) {
|
||||
|
||||
OpenTaiko.Tx.Taiko_Combo[0].Opacity = 255;
|
||||
@ -458,8 +458,8 @@ namespace OpenTaiko {
|
||||
OpenTaiko.Tx.Taiko_Combo[0].vcScaleRatio.X = OpenTaiko.Skin.Game_Taiko_Combo_Scale[0];
|
||||
OpenTaiko.Tx.Taiko_Combo[0].t2D拡大率考慮下中心基準描画(rightX, combo_y, new Rectangle(n位の数[i] * OpenTaiko.Skin.Game_Taiko_Combo_Size[0], 0, OpenTaiko.Skin.Game_Taiko_Combo_Size[0], OpenTaiko.Skin.Game_Taiko_Combo_Size[1]));
|
||||
}
|
||||
} else if (n桁数 <= 2) {
|
||||
//int[] arComboX = { CDTXMania.Skin.Game_Taiko_Combo_X[nPlayer] + CDTXMania.Skin.Game_Taiko_Combo_Padding[0], CDTXMania.Skin.Game_Taiko_Combo_X[nPlayer] - CDTXMania.Skin.Game_Taiko_Combo_Padding[0] };
|
||||
} else if (n桁数 <= 2) {
|
||||
//int[] arComboX = { CDTXMania.Skin.Game_Taiko_Combo_X[nPlayer] + CDTXMania.Skin.Game_Taiko_Combo_Padding[0], CDTXMania.Skin.Game_Taiko_Combo_X[nPlayer] - CDTXMania.Skin.Game_Taiko_Combo_Padding[0] };
|
||||
if (nCombo値 < 50) {
|
||||
if (OpenTaiko.Tx.Taiko_Combo[0] != null) {
|
||||
var yScalling = OpenTaiko.ConfigIni.SimpleMode ? 0 : ComboScale[this.ctコンボ加算[nPlayer].CurrentValue];
|
||||
@ -473,8 +473,8 @@ namespace OpenTaiko {
|
||||
OpenTaiko.Tx.Taiko_Combo[2].vcScaleRatio.Y = OpenTaiko.Skin.Game_Taiko_Combo_Scale[0] + yScalling;
|
||||
OpenTaiko.Tx.Taiko_Combo[2].vcScaleRatio.X = OpenTaiko.Skin.Game_Taiko_Combo_Scale[0];
|
||||
OpenTaiko.Tx.Taiko_Combo[2].t2D拡大率考慮下中心基準描画(rightX - OpenTaiko.Skin.Game_Taiko_Combo_Padding[0] * i, combo_y, new Rectangle(n位の数[i] * OpenTaiko.Skin.Game_Taiko_Combo_Size[0], 0, OpenTaiko.Skin.Game_Taiko_Combo_Size[0], OpenTaiko.Skin.Game_Taiko_Combo_Size[1]));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (!OpenTaiko.ConfigIni.SimpleMode) showComboEffect(0, i, rightX, combo_ex_y, nPlayer);
|
||||
}
|
||||
} else if (n桁数 == 3) {
|
||||
@ -490,8 +490,8 @@ namespace OpenTaiko {
|
||||
OpenTaiko.Tx.Taiko_Combo[1].vcScaleRatio.X = OpenTaiko.Skin.Game_Taiko_Combo_Scale[1];
|
||||
var yJumping = OpenTaiko.Skin.Game_Taiko_Combo_Ex_IsJumping ? (int)ComboScale_Ex[this.ctコンボ加算[nPlayer].CurrentValue, 1] : 0;
|
||||
OpenTaiko.Tx.Taiko_Combo[1].t2D拡大率考慮下中心基準描画(rightX - OpenTaiko.Skin.Game_Taiko_Combo_Padding[1] * i, combo_ex_y + yJumping, new Rectangle(n位の数[i] * OpenTaiko.Skin.Game_Taiko_Combo_Size_Ex[0], 0, OpenTaiko.Skin.Game_Taiko_Combo_Size_Ex[0], OpenTaiko.Skin.Game_Taiko_Combo_Size_Ex[1]));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (!OpenTaiko.ConfigIni.SimpleMode) showComboEffect(1, i, rightX, combo_ex_y, nPlayer);
|
||||
} else {
|
||||
if (nCombo値 >= 300 && OpenTaiko.Tx.Taiko_Combo[3] != null) {
|
||||
@ -506,19 +506,19 @@ namespace OpenTaiko {
|
||||
OpenTaiko.Tx.Taiko_Combo[1].vcScaleRatio.X = OpenTaiko.Skin.Game_Taiko_Combo_Scale[2];
|
||||
var yJumping = OpenTaiko.Skin.Game_Taiko_Combo_Ex_IsJumping ? (int)ComboScale_Ex[this.ctコンボ加算[nPlayer].CurrentValue, 1] : 0;
|
||||
OpenTaiko.Tx.Taiko_Combo[1].t2D拡大率考慮下中心基準描画(rightX - OpenTaiko.Skin.Game_Taiko_Combo_Padding[2] * i, combo_ex_y + yJumping, new Rectangle(n位の数[i] * OpenTaiko.Skin.Game_Taiko_Combo_Size_Ex[0], 0, OpenTaiko.Skin.Game_Taiko_Combo_Size_Ex[0], OpenTaiko.Skin.Game_Taiko_Combo_Size_Ex[1]));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (!OpenTaiko.ConfigIni.SimpleMode) showComboEffect(2, i, rightX, combo_ex_y, nPlayer);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------
|
||||
}
|
||||
|
||||
//-----------------
|
||||
#endregion
|
||||
}
|
||||
|
||||
// CActivity 実装
|
||||
|
||||
}
|
||||
|
||||
// CActivity 実装
|
||||
|
||||
public override void Activate() {
|
||||
this.n現在のコンボ数 = new STCOMBO() { act = this };
|
||||
this.n現在のコンボ数.最高値 = new int[5];
|
||||
@ -555,24 +555,24 @@ namespace OpenTaiko {
|
||||
return 0;
|
||||
|
||||
for (int i = 0; i < 5; i++) {
|
||||
EEvent e今回の状態遷移イベント;
|
||||
|
||||
EEvent e今回の状態遷移イベント;
|
||||
|
||||
#region [ 前回と今回の COMBO 値から、e今回の状態遷移イベントを決定する。]
|
||||
//-----------------
|
||||
//-----------------
|
||||
if (this.status[i].n現在表示中のCOMBO値 == this.status[i].nCOMBO値) {
|
||||
e今回の状態遷移イベント = EEvent.同一数値;
|
||||
} else if (this.status[i].n現在表示中のCOMBO値 > this.status[i].nCOMBO値) {
|
||||
e今回の状態遷移イベント = EEvent.ミス通知;
|
||||
} else if ((this.status[i].n現在表示中のCOMBO値 < OpenTaiko.ConfigIni.n表示可能な最小コンボ数.Drums) && (this.status[i].nCOMBO値 < OpenTaiko.ConfigIni.n表示可能な最小コンボ数.Drums)) {
|
||||
} else if ((this.status[i].n現在表示中のCOMBO値 < OpenTaiko.ConfigIni.nMinDisplayedCombo.Drums) && (this.status[i].nCOMBO値 < OpenTaiko.ConfigIni.nMinDisplayedCombo.Drums)) {
|
||||
e今回の状態遷移イベント = EEvent.非表示;
|
||||
} else {
|
||||
e今回の状態遷移イベント = EEvent.数値更新;
|
||||
}
|
||||
//-----------------
|
||||
}
|
||||
//-----------------
|
||||
#endregion
|
||||
|
||||
|
||||
#region [ nジャンプインデックス値 の進行。]
|
||||
//-----------------
|
||||
//-----------------
|
||||
if (this.status[i].nジャンプインデックス値 < 360) {
|
||||
if ((this.status[i].n前回の時刻_ジャンプ用 == -1) || (OpenTaiko.Timer.NowTime < this.status[i].n前回の時刻_ジャンプ用))
|
||||
this.status[i].n前回の時刻_ジャンプ用 = OpenTaiko.Timer.NowTime;
|
||||
@ -584,19 +584,19 @@ namespace OpenTaiko {
|
||||
|
||||
this.status[i].n前回の時刻_ジャンプ用 += INTERVAL;
|
||||
}
|
||||
}
|
||||
//-----------------
|
||||
}
|
||||
//-----------------
|
||||
#endregion
|
||||
|
||||
Retry: // モードが変化した場合はここからリトライする。
|
||||
|
||||
|
||||
Retry: // モードが変化した場合はここからリトライする。
|
||||
|
||||
switch (this.status[i].e現在のモード) {
|
||||
case EMode.非表示中:
|
||||
case EMode.非表示中:
|
||||
#region [ *** ]
|
||||
//-----------------
|
||||
|
||||
if (e今回の状態遷移イベント == EEvent.数値更新) {
|
||||
// モード変更
|
||||
//-----------------
|
||||
|
||||
if (e今回の状態遷移イベント == EEvent.数値更新) {
|
||||
// モード変更
|
||||
this.status[i].e現在のモード = EMode.進行表示中;
|
||||
this.status[i].nジャンプインデックス値 = 0;
|
||||
this.status[i].n前回の時刻_ジャンプ用 = OpenTaiko.Timer.NowTime;
|
||||
@ -604,16 +604,16 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
this.status[i].n現在表示中のCOMBO値 = this.status[i].nCOMBO値;
|
||||
break;
|
||||
//-----------------
|
||||
break;
|
||||
//-----------------
|
||||
#endregion
|
||||
|
||||
case EMode.進行表示中:
|
||||
|
||||
case EMode.進行表示中:
|
||||
#region [ *** ]
|
||||
//-----------------
|
||||
|
||||
if ((e今回の状態遷移イベント == EEvent.非表示) || (e今回の状態遷移イベント == EEvent.ミス通知)) {
|
||||
// モード変更
|
||||
//-----------------
|
||||
|
||||
if ((e今回の状態遷移イベント == EEvent.非表示) || (e今回の状態遷移イベント == EEvent.ミス通知)) {
|
||||
// モード変更
|
||||
this.status[i].e現在のモード = EMode.残像表示中;
|
||||
this.status[i].n残像表示中のCOMBO値 = this.status[i].n現在表示中のCOMBO値;
|
||||
this.status[i].nコンボが切れた時刻 = OpenTaiko.Timer.NowTime;
|
||||
@ -647,26 +647,26 @@ namespace OpenTaiko {
|
||||
this.tコンボ表示_太鼓(this.status[i].nCOMBO値, this.status[i].nジャンプインデックス値, 4);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
//-----------------
|
||||
break;
|
||||
//-----------------
|
||||
#endregion
|
||||
|
||||
case EMode.残像表示中:
|
||||
|
||||
case EMode.残像表示中:
|
||||
#region [ *** ]
|
||||
//-----------------
|
||||
if (e今回の状態遷移イベント == EEvent.数値更新) {
|
||||
// モード変更1
|
||||
//-----------------
|
||||
if (e今回の状態遷移イベント == EEvent.数値更新) {
|
||||
// モード変更1
|
||||
this.status[i].e現在のモード = EMode.進行表示中;
|
||||
goto Retry;
|
||||
}
|
||||
if ((OpenTaiko.Timer.NowTime - this.status[i].nコンボが切れた時刻) > 1000) {
|
||||
// モード変更2
|
||||
if ((OpenTaiko.Timer.NowTime - this.status[i].nコンボが切れた時刻) > 1000) {
|
||||
// モード変更2
|
||||
this.status[i].e現在のモード = EMode.非表示中;
|
||||
goto Retry;
|
||||
}
|
||||
this.status[i].n現在表示中のCOMBO値 = this.status[i].nCOMBO値;
|
||||
break;
|
||||
//-----------------
|
||||
break;
|
||||
//-----------------
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@ -674,4 +674,4 @@ namespace OpenTaiko {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,13 +3,13 @@
|
||||
namespace OpenTaiko {
|
||||
/// <summary>
|
||||
/// CAct演奏Drumsゲージ と CAct演奏Gutiarゲージ のbaseクラス。ダメージ計算やDanger/Failed判断もこのクラスで行う。
|
||||
///
|
||||
///
|
||||
/// 課題
|
||||
/// _STAGE FAILED OFF時にゲージ回復を止める
|
||||
/// _黒→閉店までの差を大きくする。
|
||||
/// </summary>
|
||||
internal class CAct演奏ゲージ共通 : CActivity {
|
||||
// プロパティ
|
||||
// Properties
|
||||
public CActLVLNFont actLVLNFont { get; protected set; }
|
||||
|
||||
// コンストラクタ
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class CAct演奏スクロール速度 : CActivity {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public double[] db現在の譜面スクロール速度 = new double[5];
|
||||
|
||||
|
@ -4,7 +4,7 @@ using FDK;
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class CAct演奏スコア共通 : CActivity {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
protected long[] nScoreIncrease;
|
||||
protected double[] nCurrentRealScore;
|
||||
|
@ -63,7 +63,7 @@ namespace OpenTaiko {
|
||||
public void Start() {
|
||||
this.dbFailedTime = OpenTaiko.Timer.NowTime;
|
||||
this.ct進行 = new CCounter(0, 300, 22, OpenTaiko.Timer);
|
||||
if (OpenTaiko.ConfigIni.eGameMode != EGame.OFF) {
|
||||
if (OpenTaiko.ConfigIni.eGameMode != EGame.Off) {
|
||||
this.ct進行 = new CCounter(0, 4000, 2, OpenTaiko.Timer);
|
||||
}
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ namespace OpenTaiko {
|
||||
|
||||
SKBitmap bmpDiff;
|
||||
string strDiff = "";
|
||||
if (OpenTaiko.Skin.eDiffDispMode == E難易度表示タイプ.n曲目に表示) {
|
||||
if (OpenTaiko.Skin.eDiffDispMode == EDifficultyDisplayType.TextOnNthSong) {
|
||||
switch (OpenTaiko.stageSongSelect.nChoosenSongDifficulty[0]) {
|
||||
case 0:
|
||||
strDiff = "かんたん ";
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class CAct演奏演奏情報 : CActivity {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public double[] dbBPM = new double[5];
|
||||
public readonly int[] NowMeasure = new int[5];
|
||||
|
@ -54,7 +54,7 @@ namespace OpenTaiko {
|
||||
int nInst = (int)eInst;
|
||||
if (!b演奏チップが1つでもバーを通過した[nInst]) {
|
||||
b演奏チップが1つでもバーを通過した[nInst] = true;
|
||||
if (this.eInvisibleMode[nInst] == EInvisible.SEMI) {
|
||||
if (this.eInvisibleMode[nInst] == EInvisible.Semi) {
|
||||
ShowChipTemporally(eInst);
|
||||
ccounter[nInst].CurrentValue = nDisplayTimeMs;
|
||||
}
|
||||
@ -78,7 +78,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
internal EChipInvisibleState SetInvisibleStatus(ref CDTX.CChip cc) {
|
||||
if (cc.e楽器パート == EInstrumentPad.UNKNOWN) {
|
||||
if (cc.e楽器パート == EInstrumentPad.Unknown) {
|
||||
return EChipInvisibleState.SHOW;
|
||||
}
|
||||
int nInst = (int)cc.e楽器パート;
|
||||
@ -87,17 +87,17 @@ namespace OpenTaiko {
|
||||
ccounter[nInst].Tick();
|
||||
|
||||
switch (eInvisibleMode[nInst]) {
|
||||
case EInvisible.OFF:
|
||||
case EInvisible.Off:
|
||||
cc.b可視 = true;
|
||||
retcode = EChipInvisibleState.SHOW;
|
||||
break;
|
||||
|
||||
case EInvisible.FULL:
|
||||
case EInvisible.Full:
|
||||
cc.b可視 = false;
|
||||
retcode = EChipInvisibleState.INVISIBLE;
|
||||
break;
|
||||
|
||||
case EInvisible.SEMI:
|
||||
case EInvisible.Semi:
|
||||
if (!b演奏チップが1つでもバーを通過した[nInst]) // まだ1つもチップがバーを通過していない時は、チップを表示する
|
||||
{
|
||||
cc.b可視 = true;
|
||||
|
@ -8,7 +8,7 @@ namespace OpenTaiko {
|
||||
/// 演奏画面の共通クラス (ドラム演奏画面, ギター演奏画面の継承元)
|
||||
/// </summary>
|
||||
internal abstract class CStage演奏画面共通 : CStage {
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
// メソッド
|
||||
|
||||
@ -282,7 +282,7 @@ namespace OpenTaiko {
|
||||
|
||||
listWAV = OpenTaiko.DTX.listWAV;
|
||||
|
||||
this.eフェードアウト完了時の戻り値 = E演奏画面の戻り値.継続;
|
||||
this.eフェードアウト完了時の戻り値 = EGameplayScreenReturnValue.Continue;
|
||||
this.n現在のトップChip = (listChip[0].Count > 0) ? 0 : -1;
|
||||
this.L最後に再生したHHの実WAV番号 = new List<int>(16);
|
||||
this.n最後に再生したHHのチャンネル番号 = 0;
|
||||
@ -717,7 +717,7 @@ namespace OpenTaiko {
|
||||
public CCounter[] ctChipAnimeLag;
|
||||
private int bgmlength = 1;
|
||||
|
||||
protected E演奏画面の戻り値 eフェードアウト完了時の戻り値;
|
||||
protected EGameplayScreenReturnValue eフェードアウト完了時の戻り値;
|
||||
protected readonly int[] nチャンネル0Atoパッド08 = new int[] { 1, 2, 3, 4, 5, 7, 6, 1, 8, 0, 9, 9 };
|
||||
protected readonly int[] nチャンネル0Atoレーン07 = new int[] { 1, 2, 3, 4, 5, 7, 6, 1, 9, 0, 8, 8 };
|
||||
// RD LC LP RD
|
||||
@ -787,7 +787,7 @@ namespace OpenTaiko {
|
||||
protected int[] n風船残り = new int[5];
|
||||
protected int[] n現在の連打数 = new int[5];
|
||||
public int[] Chara_MissCount;
|
||||
protected E連打State eRollState;
|
||||
protected ERollState eRollState;
|
||||
protected bool[] ifp = { false, false, false, false, false };
|
||||
protected bool[] isDeniedPlaying = { false, false, false, false, false };
|
||||
|
||||
@ -1135,11 +1135,11 @@ namespace OpenTaiko {
|
||||
|
||||
if (index == 0x11 || index == 0x13 || index == 0x1A || index == 0x101) {
|
||||
this.soundRed[pChip.nPlayerSide]?.PlayStart();
|
||||
if ((index == 0x13 && _gt == EGameType.KONGA) || index == 0x101) {
|
||||
if ((index == 0x13 && _gt == EGameType.Konga) || index == 0x101) {
|
||||
this.soundBlue[pChip.nPlayerSide]?.PlayStart();
|
||||
}
|
||||
} else if (index == 0x12 || index == 0x14 || index == 0x1B) {
|
||||
if (index == 0x14 && _gt == EGameType.KONGA) {
|
||||
if (index == 0x14 && _gt == EGameType.Konga) {
|
||||
this.soundClap[pChip.nPlayerSide]?.PlayStart();
|
||||
} else {
|
||||
this.soundBlue[pChip.nPlayerSide]?.PlayStart();
|
||||
@ -1186,9 +1186,9 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
if (pChip.nチャンネル番号 == 0x15)
|
||||
this.eRollState = E連打State.roll;
|
||||
this.eRollState = ERollState.Roll;
|
||||
else
|
||||
this.eRollState = E連打State.rollB;
|
||||
this.eRollState = ERollState.RollB;
|
||||
|
||||
pChip.nRollCount++;
|
||||
|
||||
@ -1242,7 +1242,7 @@ namespace OpenTaiko {
|
||||
if (sort == 0 || sort == 2) {
|
||||
this.soundRed[pChip.nPlayerSide]?.PlayStart();
|
||||
|
||||
if (pChip.nチャンネル番号 == 0x15 || _gt == EGameType.KONGA || (_gt == EGameType.TAIKO && pChip.nチャンネル番号 == 0x21)) {
|
||||
if (pChip.nチャンネル番号 == 0x15 || _gt == EGameType.Konga || (_gt == EGameType.Taiko && pChip.nチャンネル番号 == 0x21)) {
|
||||
//CDTXMania.Skin.soundRed.t再生する();
|
||||
//CDTXMania.stage演奏ドラム画面.actChipFireTaiko.Start( 1, nPlayer );
|
||||
OpenTaiko.stage演奏ドラム画面.FlyingNotes.Start(1, nPlayer, true);
|
||||
@ -1254,7 +1254,7 @@ namespace OpenTaiko {
|
||||
} else if (sort == 1 || sort == 3) {
|
||||
this.soundBlue[pChip.nPlayerSide]?.PlayStart();
|
||||
|
||||
if (pChip.nチャンネル番号 == 0x15 || _gt == EGameType.KONGA || (_gt == EGameType.TAIKO && pChip.nチャンネル番号 == 0x21)) {
|
||||
if (pChip.nチャンネル番号 == 0x15 || _gt == EGameType.Konga || (_gt == EGameType.Taiko && pChip.nチャンネル番号 == 0x21)) {
|
||||
//CDTXMania.Skin.soundBlue.t再生する();
|
||||
//CDTXMania.stage演奏ドラム画面.actChipFireTaiko.Start( 2, nPlayer );
|
||||
OpenTaiko.stage演奏ドラム画面.FlyingNotes.Start(2, nPlayer, true);
|
||||
@ -1323,7 +1323,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
}
|
||||
|
||||
this.eRollState = E連打State.balloon;
|
||||
this.eRollState = ERollState.Balloon;
|
||||
|
||||
|
||||
|
||||
@ -1412,7 +1412,7 @@ namespace OpenTaiko {
|
||||
if (actChara.CharaAction_Balloon_Delay[player] != null) actChara.CharaAction_Balloon_Delay[player] = new CCounter(0, OpenTaiko.Skin.Characters_Balloon_Delay[actChara.iCurrentCharacter[player]] - 1, 1, OpenTaiko.Timer);
|
||||
}
|
||||
}
|
||||
this.eRollState = E連打State.none; // Unused variable ?
|
||||
this.eRollState = ERollState.None; // Unused variable ?
|
||||
}
|
||||
} else {
|
||||
if (IsKusudama) {
|
||||
@ -1464,11 +1464,11 @@ namespace OpenTaiko {
|
||||
|
||||
ENoteJudge eJudgeResult = ENoteJudge.Auto;
|
||||
switch (pChip.e楽器パート) {
|
||||
case EInstrumentPad.DRUMS:
|
||||
case EInstrumentPad.GUITAR:
|
||||
case EInstrumentPad.BASS:
|
||||
case EInstrumentPad.Drums:
|
||||
case EInstrumentPad.Guitar:
|
||||
case EInstrumentPad.Bass:
|
||||
break;
|
||||
case EInstrumentPad.TAIKO: {
|
||||
case EInstrumentPad.Taiko: {
|
||||
//連打が短すぎると発声されない
|
||||
eJudgeResult = (bCorrectLane) ? this.e指定時刻からChipのJUDGEを返す(nHitTime, pChip, nPlayer) : ENoteJudge.Miss;
|
||||
|
||||
@ -1503,7 +1503,7 @@ namespace OpenTaiko {
|
||||
else
|
||||
this.nHand[nPlayer] = 0;
|
||||
|
||||
if (OpenTaiko.stage演奏ドラム画面.actPlayInfo.dbBPM[nPlayer] < 0 && (pChip.eScrollMode == EScrollMode.HBSCROLL))
|
||||
if (OpenTaiko.stage演奏ドラム画面.actPlayInfo.dbBPM[nPlayer] < 0 && (pChip.eScrollMode == EScrollMode.HBScroll))
|
||||
pChip.fBMSCROLLTime -= OpenTaiko.stage演奏ドラム画面.actPlayInfo.dbBPM[nPlayer] * -0.05;
|
||||
|
||||
OpenTaiko.stage演奏ドラム画面.actTaikoLaneFlash.PlayerLane[nPlayer].Start(PlayerLane.FlashType.Red);
|
||||
@ -1512,15 +1512,15 @@ namespace OpenTaiko {
|
||||
OpenTaiko.stage演奏ドラム画面.actMtaiko.tMtaikoEvent(pChip.nチャンネル番号, this.nHand[nPlayer], nPlayer);
|
||||
|
||||
|
||||
if (pChip.nチャンネル番号 == 0x20 && _gt == EGameType.KONGA) nLane = 4;
|
||||
else if (pChip.nチャンネル番号 == 0x21 && _gt == EGameType.KONGA) nLane = 1;
|
||||
if (pChip.nチャンネル番号 == 0x20 && _gt == EGameType.Konga) nLane = 4;
|
||||
else if (pChip.nチャンネル番号 == 0x21 && _gt == EGameType.Konga) nLane = 1;
|
||||
|
||||
this.tRollProcess(pChip, (SoundManager.PlayTimer.NowTime * OpenTaiko.ConfigIni.SongPlaybackSpeed), 1, nLane, 0, nPlayer);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!bAutoPlay && !rollEffectHit) {
|
||||
this.eRollState = E連打State.roll;
|
||||
this.eRollState = ERollState.Roll;
|
||||
this.tRollProcess(pChip, (SoundManager.PlayTimer.NowTime * OpenTaiko.ConfigIni.SongPlaybackSpeed), 1, nNowInput, 0, nPlayer);
|
||||
}
|
||||
|
||||
@ -1662,7 +1662,7 @@ namespace OpenTaiko {
|
||||
break;
|
||||
}
|
||||
|
||||
if ((pChip.e楽器パート != EInstrumentPad.UNKNOWN)) {
|
||||
if ((pChip.e楽器パート != EInstrumentPad.Unknown)) {
|
||||
if (NotesManager.IsMissableNote(pChip)) {
|
||||
actGauge.Damage(screenmode, pChip.e楽器パート, eJudgeResult, nPlayer);
|
||||
}
|
||||
@ -1769,11 +1769,11 @@ namespace OpenTaiko {
|
||||
|
||||
|
||||
switch (pChip.e楽器パート) {
|
||||
case EInstrumentPad.DRUMS:
|
||||
case EInstrumentPad.GUITAR:
|
||||
case EInstrumentPad.BASS:
|
||||
case EInstrumentPad.Drums:
|
||||
case EInstrumentPad.Guitar:
|
||||
case EInstrumentPad.Bass:
|
||||
break;
|
||||
case EInstrumentPad.TAIKO:
|
||||
case EInstrumentPad.Taiko:
|
||||
if (!bAutoPlay) {
|
||||
if (NotesManager.IsGenericRoll(pChip))
|
||||
break;
|
||||
@ -2052,7 +2052,7 @@ namespace OpenTaiko {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if (((pChip.e楽器パート != EInstrumentPad.UNKNOWN)) && (eJudgeResult != ENoteJudge.Miss) && (eJudgeResult != ENoteJudge.Bad) && (eJudgeResult != ENoteJudge.Poor) && (NotesManager.IsMissableNote(pChip))) {
|
||||
if (((pChip.e楽器パート != EInstrumentPad.Unknown)) && (eJudgeResult != ENoteJudge.Miss) && (eJudgeResult != ENoteJudge.Bad) && (eJudgeResult != ENoteJudge.Poor) && (NotesManager.IsMissableNote(pChip))) {
|
||||
int nCombos = this.actCombo.n現在のコンボ数[nPlayer];
|
||||
long nInit = OpenTaiko.DTX.nScoreInit[0, OpenTaiko.stageSongSelect.nChoosenSongDifficulty[nPlayer]];
|
||||
long nDiff = OpenTaiko.DTX.nScoreDiff[OpenTaiko.stageSongSelect.nChoosenSongDifficulty[nPlayer]];
|
||||
@ -2198,12 +2198,12 @@ namespace OpenTaiko {
|
||||
//ChipのCourseをベースにゲージの伸びを調節
|
||||
actGauge.Damage(screenmode, part, ENoteJudge.Miss, 0);
|
||||
switch (part) {
|
||||
case EInstrumentPad.DRUMS:
|
||||
case EInstrumentPad.GUITAR:
|
||||
case EInstrumentPad.BASS:
|
||||
case EInstrumentPad.Drums:
|
||||
case EInstrumentPad.Guitar:
|
||||
case EInstrumentPad.Bass:
|
||||
break;
|
||||
|
||||
case EInstrumentPad.TAIKO:
|
||||
case EInstrumentPad.Taiko:
|
||||
this.actCombo.n現在のコンボ数.P1 = 0;
|
||||
this.actCombo.n現在のコンボ数.P2 = 0;
|
||||
this.actCombo.n現在のコンボ数.P3 = 0;
|
||||
@ -2637,7 +2637,7 @@ namespace OpenTaiko {
|
||||
protected abstract void ドラムスクロール速度アップ();
|
||||
protected abstract void ドラムスクロール速度ダウン();
|
||||
protected void tキー入力() {
|
||||
// Inputs
|
||||
// Inputs
|
||||
|
||||
IInputDevice keyboard = OpenTaiko.InputManager.Keyboard;
|
||||
|
||||
@ -2778,17 +2778,17 @@ namespace OpenTaiko {
|
||||
|
||||
if (OpenTaiko.ConfigIni.KeyAssign.KeyIsPressed(OpenTaiko.ConfigIni.KeyAssign.System.CycleVideoDisplayMode)) {
|
||||
switch (OpenTaiko.ConfigIni.eClipDispType) {
|
||||
case EClipDispType.OFF:
|
||||
OpenTaiko.ConfigIni.eClipDispType = EClipDispType.背景のみ;
|
||||
case EClipDispType.Off:
|
||||
OpenTaiko.ConfigIni.eClipDispType = EClipDispType.BackgroundOnly;
|
||||
break;
|
||||
case EClipDispType.背景のみ:
|
||||
OpenTaiko.ConfigIni.eClipDispType = EClipDispType.ウィンドウのみ;
|
||||
case EClipDispType.BackgroundOnly:
|
||||
OpenTaiko.ConfigIni.eClipDispType = EClipDispType.WindowOnly;
|
||||
break;
|
||||
case EClipDispType.ウィンドウのみ:
|
||||
OpenTaiko.ConfigIni.eClipDispType = EClipDispType.両方;
|
||||
case EClipDispType.WindowOnly:
|
||||
OpenTaiko.ConfigIni.eClipDispType = EClipDispType.Both;
|
||||
break;
|
||||
case EClipDispType.両方:
|
||||
OpenTaiko.ConfigIni.eClipDispType = EClipDispType.OFF;
|
||||
case EClipDispType.Both:
|
||||
OpenTaiko.ConfigIni.eClipDispType = EClipDispType.Off;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -2853,9 +2853,9 @@ namespace OpenTaiko {
|
||||
&& ((this.actStageFailed.Draw() != 0)
|
||||
&& (base.ePhaseID != CStage.EPhase.Game_STAGE_FAILED_FadeOut))) {
|
||||
if (OpenTaiko.stageSongSelect.nChoosenSongDifficulty[0] == (int)Difficulty.Tower) {
|
||||
this.eフェードアウト完了時の戻り値 = E演奏画面の戻り値.ステージクリア;
|
||||
this.eフェードアウト完了時の戻り値 = EGameplayScreenReturnValue.StageCleared;
|
||||
} else {
|
||||
this.eフェードアウト完了時の戻り値 = E演奏画面の戻り値.ステージ失敗;
|
||||
this.eフェードアウト完了時の戻り値 = EGameplayScreenReturnValue.StageFailed;
|
||||
|
||||
}
|
||||
base.ePhaseID = CStage.EPhase.Game_STAGE_FAILED_FadeOut;
|
||||
@ -2977,7 +2977,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
|
||||
if (pChip.eScrollMode == EScrollMode.BMSCROLL || pChip.eScrollMode == EScrollMode.HBSCROLL) {
|
||||
if (pChip.eScrollMode == EScrollMode.BMScroll || pChip.eScrollMode == EScrollMode.HBScroll) {
|
||||
|
||||
/*
|
||||
pChip.nバーからの距離dot.Taiko = (int)(3 * 0.8335 * ((pChip.fBMSCROLLTime * NOTE_GAP) - (play_bpm_time * NOTE_GAP)) * dbSCROLL * (db現在の譜面スクロール速度[nPlayer] + 1) / 2 / 5.0);
|
||||
@ -2995,8 +2995,8 @@ namespace OpenTaiko {
|
||||
if (time <= 0) {
|
||||
if (this.e指定時刻からChipのJUDGEを返す(n現在時刻ms, pChip, nPlayer) == ENoteJudge.Miss) {
|
||||
pChip.IsMissed = true;
|
||||
pChip.eNoteState = ENoteState.bad;
|
||||
this.tチップのヒット処理(n現在時刻ms, pChip, EInstrumentPad.TAIKO, false, 0, nPlayer);
|
||||
pChip.eNoteState = ENoteState.Bad;
|
||||
this.tチップのヒット処理(n現在時刻ms, pChip, EInstrumentPad.Taiko, false, 0, nPlayer);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -3021,7 +3021,7 @@ namespace OpenTaiko {
|
||||
//( ( pChip.n発声時刻ms <= CSound管理.rc演奏用タイマ.n現在時刻ms && pChip.nノーツ終了時刻ms >= CSound管理.rc演奏用タイマ.n現在時刻ms ) ) )
|
||||
{
|
||||
if (bAutoPlay)
|
||||
this.tチップのヒット処理(n現在時刻ms, cChipCurrentlyInProcess, EInstrumentPad.TAIKO, false, 0, nPlayer);
|
||||
this.tチップのヒット処理(n現在時刻ms, cChipCurrentlyInProcess, EInstrumentPad.Taiko, false, 0, nPlayer);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -3036,7 +3036,7 @@ namespace OpenTaiko {
|
||||
case 0x01: // BGM
|
||||
if (!pChip.bHit && time < 0) {
|
||||
pChip.bHit = true;
|
||||
if (configIni.bBGM音を発声する) {
|
||||
if (configIni.bBGMPlayVoiceSound) {
|
||||
dTX.tチップの再生(pChip, SoundManager.PlayTimer.PrevResetTime + (long)(pChip.n発声時刻ms / OpenTaiko.ConfigIni.SongPlaybackSpeed));
|
||||
}
|
||||
}
|
||||
@ -3187,7 +3187,7 @@ namespace OpenTaiko {
|
||||
chip現在処理中の連打チップ[nPlayer] = null;
|
||||
|
||||
}
|
||||
this.eRollState = E連打State.none;
|
||||
this.eRollState = ERollState.None;
|
||||
}
|
||||
if (pChip.n描画優先度 <= 0)
|
||||
this.t進行描画_チップ_Taiko連打(configIni, ref dTX, ref pChip, nPlayer);
|
||||
@ -4171,11 +4171,11 @@ namespace OpenTaiko {
|
||||
|
||||
if (!pChip.bHit) {
|
||||
bool bRollChip = NotesManager.IsGenericRoll(pChip);// pChip.nチャンネル番号 >= 0x15 && pChip.nチャンネル番号 <= 0x19;
|
||||
if (bRollChip && ((pChip.e楽器パート != EInstrumentPad.UNKNOWN))) {
|
||||
if (bRollChip && ((pChip.e楽器パート != EInstrumentPad.Unknown))) {
|
||||
int instIndex = (int)pChip.e楽器パート;
|
||||
if (pChip.nバーからの距離dot[instIndex] < -40) {
|
||||
if (this.e指定時刻からChipのJUDGEを返す(n現在時刻ms, pChip, nPlayer) == ENoteJudge.Miss) {
|
||||
this.tチップのヒット処理(n現在時刻ms, pChip, EInstrumentPad.TAIKO, false, 0, nPlayer);
|
||||
this.tチップのヒット処理(n現在時刻ms, pChip, EInstrumentPad.Taiko, false, 0, nPlayer);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -4229,7 +4229,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
public void tBranchJudge(CDTX.CChip pChip, CBRANCHSCORE cBRANCHSCORE, int nスコア, int n連打数, int n良, int n可, int n不可, int nPlayer) {
|
||||
// Branch check score here
|
||||
// Branch check score here
|
||||
|
||||
if (this.b強制的に分岐させた[nPlayer]) return;
|
||||
|
||||
@ -4363,7 +4363,7 @@ namespace OpenTaiko {
|
||||
dTX.listChip[A].b可視 = false;
|
||||
}
|
||||
//共通なため分岐させない.
|
||||
dTX.listChip[A].eNoteState = ENoteState.none;
|
||||
dTX.listChip[A].eNoteState = ENoteState.None;
|
||||
|
||||
if (dTX.listChip[A].IsEndedBranching && (dTX.listChip[A].nコース == CDTX.ECourse.eNormal)) {
|
||||
if (bRollOnlyFlag)//共通譜面時かつ、連打譜面だったら可視化
|
||||
@ -4428,7 +4428,7 @@ namespace OpenTaiko {
|
||||
|
||||
public void t再読込() {
|
||||
OpenTaiko.DTX.t全チップの再生停止とミキサーからの削除();
|
||||
this.eフェードアウト完了時の戻り値 = E演奏画面の戻り値.再読込_再演奏;
|
||||
this.eフェードアウト完了時の戻り値 = EGameplayScreenReturnValue.ReloadAndReplay;
|
||||
base.ePhaseID = CStage.EPhase.Game_Reload;
|
||||
this.bPAUSE = false;
|
||||
}
|
||||
@ -4610,7 +4610,7 @@ namespace OpenTaiko {
|
||||
dTX.listChip[i].b可視 = true;
|
||||
dTX.listChip[i].IsHitted = false;
|
||||
dTX.listChip[i].IsMissed = false;
|
||||
dTX.listChip[i].eNoteState = ENoteState.none;
|
||||
dTX.listChip[i].eNoteState = ENoteState.None;
|
||||
dTX.listChip[i].nProcessTime = 0;
|
||||
dTX.listChip[i].nRollCount = 0;
|
||||
dTX.listChip[i].nRollCount = 0;
|
||||
@ -4672,7 +4672,7 @@ namespace OpenTaiko {
|
||||
bool b = dTX.listWAV.TryGetValue(pChip.n整数値_内部番号, out wc);
|
||||
if (!b) continue;
|
||||
|
||||
if ((wc.bIsBGMSound && OpenTaiko.ConfigIni.bBGM音を発声する) || (!wc.bIsBGMSound)) {
|
||||
if ((wc.bIsBGMSound && OpenTaiko.ConfigIni.bBGMPlayVoiceSound) || (!wc.bIsBGMSound)) {
|
||||
OpenTaiko.DTX.tチップの再生(pChip, (long)(SoundManager.PlayTimer.PrevResetTime) + (long)(pChip.n発声時刻ms / OpenTaiko.ConfigIni.SongPlaybackSpeed));
|
||||
#region [ PAUSEする ]
|
||||
int j = wc.n現在再生中のサウンド番号;
|
||||
@ -4705,7 +4705,7 @@ namespace OpenTaiko {
|
||||
#endregion
|
||||
#region [ PAUSEしていたサウンドを一斉に再生再開する(ただしタイマを止めているので、ここではまだ再生開始しない) ]
|
||||
|
||||
if (!(OpenTaiko.ConfigIni.b演奏速度が一倍速であるとき以外音声を再生しない && OpenTaiko.ConfigIni.nSongSpeed != 20))
|
||||
if (!(OpenTaiko.ConfigIni.bNoAudioIfNot1xSpeed && OpenTaiko.ConfigIni.nSongSpeed != 20))
|
||||
foreach (CSound cs in pausedCSound) {
|
||||
cs.tPlaySound();
|
||||
}
|
||||
@ -4726,7 +4726,7 @@ namespace OpenTaiko {
|
||||
public void t演奏中止() {
|
||||
this.actFO.tフェードアウト開始();
|
||||
base.ePhaseID = CStage.EPhase.Common_FADEOUT;
|
||||
this.eフェードアウト完了時の戻り値 = E演奏画面の戻り値.演奏中断;
|
||||
this.eフェードアウト完了時の戻り値 = EGameplayScreenReturnValue.PerformanceInterrupted;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -4778,7 +4778,7 @@ namespace OpenTaiko {
|
||||
|
||||
protected abstract void t進行描画_演奏情報();
|
||||
protected void t進行描画_演奏情報(int x, int y) {
|
||||
if (!OpenTaiko.ConfigIni.b演奏情報を表示しない) {
|
||||
if (!OpenTaiko.ConfigIni.bDoNotDisplayPerformanceInfos) {
|
||||
this.actPlayInfo.t進行描画(x, y);
|
||||
}
|
||||
}
|
||||
@ -4789,7 +4789,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
protected void t進行描画_判定文字列1_通常位置指定の場合() {
|
||||
if (((E判定文字表示位置)OpenTaiko.ConfigIni.判定文字表示位置.Drums) != E判定文字表示位置.コンボ下) // 判定ライン上または横
|
||||
if (((EJudgeTextDisplayPosition)OpenTaiko.ConfigIni.JudgeTextDisplayPosition.Drums) != EJudgeTextDisplayPosition.BelowCombo) // 判定ライン上または横
|
||||
{
|
||||
this.actJudgeString.Draw();
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ namespace OpenTaiko {
|
||||
|
||||
public void tFadeIn(int player) {
|
||||
//this.ct上背景クリアインタイマー[player] = new CCounter(0, 100, 2, TJAPlayer3.Timer);
|
||||
this.eFadeMode = EFIFOモード.フェードイン;
|
||||
this.eFadeMode = EFIFOMode.FadeIn;
|
||||
}
|
||||
|
||||
//public void tFadeOut(int player)
|
||||
@ -600,7 +600,7 @@ namespace OpenTaiko {
|
||||
private bool IsUpNotFound;
|
||||
private bool IsDownNotFound;
|
||||
|
||||
private EFIFOモード eFadeMode;
|
||||
private EFIFOMode eFadeMode;
|
||||
//-----------------
|
||||
#endregion
|
||||
}
|
||||
|
@ -4,29 +4,10 @@ using FDK;
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class CActImplGauge : CAct演奏ゲージ共通 {
|
||||
// プロパティ
|
||||
|
||||
// public double db現在のゲージ値
|
||||
// {
|
||||
// get
|
||||
// {
|
||||
// return this.dbゲージ値;
|
||||
// }
|
||||
// set
|
||||
// {
|
||||
// this.dbゲージ値 = value;
|
||||
// if( this.dbゲージ値 > 1.0 )
|
||||
// {
|
||||
// this.dbゲージ値 = 1.0;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
// コンストラクタ
|
||||
/// <summary>
|
||||
/// ゲージの描画クラス。ドラム側。
|
||||
///
|
||||
///
|
||||
/// 課題
|
||||
/// _ゲージの実装。
|
||||
/// _Danger時にゲージの色が変わる演出の実装。
|
||||
@ -127,14 +108,14 @@ namespace OpenTaiko {
|
||||
/*
|
||||
|
||||
新虹ゲージの仕様 2018/08/10 ろみゅ~?
|
||||
|
||||
|
||||
フェードで動く虹ゲージが、ある程度強化できたので放出。
|
||||
透明度255の虹ベースを描画し、その上から透明度可変式の虹ゲージを描画する。
|
||||
ゲージのパターン枚数は、読み込み枚数によって決定する。
|
||||
ゲージ描画の切り替え速度は、タイマーの値をSkinConfigで指定して行う(初期値50,1にするとエラーを吐く模様)。進行速度は1ms、高フレームレートでの滑らかさを重視。
|
||||
虹ゲージの透明度調整値は、「255/パターン数」で算出する。
|
||||
こんな簡単なことを考えるのに30分(60f/s換算で108000f)を費やす。
|
||||
|
||||
|
||||
*/
|
||||
|
||||
// No gauge if tower
|
||||
|
@ -203,7 +203,7 @@ namespace OpenTaiko {
|
||||
OpenTaiko.Tx.Taiko_Base[(int)_gt]?.t2D描画(taiko_x, taiko_y);
|
||||
|
||||
// Taiko hits
|
||||
if (_gt == EGameType.TAIKO) {
|
||||
if (_gt == EGameType.Taiko) {
|
||||
if (OpenTaiko.Tx.Taiko_Don_Left != null && OpenTaiko.Tx.Taiko_Don_Right != null && OpenTaiko.Tx.Taiko_Ka_Left != null && OpenTaiko.Tx.Taiko_Ka_Right != null) {
|
||||
OpenTaiko.Tx.Taiko_Ka_Left.Opacity = getMTaikoOpacity(this.stパッド状態[playerShift].n明るさ);
|
||||
OpenTaiko.Tx.Taiko_Ka_Right.Opacity = getMTaikoOpacity(this.stパッド状態[1 + playerShift].n明るさ);
|
||||
@ -215,7 +215,7 @@ namespace OpenTaiko {
|
||||
OpenTaiko.Tx.Taiko_Don_Left.t2D描画(taiko_x, taiko_y, new Rectangle(0, 0, OpenTaiko.Tx.Taiko_Ka_Right.szTextureSize.Width / 2, OpenTaiko.Tx.Taiko_Ka_Right.szTextureSize.Height));
|
||||
OpenTaiko.Tx.Taiko_Don_Right.t2D描画(taiko_x + OpenTaiko.Tx.Taiko_Ka_Right.szTextureSize.Width / 2, taiko_y, new Rectangle(OpenTaiko.Tx.Taiko_Ka_Right.szTextureSize.Width / 2, 0, OpenTaiko.Tx.Taiko_Ka_Right.szTextureSize.Width / 2, OpenTaiko.Tx.Taiko_Ka_Right.szTextureSize.Height));
|
||||
}
|
||||
} else if (_gt == EGameType.KONGA) {
|
||||
} else if (_gt == EGameType.Konga) {
|
||||
if (OpenTaiko.Tx.Taiko_Konga_Clap != null && OpenTaiko.Tx.Taiko_Konga_Don != null && OpenTaiko.Tx.Taiko_Konga_Ka != null) {
|
||||
OpenTaiko.Tx.Taiko_Konga_Clap.Opacity = getMTaikoOpacity(this.stパッド状態[4 + playerShift].n明るさ);
|
||||
OpenTaiko.Tx.Taiko_Konga_Don.Opacity = getMTaikoOpacity(Math.Max(this.stパッド状態[2 + playerShift].n明るさ, this.stパッド状態[3 + playerShift].n明るさ));
|
||||
@ -403,7 +403,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
break;
|
||||
case 0x14: {
|
||||
if (_gt == EGameType.KONGA) {
|
||||
if (_gt == EGameType.Konga) {
|
||||
this.stパッド状態[4 + playerShift].n明るさ = 8;
|
||||
} else {
|
||||
this.stパッド状態[nHand + playerShift].n明るさ = 8;
|
||||
@ -425,7 +425,7 @@ namespace OpenTaiko {
|
||||
|
||||
case 0x13:
|
||||
case 0x1A: {
|
||||
if (_gt == EGameType.KONGA) {
|
||||
if (_gt == EGameType.Konga) {
|
||||
this.stパッド状態[0 + playerShift].n明るさ = 8;
|
||||
this.stパッド状態[2 + playerShift].n明るさ = 8;
|
||||
} else {
|
||||
@ -442,7 +442,7 @@ namespace OpenTaiko {
|
||||
|
||||
case 0x14:
|
||||
case 0x1B: {
|
||||
if (_gt == EGameType.KONGA) {
|
||||
if (_gt == EGameType.Konga) {
|
||||
this.stパッド状態[4 + playerShift].n明るさ = 8;
|
||||
} else {
|
||||
this.stパッド状態[0 + playerShift].n明るさ = 8;
|
||||
|
@ -119,7 +119,7 @@ namespace OpenTaiko {
|
||||
|
||||
public void t叩ききりまショー_判定項目と難易度を決める() {
|
||||
//まず通常、激辛時でわける。
|
||||
if (OpenTaiko.ConfigIni.eGameMode == EGame.完走叩ききりまショー) {
|
||||
if (OpenTaiko.ConfigIni.eGameMode == EGame.Survival) {
|
||||
#region[ 通常 ]
|
||||
//通常の査定
|
||||
// 精度 > 最小ズレ > コンボ > 最大ズレ > ミス
|
||||
@ -182,7 +182,7 @@ namespace OpenTaiko {
|
||||
new STボーナス( 70.0, -0.5 )
|
||||
};
|
||||
#endregion
|
||||
} else if (OpenTaiko.ConfigIni.eGameMode == EGame.完走叩ききりまショー激辛) {
|
||||
} else if (OpenTaiko.ConfigIni.eGameMode == EGame.SurvivalHard) {
|
||||
#region[ 激辛 ]
|
||||
//激ムズの査定
|
||||
// 最大ズレ > 精度 > コンボ > 最小ズレ > ミス
|
||||
@ -373,7 +373,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
public override int Draw() {
|
||||
if (OpenTaiko.ConfigIni.eGameMode == EGame.完走叩ききりまショー || OpenTaiko.ConfigIni.eGameMode == EGame.完走叩ききりまショー激辛) {
|
||||
if (OpenTaiko.ConfigIni.eGameMode == EGame.Survival || OpenTaiko.ConfigIni.eGameMode == EGame.SurvivalHard) {
|
||||
//if( this.st叩ききりまショー.b最初のチップが叩かれた == true )//&&
|
||||
//CDTXMania.stage演奏ドラム画面.r検索範囲内にチップがあるか調べる( CSound管理.rc演奏用タイマ.n現在時刻ms, 0, 3000 ) )
|
||||
//this.st叩ききりまショー.ct残り時間.t進行();
|
||||
|
@ -407,7 +407,7 @@ namespace OpenTaiko {
|
||||
base.IsFirstDraw = false;
|
||||
}
|
||||
#endregion
|
||||
if (((OpenTaiko.ConfigIni.nRisky != 0 && this.actGauge.IsFailed(EInstrumentPad.TAIKO))
|
||||
if (((OpenTaiko.ConfigIni.nRisky != 0 && this.actGauge.IsFailed(EInstrumentPad.Taiko))
|
||||
|| this.actGame.st叩ききりまショー.ct残り時間.IsEnded
|
||||
|| (OpenTaiko.stageSongSelect.nChoosenSongDifficulty[0] == (int)Difficulty.Tower && CFloorManagement.CurrentNumberOfLives <= 0))
|
||||
&& (base.ePhaseID == CStage.EPhase.Common_NORMAL)) {
|
||||
@ -456,7 +456,7 @@ namespace OpenTaiko {
|
||||
if (!BGA_Hidden && OpenTaiko.ConfigIni.ShowMob && !OpenTaiko.ConfigIni.bTokkunMode)
|
||||
this.actMob.Draw();
|
||||
|
||||
if (OpenTaiko.ConfigIni.eGameMode != EGame.OFF)
|
||||
if (OpenTaiko.ConfigIni.eGameMode != EGame.Off)
|
||||
this.actGame.Draw();
|
||||
|
||||
this.t進行描画_譜面スクロール速度();
|
||||
@ -470,7 +470,7 @@ namespace OpenTaiko {
|
||||
//this.t進行描画_レーン();
|
||||
//this.t進行描画_レーンフラッシュD();
|
||||
|
||||
if ((OpenTaiko.ConfigIni.eClipDispType == EClipDispType.ウィンドウのみ || OpenTaiko.ConfigIni.eClipDispType == EClipDispType.両方) && OpenTaiko.ConfigIni.nPlayerCount == 1)
|
||||
if ((OpenTaiko.ConfigIni.eClipDispType == EClipDispType.WindowOnly || OpenTaiko.ConfigIni.eClipDispType == EClipDispType.Both) && OpenTaiko.ConfigIni.nPlayerCount == 1)
|
||||
this.actAVI.t窓表示();
|
||||
|
||||
if (!OpenTaiko.ConfigIni.bNoInfo && !OpenTaiko.ConfigIni.bTokkunMode)
|
||||
@ -484,7 +484,7 @@ namespace OpenTaiko {
|
||||
|
||||
for (int i = 0; i < OpenTaiko.ConfigIni.nPlayerCount; i++) {
|
||||
// bIsFinishedPlaying = this.t進行描画_チップ(E楽器パート.DRUMS, i);
|
||||
bool btmp = this.t進行描画_チップ(EInstrumentPad.DRUMS, i);
|
||||
bool btmp = this.t進行描画_チップ(EInstrumentPad.Drums, i);
|
||||
if (btmp == true)
|
||||
ifp[i] = true;
|
||||
|
||||
@ -494,7 +494,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
#endif
|
||||
|
||||
this.t進行描画_チップ_連打(EInstrumentPad.DRUMS, i);
|
||||
this.t進行描画_チップ_連打(EInstrumentPad.Drums, i);
|
||||
}
|
||||
|
||||
this.actMtaiko.Draw();
|
||||
@ -607,7 +607,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
}
|
||||
} else if (bIsFinishedEndAnime && base.ePhaseID == EPhase.Game_EndStage) {
|
||||
this.eフェードアウト完了時の戻り値 = E演奏画面の戻り値.ステージクリア;
|
||||
this.eフェードアウト完了時の戻り値 = EGameplayScreenReturnValue.StageCleared;
|
||||
base.ePhaseID = CStage.EPhase.Game_STAGE_CLEAR_FadeOut;
|
||||
this.actFOClear.tフェードアウト開始();
|
||||
}
|
||||
@ -659,7 +659,7 @@ namespace OpenTaiko {
|
||||
{
|
||||
EPad.HH, EPad.SD, EPad.BD, EPad.HT,
|
||||
EPad.LT, EPad.CY, EPad.FT, EPad.HHO,
|
||||
EPad.RD, EPad.UNKNOWN, EPad.UNKNOWN, EPad.LC,
|
||||
EPad.RD, EPad.Unknown, EPad.Unknown, EPad.LC,
|
||||
EPad.LP, EPad.LBD
|
||||
};
|
||||
private int[] nチャンネルtoX座標 = new int[] { 370, 470, 582, 527, 645, 748, 694, 373, 815, 298, 419, 419 };
|
||||
@ -690,7 +690,7 @@ namespace OpenTaiko {
|
||||
//-----------------
|
||||
|
||||
protected override ENoteJudge tチップのヒット処理(long nHitTime, CDTX.CChip pChip, bool bCorrectLane) {
|
||||
ENoteJudge eJudgeResult = tチップのヒット処理(nHitTime, pChip, EInstrumentPad.DRUMS, bCorrectLane, 0);
|
||||
ENoteJudge eJudgeResult = tチップのヒット処理(nHitTime, pChip, EInstrumentPad.Drums, bCorrectLane, 0);
|
||||
// #24074 2011.01.23 add ikanick
|
||||
if (pChip.nコース == this.n現在のコース[0] && NotesManager.IsMissableNote(pChip) && pChip.bShow == true && eJudgeResult != ENoteJudge.Auto)
|
||||
this.actGame.t叩ききりまショー_判定から各数値を増加させる(eJudgeResult, (int)(nHitTime - pChip.n発声時刻ms));
|
||||
@ -698,10 +698,10 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
protected override void tチップのヒット処理_BadならびにTight時のMiss(CDTX.ECourse eCourse, EInstrumentPad part) {
|
||||
this.tチップのヒット処理_BadならびにTight時のMiss(eCourse, part, 0, EInstrumentPad.DRUMS);
|
||||
this.tチップのヒット処理_BadならびにTight時のMiss(eCourse, part, 0, EInstrumentPad.Drums);
|
||||
}
|
||||
protected override void tチップのヒット処理_BadならびにTight時のMiss(CDTX.ECourse eCourse, EInstrumentPad part, int nLane) {
|
||||
this.tチップのヒット処理_BadならびにTight時のMiss(eCourse, part, nLane, EInstrumentPad.DRUMS);
|
||||
this.tチップのヒット処理_BadならびにTight時のMiss(eCourse, part, nLane, EInstrumentPad.Drums);
|
||||
}
|
||||
|
||||
private int ChannelNumToFlyNoteNum(CDTX.CChip pChip, int nPlayer, bool b両手入力 = false, int nInput = 0) {
|
||||
@ -721,7 +721,7 @@ namespace OpenTaiko {
|
||||
break;
|
||||
case 0x14:
|
||||
case 0x1B:
|
||||
nFly = (b両手入力 || _gt == EGameType.KONGA) ? 4 : 2;
|
||||
nFly = (b両手入力 || _gt == EGameType.Konga) ? 4 : 2;
|
||||
break;
|
||||
case 0x1F:
|
||||
nFly = nInput == 0 ? 1 : 2;
|
||||
@ -768,11 +768,11 @@ namespace OpenTaiko {
|
||||
if (b両手入力)
|
||||
nInput = 3;
|
||||
break;
|
||||
case EPad.CLAP:
|
||||
case EPad.CLAP2P:
|
||||
case EPad.CLAP3P:
|
||||
case EPad.CLAP4P:
|
||||
case EPad.CLAP5P:
|
||||
case EPad.Clap:
|
||||
case EPad.Clap2P:
|
||||
case EPad.Clap3P:
|
||||
case EPad.Clap4P:
|
||||
case EPad.Clap5P:
|
||||
nInput = 4;
|
||||
break;
|
||||
}
|
||||
@ -783,7 +783,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
if (NotesManager.IsGenericRoll(pChip) && !NotesManager.IsRollEnd(pChip)) {
|
||||
this.tチップのヒット処理(nHitTime, pChip, EInstrumentPad.TAIKO, true, nInput, nPlayer);
|
||||
this.tチップのヒット処理(nHitTime, pChip, EInstrumentPad.Taiko, true, nInput, nPlayer);
|
||||
return true;
|
||||
} else if (!NotesManager.IsHittableNote(pChip)) {
|
||||
return false;
|
||||
@ -799,7 +799,7 @@ namespace OpenTaiko {
|
||||
return false;
|
||||
}
|
||||
|
||||
this.tチップのヒット処理(nHitTime, pChip, EInstrumentPad.TAIKO, true, nInput, nPlayer);
|
||||
this.tチップのヒット処理(nHitTime, pChip, EInstrumentPad.Taiko, true, nInput, nPlayer);
|
||||
|
||||
if ((e判定 != ENoteJudge.Poor) && (e判定 != ENoteJudge.Miss)) {
|
||||
OpenTaiko.stage演奏ドラム画面.actLaneTaiko.Start(pChip.nチャンネル番号, e判定, b両手入力, nPlayer);
|
||||
@ -848,15 +848,15 @@ namespace OpenTaiko {
|
||||
// Input adjust deprecated
|
||||
var nInputAdjustTimeMs = 0; // TJAPlayer3.ConfigIni.nInputAdjustTimeMs;
|
||||
|
||||
for (int nPad = 0; nPad < (int)EPad.MAX; nPad++) // #27029 2012.1.4 from: <10 to <=10; Eパッドの要素が1つ(HP)増えたため。
|
||||
for (int nPad = 0; nPad < (int)EPad.Max; nPad++) // #27029 2012.1.4 from: <10 to <=10; Eパッドの要素が1つ(HP)増えたため。
|
||||
// 2012.1.5 yyagi: (int)Eパッド.MAX に変更。Eパッドの要素数への依存を無くすため。
|
||||
{
|
||||
List<STInputEvent> listInputEvent = OpenTaiko.Pad.GetEvents(EInstrumentPad.DRUMS, (EPad)nPad);
|
||||
List<STInputEvent> listInputEvent = OpenTaiko.Pad.GetEvents(EInstrumentPad.Drums, (EPad)nPad);
|
||||
|
||||
if ((listInputEvent == null) || (listInputEvent.Count == 0))
|
||||
continue;
|
||||
|
||||
this.t入力メソッド記憶(EInstrumentPad.DRUMS);
|
||||
this.t入力メソッド記憶(EInstrumentPad.Drums);
|
||||
|
||||
foreach (STInputEvent inputEvent in listInputEvent) {
|
||||
if (!inputEvent.Pressed)
|
||||
@ -1098,8 +1098,8 @@ namespace OpenTaiko {
|
||||
this.soundBlue[4]?.PlayStart();
|
||||
break;
|
||||
// Clap
|
||||
case (int)EPad.CLAP:
|
||||
if (OpenTaiko.ConfigIni.nGameType[OpenTaiko.GetActualPlayer(0)] == EGameType.KONGA) {
|
||||
case (int)EPad.Clap:
|
||||
if (OpenTaiko.ConfigIni.nGameType[OpenTaiko.GetActualPlayer(0)] == EGameType.Konga) {
|
||||
nLane = (int)PlayerLane.FlashType.Clap;
|
||||
nHand = 0;
|
||||
nChannel = 0x14;
|
||||
@ -1110,8 +1110,8 @@ namespace OpenTaiko {
|
||||
nLane = (int)PlayerLane.FlashType.Total;
|
||||
}
|
||||
break;
|
||||
case (int)EPad.CLAP2P:
|
||||
if (OpenTaiko.ConfigIni.nGameType[OpenTaiko.GetActualPlayer(1)] == EGameType.KONGA) {
|
||||
case (int)EPad.Clap2P:
|
||||
if (OpenTaiko.ConfigIni.nGameType[OpenTaiko.GetActualPlayer(1)] == EGameType.Konga) {
|
||||
nLane = (int)PlayerLane.FlashType.Clap;
|
||||
nHand = 0;
|
||||
nChannel = 0x14;
|
||||
@ -1122,8 +1122,8 @@ namespace OpenTaiko {
|
||||
nLane = (int)PlayerLane.FlashType.Total;
|
||||
}
|
||||
break;
|
||||
case (int)EPad.CLAP3P:
|
||||
if (OpenTaiko.ConfigIni.nGameType[OpenTaiko.GetActualPlayer(1)] == EGameType.KONGA) {
|
||||
case (int)EPad.Clap3P:
|
||||
if (OpenTaiko.ConfigIni.nGameType[OpenTaiko.GetActualPlayer(1)] == EGameType.Konga) {
|
||||
nLane = (int)PlayerLane.FlashType.Clap;
|
||||
nHand = 0;
|
||||
nChannel = 0x14;
|
||||
@ -1134,8 +1134,8 @@ namespace OpenTaiko {
|
||||
nLane = (int)PlayerLane.FlashType.Total;
|
||||
}
|
||||
break;
|
||||
case (int)EPad.CLAP4P:
|
||||
if (OpenTaiko.ConfigIni.nGameType[OpenTaiko.GetActualPlayer(1)] == EGameType.KONGA) {
|
||||
case (int)EPad.Clap4P:
|
||||
if (OpenTaiko.ConfigIni.nGameType[OpenTaiko.GetActualPlayer(1)] == EGameType.Konga) {
|
||||
nLane = (int)PlayerLane.FlashType.Clap;
|
||||
nHand = 0;
|
||||
nChannel = 0x14;
|
||||
@ -1146,8 +1146,8 @@ namespace OpenTaiko {
|
||||
nLane = (int)PlayerLane.FlashType.Total;
|
||||
}
|
||||
break;
|
||||
case (int)EPad.CLAP5P:
|
||||
if (OpenTaiko.ConfigIni.nGameType[OpenTaiko.GetActualPlayer(1)] == EGameType.KONGA) {
|
||||
case (int)EPad.Clap5P:
|
||||
if (OpenTaiko.ConfigIni.nGameType[OpenTaiko.GetActualPlayer(1)] == EGameType.Konga) {
|
||||
nLane = (int)PlayerLane.FlashType.Clap;
|
||||
nHand = 0;
|
||||
nChannel = 0x14;
|
||||
@ -1271,14 +1271,14 @@ namespace OpenTaiko {
|
||||
|
||||
bool _timeB110 = time <= 110;
|
||||
|
||||
if (chipNoHit.eNoteState == ENoteState.none) {
|
||||
if (chipNoHit.eNoteState == ENoteState.None) {
|
||||
if (_timeB110) {
|
||||
chipNoHit.nProcessTime = (int)(SoundManager.PlayTimer.NowTimeMs * divided_songspeed);
|
||||
chipNoHit.eNoteState = ENoteState.wait;
|
||||
chipNoHit.eNoteState = ENoteState.Wait;
|
||||
//this.nWaitButton = waitInstr;
|
||||
this.nStoredHit[nUsePlayer] = (int)_pad;
|
||||
}
|
||||
} else if (chipNoHit.eNoteState == ENoteState.wait) {
|
||||
} else if (chipNoHit.eNoteState == ENoteState.Wait) {
|
||||
|
||||
bool _isExpected = NotesManager.IsExpectedPad(this.nStoredHit[nUsePlayer], (int)_pad, chipNoHit, _gt);
|
||||
|
||||
@ -1316,15 +1316,15 @@ namespace OpenTaiko {
|
||||
&& !NotesManager.IsRollEnd(chipNoHit)) {
|
||||
bool _isBalloon = NotesManager.IsGenericBalloon(chipNoHit);
|
||||
bool _isKusudama = NotesManager.IsKusudama(chipNoHit);
|
||||
bool _isKongaRedRoll = (NotesManager.IsSmallRoll(chipNoHit) || NotesManager.IsBigRoll(chipNoHit)) || _gt == EGameType.TAIKO;
|
||||
bool _isKongaRedRoll = (NotesManager.IsSmallRoll(chipNoHit) || NotesManager.IsBigRoll(chipNoHit)) || _gt == EGameType.Taiko;
|
||||
|
||||
bool _isRedOnly = _isBalloon || _isKongaRedRoll || _isKusudama;
|
||||
|
||||
// To be added later
|
||||
bool _isKongaPinkRoll = NotesManager.IsBigRoll(chipNoHit) && _gt == EGameType.KONGA;
|
||||
bool _isKongaPinkRoll = NotesManager.IsBigRoll(chipNoHit) && _gt == EGameType.Konga;
|
||||
|
||||
// To improve (array of functions ?)
|
||||
bool _isBlueOnly = ((NotesManager.IsYellowRoll(chipNoHit) || NotesManager.IsBigRoll(chipNoHit)) || _gt == EGameType.TAIKO)
|
||||
bool _isBlueOnly = ((NotesManager.IsYellowRoll(chipNoHit) || NotesManager.IsBigRoll(chipNoHit)) || _gt == EGameType.Taiko)
|
||||
&& !_isBalloon && !_isKusudama;
|
||||
|
||||
if ((_isRedOnly && !_isBlue) || (_isBlueOnly && _isBlue))
|
||||
@ -1337,11 +1337,11 @@ namespace OpenTaiko {
|
||||
|
||||
}
|
||||
|
||||
case EPad.CLAP:
|
||||
case EPad.CLAP2P:
|
||||
case EPad.CLAP3P:
|
||||
case EPad.CLAP4P:
|
||||
case EPad.CLAP5P: {
|
||||
case EPad.Clap:
|
||||
case EPad.Clap2P:
|
||||
case EPad.Clap3P:
|
||||
case EPad.Clap4P:
|
||||
case EPad.Clap5P: {
|
||||
var _pad = (EPad)nPad;
|
||||
|
||||
// Process konga clap
|
||||
@ -1354,7 +1354,7 @@ namespace OpenTaiko {
|
||||
if (e判定 != ENoteJudge.Miss
|
||||
&& NotesManager.IsGenericRoll(chipNoHit)
|
||||
&& !NotesManager.IsRollEnd(chipNoHit)) {
|
||||
bool _isKongaClapRoll = NotesManager.IsClapRoll(chipNoHit) && _gt == EGameType.KONGA;
|
||||
bool _isKongaClapRoll = NotesManager.IsClapRoll(chipNoHit) && _gt == EGameType.Konga;
|
||||
|
||||
if (_isKongaClapRoll)
|
||||
this.tドラムヒット処理(nTime, _pad, chipNoHit, false, nUsePlayer);
|
||||
@ -1648,7 +1648,7 @@ namespace OpenTaiko {
|
||||
int pad = nPad; // 以下、nPad の代わりに pad を用いる。(成りすまし用)
|
||||
// BAD or TIGHT 時の処理。
|
||||
if (OpenTaiko.ConfigIni.bTight && !b連打中[nUsePlayer]) // 18/8/13 - 連打時にこれが発動すると困る!!! (AioiLight)
|
||||
this.tチップのヒット処理_BadならびにTight時のMiss(chipNoHit.nコース, EInstrumentPad.DRUMS, 0, EInstrumentPad.TAIKO);
|
||||
this.tチップのヒット処理_BadならびにTight時のMiss(chipNoHit.nコース, EInstrumentPad.Drums, 0, EInstrumentPad.Taiko);
|
||||
//-----------------------------
|
||||
#endregion
|
||||
}
|
||||
@ -1689,7 +1689,7 @@ namespace OpenTaiko {
|
||||
//this.actChipFireTaiko.Start(pChip.nチャンネル番号 < 0x1A ? (pChip.nチャンネル番号 - 0x10) : (pChip.nチャンネル番号 - 0x17), nPlayer);
|
||||
if (pChip.nチャンネル番号 == 0x12 || pChip.nチャンネル番号 == 0x14 || pChip.nチャンネル番号 == 0x1B) nLane = (int)PlayerLane.FlashType.Blue;
|
||||
|
||||
if (pChip.nチャンネル番号 == 0x14 && _gt == EGameType.KONGA) nLane = (int)PlayerLane.FlashType.Clap;
|
||||
if (pChip.nチャンネル番号 == 0x14 && _gt == EGameType.Konga) nLane = (int)PlayerLane.FlashType.Clap;
|
||||
|
||||
OpenTaiko.stage演奏ドラム画面.actTaikoLaneFlash.PlayerLane[nPlayer].Start((PlayerLane.FlashType)nLane);
|
||||
OpenTaiko.stage演奏ドラム画面.actTaikoLaneFlash.PlayerLane[nPlayer].Start(PlayerLane.FlashType.Hit);
|
||||
@ -1698,7 +1698,7 @@ namespace OpenTaiko {
|
||||
|
||||
int n大音符 = (pChip.nチャンネル番号 == 0x11 || pChip.nチャンネル番号 == 0x12 ? 2 : 0);
|
||||
|
||||
this.tチップのヒット処理(pChip.n発声時刻ms, pChip, EInstrumentPad.TAIKO, true, nLane + n大音符, nPlayer, false);
|
||||
this.tチップのヒット処理(pChip.n発声時刻ms, pChip, EInstrumentPad.Taiko, true, nLane + n大音符, nPlayer, false);
|
||||
this.tサウンド再生(pChip, nPlayer);
|
||||
return;
|
||||
}
|
||||
@ -1768,13 +1768,13 @@ namespace OpenTaiko {
|
||||
#endregion
|
||||
|
||||
#region[ 両手待ち時 ]
|
||||
if (pChip.eNoteState == ENoteState.wait) {
|
||||
if (pChip.eNoteState == ENoteState.Wait) {
|
||||
x = (NoteOriginX[nPlayer]);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region[ HIDSUD & STEALTH ]
|
||||
if (OpenTaiko.ConfigIni.eSTEALTH[OpenTaiko.GetActualPlayer(nPlayer)] == EStealthMode.STEALTH || OpenTaiko.stage演奏ドラム画面.bCustomDoron) {
|
||||
if (OpenTaiko.ConfigIni.eSTEALTH[OpenTaiko.GetActualPlayer(nPlayer)] == EStealthMode.Stealth || OpenTaiko.stage演奏ドラム画面.bCustomDoron) {
|
||||
pChip.bShow = false;
|
||||
}
|
||||
#endregion
|
||||
@ -1783,7 +1783,7 @@ namespace OpenTaiko {
|
||||
long time = pChip.n発声時刻ms - __dbt;
|
||||
|
||||
if (pChip.dbSCROLL_Y != 0.0) {
|
||||
var dbSCROLL = pChip.eScrollMode == EScrollMode.BMSCROLL ? 1.0 : pChip.dbSCROLL;
|
||||
var dbSCROLL = pChip.eScrollMode == EScrollMode.BMScroll ? 1.0 : pChip.dbSCROLL;
|
||||
|
||||
y = NoteOriginY[nPlayer];
|
||||
|
||||
@ -1896,7 +1896,7 @@ namespace OpenTaiko {
|
||||
case 0x1B: {
|
||||
int moveX = (int)(fHand * OpenTaiko.Skin.Game_Notes_Arm_Move[0]);
|
||||
int moveY = (int)(fHand * OpenTaiko.Skin.Game_Notes_Arm_Move[1]);
|
||||
if (OpenTaiko.ConfigIni.eSTEALTH[OpenTaiko.GetActualPlayer(nPlayer)] == EStealthMode.OFF && pChip.bShow) {
|
||||
if (OpenTaiko.ConfigIni.eSTEALTH[OpenTaiko.GetActualPlayer(nPlayer)] == EStealthMode.Off && pChip.bShow) {
|
||||
if (nPlayer != OpenTaiko.ConfigIni.nPlayerCount - 1) {
|
||||
//上から下
|
||||
OpenTaiko.Tx.Notes_Arm?.t2D上下反転描画(
|
||||
@ -2011,7 +2011,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
if (bSplitLane[nPlayer] || OpenTaiko.Tx.Puchichara[PuchiChara.tGetPuchiCharaIndexByName(OpenTaiko.GetActualPlayer(nPlayer))].effect.SplitLane) {
|
||||
if (OpenTaiko.ConfigIni.nGameType[nPlayer] == EGameType.KONGA) {
|
||||
if (OpenTaiko.ConfigIni.nGameType[nPlayer] == EGameType.Konga) {
|
||||
if (NotesManager.IsClapRoll(pChip)) {
|
||||
} else if (NotesManager.IsYellowRoll(pChip)) {
|
||||
y += OpenTaiko.Skin.Game_Notes_Size[1] / 2;
|
||||
@ -2025,7 +2025,7 @@ namespace OpenTaiko {
|
||||
|
||||
#region[ HIDSUD & STEALTH ]
|
||||
|
||||
if (OpenTaiko.ConfigIni.eSTEALTH[OpenTaiko.GetActualPlayer(nPlayer)] == EStealthMode.STEALTH || OpenTaiko.stage演奏ドラム画面.bCustomDoron) {
|
||||
if (OpenTaiko.ConfigIni.eSTEALTH[OpenTaiko.GetActualPlayer(nPlayer)] == EStealthMode.Stealth || OpenTaiko.stage演奏ドラム画面.bCustomDoron) {
|
||||
pChip.bShow = false;
|
||||
}
|
||||
|
||||
@ -2191,7 +2191,7 @@ namespace OpenTaiko {
|
||||
((nPlayer != 1 ? OpenTaiko.ConfigIni.bAutoPlay[nPlayer] :
|
||||
(OpenTaiko.ConfigIni.bAutoPlay[nPlayer] || OpenTaiko.ConfigIni.bAIBattleMode)) ||
|
||||
puchichara.effect.Autoroll > 0))
|
||||
this.tチップのヒット処理(pChip.n発声時刻ms, pChip, EInstrumentPad.TAIKO, false, 0, nPlayer, puchichara.effect.Autoroll > 0);
|
||||
this.tチップのヒット処理(pChip.n発声時刻ms, pChip, EInstrumentPad.Taiko, false, 0, nPlayer, puchichara.effect.Autoroll > 0);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
@ -2287,7 +2287,7 @@ namespace OpenTaiko {
|
||||
if (chipNoHit != null && (_isBigDonTaiko || _isBigKaTaiko)) {
|
||||
float timeC = chipNoHit.n発声時刻ms - (float)(SoundManager.PlayTimer.NowTime * OpenTaiko.ConfigIni.SongPlaybackSpeed);
|
||||
int nWaitTime = OpenTaiko.ConfigIni.nBigNoteWaitTimems;
|
||||
if (chipNoHit.eNoteState == ENoteState.wait && timeC <= 110
|
||||
if (chipNoHit.eNoteState == ENoteState.Wait && timeC <= 110
|
||||
&& chipNoHit.nProcessTime + nWaitTime <= (int)(SoundManager.PlayTimer.NowTime * OpenTaiko.ConfigIni.SongPlaybackSpeed)) {
|
||||
if (!_isSwapNote) {
|
||||
this.tドラムヒット処理(chipNoHit.nProcessTime, EPad.RRed, chipNoHit, false, i);
|
||||
@ -2298,7 +2298,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
|
||||
chipNoHit.eNoteState = ENoteState.none;
|
||||
chipNoHit.eNoteState = ENoteState.None;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ using FDK;
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class FlyingNotes : CActivity {
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public FlyingNotes() {
|
||||
base.IsDeActivated = true;
|
||||
@ -155,7 +155,7 @@ namespace OpenTaiko {
|
||||
/*
|
||||
if (Flying[i].Player == 0)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
else if (Flying[i].Player == 1)
|
||||
{
|
||||
|
@ -70,9 +70,9 @@
|
||||
static private void tDisplayDoronIcon(int x, int y, int player) {
|
||||
var conf_ = OpenTaiko.ConfigIni.eSTEALTH[player];
|
||||
|
||||
if (conf_ == EStealthMode.DORON)
|
||||
if (conf_ == EStealthMode.Doron)
|
||||
OpenTaiko.Tx.Mod_Doron?.t2D描画(x, y);
|
||||
else if (conf_ == EStealthMode.STEALTH)
|
||||
else if (conf_ == EStealthMode.Stealth)
|
||||
OpenTaiko.Tx.Mod_Stealth?.t2D描画(x, y);
|
||||
else
|
||||
OpenTaiko.Tx.Mod_None?.t2D描画(x, y);
|
||||
@ -92,13 +92,13 @@
|
||||
static private void tDisplayRandomIcon(int x, int y, int player) {
|
||||
var rand_ = OpenTaiko.ConfigIni.eRandom[player];
|
||||
|
||||
if (rand_ == ERandomMode.MIRROR)
|
||||
if (rand_ == ERandomMode.Mirror)
|
||||
OpenTaiko.Tx.Mod_Mirror?.t2D描画(x, y);
|
||||
else if (rand_ == ERandomMode.RANDOM)
|
||||
else if (rand_ == ERandomMode.Random)
|
||||
OpenTaiko.Tx.Mod_Random?.t2D描画(x, y);
|
||||
else if (rand_ == ERandomMode.SUPERRANDOM)
|
||||
else if (rand_ == ERandomMode.SuperRandom)
|
||||
OpenTaiko.Tx.Mod_Super?.t2D描画(x, y);
|
||||
else if (rand_ == ERandomMode.MIRRORRANDOM)
|
||||
else if (rand_ == ERandomMode.MirrorRandom)
|
||||
OpenTaiko.Tx.Mod_Hyper?.t2D描画(x, y);
|
||||
else
|
||||
OpenTaiko.Tx.Mod_None?.t2D描画(x, y);
|
||||
@ -142,12 +142,12 @@
|
||||
static public bool tPlayIsStock(int player) {
|
||||
int actual = OpenTaiko.GetActualPlayer(player);
|
||||
|
||||
if (OpenTaiko.ConfigIni.nFunMods[actual] != EFunMods.NONE) return false;
|
||||
if (OpenTaiko.ConfigIni.nFunMods[actual] != EFunMods.None) return false;
|
||||
if (OpenTaiko.ConfigIni.bJust[actual] != 0) return false;
|
||||
if (OpenTaiko.ConfigIni.nTimingZones[actual] != 2) return false;
|
||||
if (OpenTaiko.ConfigIni.nSongSpeed != 20) return false;
|
||||
if (OpenTaiko.ConfigIni.eRandom[actual] != ERandomMode.OFF) return false;
|
||||
if (OpenTaiko.ConfigIni.eSTEALTH[actual] != EStealthMode.OFF) return false;
|
||||
if (OpenTaiko.ConfigIni.eRandom[actual] != ERandomMode.Off) return false;
|
||||
if (OpenTaiko.ConfigIni.eSTEALTH[actual] != EStealthMode.Off) return false;
|
||||
if (OpenTaiko.ConfigIni.nScrollSpeed[actual] != 9) return false;
|
||||
|
||||
return true;
|
||||
|
@ -55,10 +55,10 @@ namespace OpenTaiko {
|
||||
switch (eScrollMode) {
|
||||
case EScrollMode.Normal:
|
||||
return (int)((timems / 240000.0) * interval * scroll * screen_ratio);
|
||||
case EScrollMode.BMSCROLL: {
|
||||
case EScrollMode.BMScroll: {
|
||||
return (int)((hbtime / 16.0) * interval * screen_ratio);
|
||||
}
|
||||
case EScrollMode.HBSCROLL: {
|
||||
case EScrollMode.HBScroll: {
|
||||
return (int)((hbtime / 16.0) * interval * scroll * screen_ratio);
|
||||
}
|
||||
default:
|
||||
@ -72,10 +72,10 @@ namespace OpenTaiko {
|
||||
switch (eScrollMode) {
|
||||
case EScrollMode.Normal:
|
||||
return (int)((timems / 240000.0) * interval * scroll * screen_ratio);
|
||||
case EScrollMode.BMSCROLL: {
|
||||
case EScrollMode.BMScroll: {
|
||||
return 0;
|
||||
}
|
||||
case EScrollMode.HBSCROLL: {
|
||||
case EScrollMode.HBScroll: {
|
||||
return (int)((hbtime / 16.0) * interval * scroll * screen_ratio);
|
||||
}
|
||||
default:
|
||||
@ -156,17 +156,17 @@ namespace OpenTaiko {
|
||||
|
||||
public static bool IsBigKaTaiko(CDTX.CChip chip, EGameType gt) {
|
||||
if (chip == null) return false;
|
||||
return (chip.nチャンネル番号 == 0x14 || chip.nチャンネル番号 == 0x1B) && gt == EGameType.TAIKO;
|
||||
return (chip.nチャンネル番号 == 0x14 || chip.nチャンネル番号 == 0x1B) && gt == EGameType.Taiko;
|
||||
}
|
||||
|
||||
public static bool IsBigDonTaiko(CDTX.CChip chip, EGameType gt) {
|
||||
if (chip == null) return false;
|
||||
return (chip.nチャンネル番号 == 0x13 || chip.nチャンネル番号 == 0x1A) && gt == EGameType.TAIKO;
|
||||
return (chip.nチャンネル番号 == 0x13 || chip.nチャンネル番号 == 0x1A) && gt == EGameType.Taiko;
|
||||
}
|
||||
|
||||
public static bool IsClapKonga(CDTX.CChip chip, EGameType gt) {
|
||||
if (chip == null) return false;
|
||||
return (chip.nチャンネル番号 == 0x14 || chip.nチャンネル番号 == 0x1B) && gt == EGameType.KONGA;
|
||||
return (chip.nチャンネル番号 == 0x14 || chip.nチャンネル番号 == 0x1B) && gt == EGameType.Konga;
|
||||
}
|
||||
|
||||
public static bool IsSwapNote(CDTX.CChip chip, EGameType gt) {
|
||||
@ -180,7 +180,7 @@ namespace OpenTaiko {
|
||||
public static bool IsKongaPink(CDTX.CChip chip, EGameType gt) {
|
||||
if (chip == null) return false;
|
||||
// Purple notes are treated as Pink in Konga
|
||||
return (chip.nチャンネル番号 == 0x13 || chip.nチャンネル番号 == 0x1A || IsPurpleNote(chip)) && gt == EGameType.KONGA;
|
||||
return (chip.nチャンネル番号 == 0x13 || chip.nチャンネル番号 == 0x1A || IsPurpleNote(chip)) && gt == EGameType.Konga;
|
||||
}
|
||||
public static bool IsPurpleNote(CDTX.CChip chip) {
|
||||
if (chip == null) return false;
|
||||
@ -288,7 +288,7 @@ namespace OpenTaiko {
|
||||
|
||||
// Regular display
|
||||
public static void DisplayNote(int player, int x, int y, CDTX.CChip chip, int frame, int length = -1) {
|
||||
if (OpenTaiko.ConfigIni.eSTEALTH[OpenTaiko.GetActualPlayer(player)] != EStealthMode.OFF || !chip.bShow)
|
||||
if (OpenTaiko.ConfigIni.eSTEALTH[OpenTaiko.GetActualPlayer(player)] != EStealthMode.Off || !chip.bShow)
|
||||
return;
|
||||
|
||||
if (length == -1) {
|
||||
@ -329,7 +329,7 @@ namespace OpenTaiko {
|
||||
Color4 normalColor, Color4 effectedColor, int x末端, int y末端) {
|
||||
EGameType _gt = OpenTaiko.ConfigIni.nGameType[OpenTaiko.GetActualPlayer(player)];
|
||||
|
||||
if (OpenTaiko.ConfigIni.eSTEALTH[OpenTaiko.GetActualPlayer(player)] != EStealthMode.OFF || !chip.bShow)
|
||||
if (OpenTaiko.ConfigIni.eSTEALTH[OpenTaiko.GetActualPlayer(player)] != EStealthMode.Off || !chip.bShow)
|
||||
return;
|
||||
|
||||
int _offset = 0;
|
||||
@ -338,14 +338,14 @@ namespace OpenTaiko {
|
||||
float _adjust = OpenTaiko.Skin.Game_Notes_Size[0] / 2.0f;
|
||||
float image_size = OpenTaiko.Skin.Game_Notes_Size[0];
|
||||
|
||||
if (IsSmallRoll(chip) || (_gt == EGameType.TAIKO && IsYellowRoll(chip))) {
|
||||
if (IsSmallRoll(chip) || (_gt == EGameType.Taiko && IsYellowRoll(chip))) {
|
||||
_offset = 0;
|
||||
}
|
||||
if (IsBigRoll(chip) || (_gt == EGameType.TAIKO && IsClapRoll(chip))) {
|
||||
if (IsBigRoll(chip) || (_gt == EGameType.Taiko && IsClapRoll(chip))) {
|
||||
_offset = OpenTaiko.Skin.Game_Notes_Size[0] * 3;
|
||||
} else if (IsClapRoll(chip) && _gt == EGameType.KONGA) {
|
||||
} else if (IsClapRoll(chip) && _gt == EGameType.Konga) {
|
||||
_offset = OpenTaiko.Skin.Game_Notes_Size[0] * 11;
|
||||
} else if (IsYellowRoll(chip) && _gt == EGameType.KONGA) {
|
||||
} else if (IsYellowRoll(chip) && _gt == EGameType.Konga) {
|
||||
_offset = OpenTaiko.Skin.Game_Notes_Size[0] * 8;
|
||||
} else if (IsFuzeRoll(chip)) {
|
||||
_texarr = OpenTaiko.Tx.Note_FuseRoll;
|
||||
@ -418,14 +418,14 @@ namespace OpenTaiko {
|
||||
|
||||
// SENotes
|
||||
public static void DisplaySENotes(int player, int x, int y, CDTX.CChip chip) {
|
||||
if (OpenTaiko.ConfigIni.eSTEALTH[OpenTaiko.GetActualPlayer(player)] == EStealthMode.STEALTH)
|
||||
if (OpenTaiko.ConfigIni.eSTEALTH[OpenTaiko.GetActualPlayer(player)] == EStealthMode.Stealth)
|
||||
return;
|
||||
|
||||
EGameType _gt = OpenTaiko.ConfigIni.nGameType[OpenTaiko.GetActualPlayer(player)];
|
||||
|
||||
if (IsMine(chip)) {
|
||||
OpenTaiko.Tx.SENotesExtension?.t2D描画(x, y, new Rectangle(0, OpenTaiko.Skin.Game_SENote_Size[1], OpenTaiko.Skin.Game_SENote_Size[0], OpenTaiko.Skin.Game_SENote_Size[1]));
|
||||
} else if (IsPurpleNote(chip) && _gt != EGameType.KONGA) {
|
||||
} else if (IsPurpleNote(chip) && _gt != EGameType.Konga) {
|
||||
OpenTaiko.Tx.SENotesExtension?.t2D描画(x, y, new Rectangle(0, 0, OpenTaiko.Skin.Game_SENote_Size[0], OpenTaiko.Skin.Game_SENote_Size[1]));
|
||||
} else if (IsFuzeRoll(chip)) {
|
||||
OpenTaiko.Tx.SENotesExtension?.t2D描画(x, y, new Rectangle(0, OpenTaiko.Skin.Game_SENote_Size[1] * 2, OpenTaiko.Skin.Game_SENote_Size[0], OpenTaiko.Skin.Game_SENote_Size[1]));
|
||||
|
@ -4,7 +4,7 @@ using FDK;
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class CActResultParameterPanel : CActivity {
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CActResultParameterPanel() {
|
||||
ST文字位置[] st文字位置Array = new ST文字位置[11];
|
||||
@ -1151,7 +1151,7 @@ namespace OpenTaiko {
|
||||
public int ApparitionFade = 100;
|
||||
public int ApparitionDuration = 300;
|
||||
|
||||
// Plate shine variables
|
||||
// Plate shine variables
|
||||
public int[] ShinePXPos = { 114 - 25, 114 - 16, -37 - 23, -37 - 9, -75 + 20, 78 - 13 };
|
||||
public int[] ShinePYPos = { -36 + 52, -36 + 2, 3 - 7, 3 + 30, -73 - 23, -81 - 31 };
|
||||
public int ShinePFade = 100;
|
||||
|
@ -17,7 +17,7 @@ namespace OpenTaiko {
|
||||
|
||||
}
|
||||
|
||||
// プロパティ
|
||||
// Properties
|
||||
|
||||
public STDGBVALUE<bool> b新記録スキル;
|
||||
public STDGBVALUE<bool> b新記録スコア;
|
||||
@ -43,7 +43,7 @@ namespace OpenTaiko {
|
||||
public STDGBVALUE<CScoreIni.C演奏記録> st演奏記録;
|
||||
|
||||
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CStage結果() {
|
||||
this.st演奏記録.Drums = new CScoreIni.C演奏記録();
|
||||
@ -84,11 +84,6 @@ namespace OpenTaiko {
|
||||
progress == 1 && CFloorManagement.CurrentNumberOfLives > 0,
|
||||
OpenTaiko.stage演奏ドラム画面.CChartScore[0].nMiss == 0 && OpenTaiko.stage演奏ドラム画面.CChartScore[0].nMine == 0,
|
||||
OpenTaiko.stage演奏ドラム画面.CChartScore[0].nGood == 0
|
||||
/*
|
||||
progress == 1 && CFloorManagement.CurrentNumberOfLives > 0,
|
||||
this.st演奏記録.Drums.nMiss数 == 0,
|
||||
this.st演奏記録.Drums.nGreat数 == 0
|
||||
*/
|
||||
};
|
||||
|
||||
for (int i = 0; i < conditions.Length; i++) {
|
||||
@ -111,7 +106,7 @@ namespace OpenTaiko {
|
||||
try {
|
||||
/*
|
||||
* Notes about the difference between Replay - Save statuses and the "Assisted clear" clear status
|
||||
*
|
||||
*
|
||||
* - The values for replay files are 0 if no status, while for save files they start by -1
|
||||
* - The "Assisted clear" status is used on the save files, but NOT on the replay files
|
||||
* - The "Assisted clear" status is also not used in the coins evaluations
|
||||
@ -1053,7 +1048,7 @@ namespace OpenTaiko {
|
||||
int songCount = OpenTaiko.stageSongSelect.rChoosenSong.DanSongs.Count;
|
||||
|
||||
/*
|
||||
** 1600 => Dan plate
|
||||
** 1600 => Dan plate
|
||||
** 3200 + 300 * count => Songs display
|
||||
** 5500 + 300 * count => Exams plate display
|
||||
** 8200 + 300 * count => Goukaku/Fugoukaku display => Step 2 (Prompt the user to tap enter and let them swaping between informations hitting kas)
|
||||
@ -1422,8 +1417,8 @@ namespace OpenTaiko {
|
||||
#endregion
|
||||
}
|
||||
if (((OpenTaiko.Pad.bPressedDGB(EPad.CY)
|
||||
|| OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RD))
|
||||
|| (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LC)
|
||||
|| OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RD))
|
||||
|| (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LC)
|
||||
|| (OpenTaiko.Pad.bPressedDGB(EPad.Decide)
|
||||
|| OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return))))) {
|
||||
|
||||
@ -1484,9 +1479,9 @@ namespace OpenTaiko {
|
||||
|
||||
|
||||
if (OpenTaiko.InputManager.Keyboard.KeyPressing((int)SlimDXKeys.Key.LeftArrow) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LeftChange) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LeftChange) ||
|
||||
OpenTaiko.InputManager.Keyboard.KeyPressing((int)SlimDXKeys.Key.RightArrow) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RightChange)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RightChange)) {
|
||||
if (OpenTaiko.stageSongSelect.nChoosenSongDifficulty[0] == (int)Difficulty.Dan) {
|
||||
#region [ Phase 2 (Swap freely between Exams and Songs) ]
|
||||
|
||||
@ -1786,7 +1781,7 @@ namespace OpenTaiko {
|
||||
private ModalQueue mqModals;
|
||||
private Modal? displayedModals;
|
||||
|
||||
// Coins information
|
||||
// Coins information
|
||||
private int[] nEarnedMedalsCount = { 0, 0, 0, 0, 0 };
|
||||
|
||||
|
||||
|
@ -3,7 +3,7 @@ using FDK;
|
||||
|
||||
namespace OpenTaiko {
|
||||
internal class CStage終了 : CStage {
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CStage終了() {
|
||||
base.eStageID = CStage.EStage.End;
|
||||
|
@ -6,7 +6,7 @@ namespace OpenTaiko {
|
||||
/// box.defによるスキン変更時に一時的に遷移する、スキン画像の一切無いステージ。
|
||||
/// </summary>
|
||||
internal class CStageChangeSkin : CStage {
|
||||
// コンストラクタ
|
||||
// Constructor
|
||||
|
||||
public CStageChangeSkin() {
|
||||
base.eStageID = CStage.EStage.ChangeSkin;
|
||||
|
@ -521,17 +521,17 @@ namespace OpenTaiko {
|
||||
#region [ Inputs ]
|
||||
|
||||
if (OpenTaiko.InputManager.Keyboard.KeyPressing((int)SlimDXKeys.Key.RightArrow) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RightChange)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RightChange)) {
|
||||
if (this.tMove(1)) {
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
}
|
||||
} else if (OpenTaiko.InputManager.Keyboard.KeyPressing((int)SlimDXKeys.Key.LeftArrow) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LeftChange)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LeftChange)) {
|
||||
if (this.tMove(-1)) {
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
}
|
||||
} else if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.Decide)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.Decide)) {
|
||||
|
||||
#region [Decide]
|
||||
|
||||
@ -655,7 +655,7 @@ namespace OpenTaiko {
|
||||
|
||||
#endregion
|
||||
} else if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Escape) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.Cancel)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.Cancel)) {
|
||||
|
||||
OpenTaiko.Skin.soundCancelSFX.tPlay();
|
||||
|
||||
|
@ -322,17 +322,17 @@ namespace OpenTaiko {
|
||||
//if (!IsDownloading)
|
||||
{
|
||||
if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.RightArrow) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RightChange)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RightChange)) {
|
||||
if (this.tMove(1)) {
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
}
|
||||
} else if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.LeftArrow) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LeftChange)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LeftChange)) {
|
||||
if (this.tMove(-1)) {
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
}
|
||||
} else if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Escape) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.Cancel)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.Cancel)) {
|
||||
|
||||
#region [Fast return (Escape)]
|
||||
|
||||
@ -359,7 +359,7 @@ namespace OpenTaiko {
|
||||
|
||||
#endregion
|
||||
} else if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.Decide)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.Decide)) {
|
||||
|
||||
#region [Decide]
|
||||
|
||||
|
@ -90,21 +90,21 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.RightArrow) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RightChange)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RightChange)) {
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
|
||||
if (nCurrentSongIndex < BarInfos.Length - 1) {
|
||||
nCurrentSongIndex++;
|
||||
}
|
||||
} else if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.LeftArrow) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LeftChange)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LeftChange)) {
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
|
||||
if (nCurrentSongIndex > 0) {
|
||||
nCurrentSongIndex--;
|
||||
}
|
||||
} else if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Escape) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.Cancel)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.Cancel)) {
|
||||
|
||||
#region [Fast return (Escape)]
|
||||
|
||||
@ -113,7 +113,7 @@ namespace OpenTaiko {
|
||||
|
||||
#endregion
|
||||
} else if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.Decide)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.Decide)) {
|
||||
#region [Decide]
|
||||
|
||||
OpenTaiko.Skin.soundDecideSFX.tPlay();
|
||||
@ -206,7 +206,7 @@ namespace OpenTaiko {
|
||||
|
||||
int randomSongIndex = OpenTaiko.Random.Next(selectableSongCount);
|
||||
|
||||
if (OpenTaiko.ConfigIni.bLogDTX詳細ログ出力) {
|
||||
if (OpenTaiko.ConfigIni.bOutputDetailedDTXLog) {
|
||||
StringBuilder builder = new StringBuilder(0x400);
|
||||
builder.Append(string.Format("Total number of songs to randomly choose from {0}. Randomly selected index {0}.", selectableSongCount, randomSongIndex));
|
||||
Trace.TraceInformation(builder.ToString());
|
||||
|
@ -116,19 +116,19 @@ namespace OpenTaiko {
|
||||
#region [Inputs]
|
||||
|
||||
if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.RightArrow) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RightChange)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RightChange)) {
|
||||
_controler.tHandleRight();
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
} else if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.LeftArrow) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LeftChange)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LeftChange)) {
|
||||
_controler.tHandleLeft();
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
} else if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Escape) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.Cancel)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.Cancel)) {
|
||||
_backToMain = _controler.tHandleBack();
|
||||
OpenTaiko.Skin.soundCancelSFX.tPlay();
|
||||
} else if (OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return) ||
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.Decide)) {
|
||||
OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.Decide)) {
|
||||
var (_b1, _b2) = _controler.tHandleEnter();
|
||||
_backToMain = _b2;
|
||||
|
||||
|
@ -5,11 +5,11 @@ namespace OpenTaiko {
|
||||
// メソッド
|
||||
|
||||
public void tフェードアウト開始(int start = 0, int end = 100, int interval = 5) {
|
||||
this.mode = EFIFOモード.フェードアウト;
|
||||
this.mode = EFIFOMode.FadeOut;
|
||||
this.counter = new CCounter(start, end, interval, OpenTaiko.Timer);
|
||||
}
|
||||
public void tフェードイン開始(int start = 0, int end = 100, int interval = 5) {
|
||||
this.mode = EFIFOモード.フェードイン;
|
||||
this.mode = EFIFOMode.FadeIn;
|
||||
this.counter = new CCounter(start, end, interval, OpenTaiko.Timer);
|
||||
}
|
||||
|
||||
@ -33,7 +33,7 @@ namespace OpenTaiko {
|
||||
this.counter.Tick();
|
||||
// Size clientSize = CDTXMania.app.Window.ClientSize; // #23510 2010.10.31 yyagi: delete as of no one use this any longer.
|
||||
if (OpenTaiko.Tx.Tile_Black != null) {
|
||||
OpenTaiko.Tx.Tile_Black.Opacity = (this.mode == EFIFOモード.フェードイン) ? (((100 - this.counter.CurrentValue) * 0xff) / 100) : ((this.counter.CurrentValue * 0xff) / 100);
|
||||
OpenTaiko.Tx.Tile_Black.Opacity = (this.mode == EFIFOMode.FadeIn) ? (((100 - this.counter.CurrentValue) * 0xff) / 100) : ((this.counter.CurrentValue * 0xff) / 100);
|
||||
for (int i = 0; i <= (SampleFramework.GameWindowSize.Width / OpenTaiko.Tx.Tile_Black.szTextureSize.Width); i++) // #23510 2010.10.31 yyagi: change "clientSize.Width" to "640" to fix FIFO drawing size
|
||||
{
|
||||
for (int j = 0; j <= (SampleFramework.GameWindowSize.Height / OpenTaiko.Tx.Tile_Black.szTextureSize.Height); j++) // #23510 2010.10.31 yyagi: change "clientSize.Height" to "480" to fix FIFO drawing size
|
||||
@ -54,7 +54,7 @@ namespace OpenTaiko {
|
||||
#region [ private ]
|
||||
//-----------------
|
||||
private CCounter counter;
|
||||
private EFIFOモード mode;
|
||||
private EFIFOMode mode;
|
||||
//private CTexture tx黒タイル64x64;
|
||||
//-----------------
|
||||
#endregion
|
||||
|
@ -5,11 +5,11 @@ namespace OpenTaiko {
|
||||
// メソッド
|
||||
|
||||
public void tフェードアウト開始() {
|
||||
this.mode = EFIFOモード.フェードアウト;
|
||||
this.mode = EFIFOMode.FadeOut;
|
||||
this.counter = new CCounter(0, 100, 30, OpenTaiko.Timer);
|
||||
}
|
||||
public void tフェードイン開始() {
|
||||
this.mode = EFIFOモード.フェードイン;
|
||||
this.mode = EFIFOMode.FadeIn;
|
||||
this.counter = new CCounter(0, 300, 2, OpenTaiko.Timer);
|
||||
}
|
||||
public void tフェードイン完了() {
|
||||
@ -36,7 +36,7 @@ namespace OpenTaiko {
|
||||
this.counter.Tick();
|
||||
// Size clientSize = CDTXMania.app.Window.ClientSize; // #23510 2010.10.31 yyagi: delete as of no one use this any longer.
|
||||
if (OpenTaiko.Tx.Tile_Black != null) {
|
||||
if (this.mode == EFIFOモード.フェードイン) {
|
||||
if (this.mode == EFIFOMode.FadeIn) {
|
||||
if (counter.CurrentValue >= 200) {
|
||||
OpenTaiko.Tx.Tile_Black.Opacity = (((100 - (this.counter.CurrentValue - 200)) * 0xff) / 100);
|
||||
} else {
|
||||
@ -54,7 +54,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this.mode == EFIFOモード.フェードアウト) {
|
||||
if (this.mode == EFIFOMode.FadeOut) {
|
||||
if (this.counter.CurrentValue != 100) {
|
||||
return 0;
|
||||
}
|
||||
@ -72,7 +72,7 @@ namespace OpenTaiko {
|
||||
#region [ private ]
|
||||
//-----------------
|
||||
private CCounter counter;
|
||||
private EFIFOモード mode;
|
||||
private EFIFOMode mode;
|
||||
//private CTexture tx黒タイル64x64;
|
||||
//-----------------
|
||||
#endregion
|
||||
|
@ -6,7 +6,7 @@ namespace OpenTaiko {
|
||||
// メソッド
|
||||
|
||||
public void tフェードアウト開始() {
|
||||
this.mode = EFIFOモード.フェードアウト;
|
||||
this.mode = EFIFOMode.FadeOut;
|
||||
|
||||
OpenTaiko.Skin.soundDanSelectBGM.tStop();
|
||||
if (OpenTaiko.stageSongSelect.nChoosenSongDifficulty[0] == (int)Difficulty.Dan)
|
||||
@ -18,7 +18,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
}
|
||||
public void tフェードイン開始() {
|
||||
this.mode = EFIFOモード.フェードイン;
|
||||
this.mode = EFIFOMode.FadeIn;
|
||||
|
||||
if (OpenTaiko.stageSongSelect.nChoosenSongDifficulty[0] == (int)Difficulty.Dan) {
|
||||
this.counter = new CCounter(0, 255, 1, OpenTaiko.Timer);
|
||||
@ -55,7 +55,7 @@ namespace OpenTaiko {
|
||||
|
||||
if (OpenTaiko.stageSongSelect.nChoosenSongDifficulty[0] >= (int)Difficulty.Tower) {
|
||||
if (OpenTaiko.Tx.Tile_Black != null) {
|
||||
OpenTaiko.Tx.Tile_Black.Opacity = this.mode == EFIFOモード.フェードアウト ? -1000 + counter.CurrentValue : 255 - counter.CurrentValue;
|
||||
OpenTaiko.Tx.Tile_Black.Opacity = this.mode == EFIFOMode.FadeOut ? -1000 + counter.CurrentValue : 255 - counter.CurrentValue;
|
||||
for (int i = 0; i <= (SampleFramework.GameWindowSize.Width / OpenTaiko.Tx.Tile_Black.szTextureSize.Width); i++) // #23510 2010.10.31 yyagi: change "clientSize.Width" to "640" to fix FIFO drawing size
|
||||
{
|
||||
for (int j = 0; j <= (SampleFramework.GameWindowSize.Height / OpenTaiko.Tx.Tile_Black.szTextureSize.Height); j++) // #23510 2010.10.31 yyagi: change "clientSize.Height" to "480" to fix FIFO drawing size
|
||||
@ -65,7 +65,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
}
|
||||
} else if (OpenTaiko.ConfigIni.bAIBattleMode) {
|
||||
if (this.mode == EFIFOモード.フェードアウト) {
|
||||
if (this.mode == EFIFOMode.FadeOut) {
|
||||
var preTime = (this.counter.CurrentValue >= 2000 ? this.counter.CurrentValue - 2000 : 0) * 2;
|
||||
|
||||
OpenTaiko.Tx.SongLoading_Fade_AI.Opacity = preTime;
|
||||
@ -120,7 +120,7 @@ namespace OpenTaiko {
|
||||
OpenTaiko.Tx.SongLoading_Bg_AI.t2D描画(0, 0);
|
||||
}
|
||||
} else {
|
||||
if (this.mode == EFIFOモード.フェードアウト) {
|
||||
if (this.mode == EFIFOMode.FadeOut) {
|
||||
if (OpenTaiko.Tx.SongLoading_Fade != null) {
|
||||
// 曲開始幕アニメ。
|
||||
// 地味に横の拡大率が変動しているのが一番厄介...
|
||||
@ -150,11 +150,11 @@ namespace OpenTaiko {
|
||||
}
|
||||
}
|
||||
|
||||
if (this.mode == EFIFOモード.フェードアウト) {
|
||||
if (this.mode == EFIFOMode.FadeOut) {
|
||||
if (this.counter.CurrentValue != this.counter.EndValue) {
|
||||
return 0;
|
||||
}
|
||||
} else if (this.mode == EFIFOモード.フェードイン) {
|
||||
} else if (this.mode == EFIFOMode.FadeIn) {
|
||||
if (this.counter.CurrentValue != this.counter.EndValue) {
|
||||
return 0;
|
||||
}
|
||||
@ -227,7 +227,7 @@ namespace OpenTaiko {
|
||||
//-----------------
|
||||
private CCounter counter;
|
||||
private CCounter ct待機;
|
||||
private EFIFOモード mode;
|
||||
private EFIFOMode mode;
|
||||
//private CTexture tx幕;
|
||||
//private CTexture tx幕2;
|
||||
//-----------------
|
||||
|
@ -5,11 +5,11 @@ namespace OpenTaiko {
|
||||
// メソッド
|
||||
|
||||
public void tフェードアウト開始() {
|
||||
this.mode = EFIFOモード.フェードアウト;
|
||||
this.mode = EFIFOMode.FadeOut;
|
||||
this.counter = new CCounter(0, 100, 3, OpenTaiko.Timer);
|
||||
}
|
||||
public void tフェードイン開始() {
|
||||
this.mode = EFIFOモード.フェードイン;
|
||||
this.mode = EFIFOMode.FadeIn;
|
||||
this.counter = new CCounter(0, 100, 3, OpenTaiko.Timer);
|
||||
}
|
||||
public void tフェードイン完了() // #25406 2011.6.9 yyagi
|
||||
@ -41,7 +41,7 @@ namespace OpenTaiko {
|
||||
|
||||
// Size clientSize = CDTXMania.app.Window.ClientSize; // #23510 2010.10.31 yyagi: delete as of no one use this any longer.
|
||||
if (OpenTaiko.Tx.Tile_Black != null) {
|
||||
OpenTaiko.Tx.Tile_Black.Opacity = (this.mode == EFIFOモード.フェードイン) ? (((100 - this.counter.CurrentValue) * 0xff) / 100) : ((this.counter.CurrentValue * 0xff) / 100);
|
||||
OpenTaiko.Tx.Tile_Black.Opacity = (this.mode == EFIFOMode.FadeIn) ? (((100 - this.counter.CurrentValue) * 0xff) / 100) : ((this.counter.CurrentValue * 0xff) / 100);
|
||||
for (int i = 0; i <= (SampleFramework.GameWindowSize.Width / OpenTaiko.Tx.Tile_Black.szTextureSize.Width); i++) // #23510 2010.10.31 yyagi: change "clientSize.Width" to "640" to fix FIFO drawing size
|
||||
{
|
||||
for (int j = 0; j <= (SampleFramework.GameWindowSize.Height / OpenTaiko.Tx.Tile_Black.szTextureSize.Height); j++) // #23510 2010.10.31 yyagi: change "clientSize.Height" to "480" to fix FIFO drawing size
|
||||
@ -62,7 +62,7 @@ namespace OpenTaiko {
|
||||
#region [ private ]
|
||||
//-----------------
|
||||
private CCounter counter;
|
||||
private EFIFOモード mode;
|
||||
private EFIFOMode mode;
|
||||
//private CTexture tx白タイル64x64;
|
||||
//-----------------
|
||||
#endregion
|
||||
|
@ -203,7 +203,7 @@ namespace OpenTaiko {
|
||||
}
|
||||
|
||||
public override int Draw() {
|
||||
if ((OpenTaiko.Pad.bPressedDGB(EPad.Decide)) || ((OpenTaiko.ConfigIni.bEnterがキー割り当てのどこにも使用されていない && OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return)))) {
|
||||
if ((OpenTaiko.Pad.bPressedDGB(EPad.Decide)) || ((OpenTaiko.ConfigIni.bEnterIsNotUsedInKeyAssignments && OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Return)))) {
|
||||
switch (CurrentState) {
|
||||
case SelectableInfo.PlayerSelect: {
|
||||
switch (CurrentIndex) {
|
||||
@ -353,11 +353,11 @@ namespace OpenTaiko {
|
||||
} else if ((OpenTaiko.Pad.bPressedDGB(EPad.Cancel) || OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.Escape))) {
|
||||
Close();
|
||||
OpenTaiko.Skin.soundCancelSFX.tPlay();
|
||||
} else if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.LeftChange)
|
||||
} else if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.LeftChange)
|
||||
|| OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.LeftArrow)) {
|
||||
ChangeIndex(-1);
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
} else if (OpenTaiko.Pad.bPressed(EInstrumentPad.DRUMS, EPad.RightChange)
|
||||
} else if (OpenTaiko.Pad.bPressed(EInstrumentPad.Drums, EPad.RightChange)
|
||||
|| OpenTaiko.InputManager.Keyboard.KeyPressed((int)SlimDXKeys.Key.RightArrow)) {
|
||||
ChangeIndex(1);
|
||||
OpenTaiko.Skin.soundChangeSFX.tPlay();
|
||||
|
Loading…
x
Reference in New Issue
Block a user