From 42e995fdb2f42da936bfea9827f1ae3f66df4d7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?DragonRatTiger=20/=20=E3=83=AA=E3=83=A5=E3=82=A6=E3=82=B3?= Date: Sat, 2 Sep 2023 03:39:25 -0400 Subject: [PATCH] Fix AI Gauge position & Dan Gauge Clear rect (#490) --- TJAPlayer3/Helpers/HGaugeMethods.cs | 5 +++++ TJAPlayer3/Stages/07.Game/Taiko/CAct演奏Drumsゲージ.cs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/TJAPlayer3/Helpers/HGaugeMethods.cs b/TJAPlayer3/Helpers/HGaugeMethods.cs index 77b18b51..9f4f465d 100644 --- a/TJAPlayer3/Helpers/HGaugeMethods.cs +++ b/TJAPlayer3/Helpers/HGaugeMethods.cs @@ -523,6 +523,11 @@ namespace TJAPlayer3 gauge_x = TJAPlayer3.Skin.Game_Gauge_4P[0] + (TJAPlayer3.Skin.Game_UIMove_4P[0] * player); gauge_y = TJAPlayer3.Skin.Game_Gauge_4P[1] + (TJAPlayer3.Skin.Game_UIMove_4P[1] * player); } + else if (TJAPlayer3.ConfigIni.bAIBattleMode) + { + gauge_x = TJAPlayer3.Skin.Game_Gauge_X_AI; + gauge_y = TJAPlayer3.Skin.Game_Gauge_Y_AI; + } else { gauge_x = TJAPlayer3.Skin.Game_Gauge_X[player]; diff --git a/TJAPlayer3/Stages/07.Game/Taiko/CAct演奏Drumsゲージ.cs b/TJAPlayer3/Stages/07.Game/Taiko/CAct演奏Drumsゲージ.cs index 8a3a5cc4..85c36d25 100644 --- a/TJAPlayer3/Stages/07.Game/Taiko/CAct演奏Drumsゲージ.cs +++ b/TJAPlayer3/Stages/07.Game/Taiko/CAct演奏Drumsゲージ.cs @@ -290,7 +290,7 @@ namespace TJAPlayer3 if (TJAPlayer3.DTX.Dan_C[i] != null && TJAPlayer3.DTX.Dan_C[i].GetExamType() == Exam.Type.Gauge && db現在のゲージ値[0] >= TJAPlayer3.DTX.Dan_C[i].GetValue(false)) { TJAPlayer3.Tx.Gauge_Dan[3].Opacity = 255; - TJAPlayer3.Tx.Gauge_Dan[3]?.t2D描画(TJAPlayer3.app.Device, x + (TJAPlayer3.DTX.Dan_C[i].GetValue(false) / 2 * nWidth), y, new Rectangle(0, 0, nRectX[0] - (TJAPlayer3.DTX.Dan_C[i].GetValue(false) / 2 * nWidth), TJAPlayer3.Skin.Game_Gauge_Rect[3])); + TJAPlayer3.Tx.Gauge_Dan[3]?.t2D描画(TJAPlayer3.app.Device, x + (TJAPlayer3.DTX.Dan_C[i].GetValue(false) / 2 * nWidth), y, new Rectangle(TJAPlayer3.DTX.Dan_C[i].GetValue(false) / 2 * nWidth, 0, nRectX[0] - (TJAPlayer3.DTX.Dan_C[i].GetValue(false) / 2 * nWidth), TJAPlayer3.Skin.Game_Gauge_Rect[3])); int Opacity = 0; if (this.ctGaugeFlash.n現在の値 <= 365) Opacity = 0;