From 0bf05745b1996b7dc03485e112ce2e6c7ed750b2 Mon Sep 17 00:00:00 2001 From: 0auBSQ <58159635+0auBSQ@users.noreply.github.com> Date: Mon, 2 Jan 2023 12:24:15 +0900 Subject: [PATCH] Temporary fix for rolls SENotes --- .../Stages/07.Game/Taiko/CStage演奏ドラム画面.cs | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/TJAPlayer3/Stages/07.Game/Taiko/CStage演奏ドラム画面.cs b/TJAPlayer3/Stages/07.Game/Taiko/CStage演奏ドラム画面.cs index 140cfd27..409029f6 100644 --- a/TJAPlayer3/Stages/07.Game/Taiko/CStage演奏ドラム画面.cs +++ b/TJAPlayer3/Stages/07.Game/Taiko/CStage演奏ドラム画面.cs @@ -2137,6 +2137,11 @@ namespace TJAPlayer3 var normalColor = new Color4(1.0f, 1.0f, 1.0f, 1f); float f末端ノーツのテクスチャ位置調整 = 65f; + //136, 30 + var _size = TJAPlayer3.Skin.Game_SENote_Size; + int _60_cut = 60 * _size[0] / 136; + int _58_cut = 58 * _size[0] / 136; + int _78_cut = 78 * _size[0] / 136; if (NotesManager.IsRoll(pChip)) { @@ -2145,12 +2150,13 @@ namespace TJAPlayer3 if (TJAPlayer3.Tx.SENotes[(int)_gt] != null) { int _shift = NotesManager.IsBigRoll(pChip) ? 26 : 0; + TJAPlayer3.Tx.SENotes[(int)_gt].vc拡大縮小倍率.X = x末端 - x - 44 - _shift; - TJAPlayer3.Tx.SENotes[(int)_gt].t2D描画(TJAPlayer3.app.Device, x + 90 + _shift, y + nSenotesY, new Rectangle(60, 240, 1, 30)); + TJAPlayer3.Tx.SENotes[(int)_gt].t2D描画(TJAPlayer3.app.Device, x + 90 + _shift, y + nSenotesY, new Rectangle(_60_cut, 8 * _size[1], 1, _size[1])); TJAPlayer3.Tx.SENotes[(int)_gt].vc拡大縮小倍率.X = 1.0f; - TJAPlayer3.Tx.SENotes[(int)_gt].t2D描画(TJAPlayer3.app.Device, x + 30 + _shift, y + nSenotesY, new Rectangle(0, 240, 60, 30)); - TJAPlayer3.Tx.SENotes[(int)_gt].t2D描画(TJAPlayer3.app.Device, x - (_shift / 13), y + nSenotesY, new Rectangle(0, 30 * pChip.nSenote, 136, 30)); + TJAPlayer3.Tx.SENotes[(int)_gt].t2D描画(TJAPlayer3.app.Device, x + 30 + _shift, y + nSenotesY, new Rectangle(0, 8 * _size[1], _60_cut, _size[1])); + TJAPlayer3.Tx.SENotes[(int)_gt].t2D描画(TJAPlayer3.app.Device, x - (_shift / 13), y + nSenotesY, new Rectangle(0, _size[1] * pChip.nSenote, _size[0], _size[1])); } } @@ -2197,7 +2203,7 @@ namespace TJAPlayer3 { //if( CDTXMania.ConfigIni.eSTEALTH != Eステルスモード.DORON ) // CDTXMania.Tx.Notes.t2D描画( CDTXMania.app.Device, x, y, new Rectangle( n, num9, 130, 130 ) );//大音符:1170 - TJAPlayer3.Tx.SENotes[(int)_gt]?.t2D描画(TJAPlayer3.app.Device, x + 56, y + nSenotesY, new Rectangle(58, 270, 78, 30)); + TJAPlayer3.Tx.SENotes[(int)_gt]?.t2D描画(TJAPlayer3.app.Device, x + 56, y + nSenotesY, new Rectangle(_58_cut, 9 * _size[1], _78_cut, _size[1])); } }