1
0
mirror of synced 2024-12-01 02:27:21 +01:00

段位結果画面の画像の位置を自由に変更可能に (#363)

* 段位結果画面の画像の位置を自由に変更可能に

* 不具合の修正
This commit is contained in:
Takkkom 2023-01-30 08:21:41 +09:00 committed by GitHub
parent 274ead0cf3
commit d9a189f32f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 456 additions and 57 deletions

View File

@ -5223,6 +5223,221 @@ namespace TJAPlayer3
} }
#endregion #endregion
#region DanResult
else if (strCommand == "DanResult_StatePanel")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 2; i++)
{
DanResult_StatePanel[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_SongPanel_Main_X")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 3; i++)
{
DanResult_SongPanel_Main_X[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_SongPanel_Main_Y")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 3; i++)
{
DanResult_SongPanel_Main_Y[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Difficulty_Cymbol_X")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 3; i++)
{
DanResult_Difficulty_Cymbol_X[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Difficulty_Cymbol_Y")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 3; i++)
{
DanResult_Difficulty_Cymbol_Y[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Level_Number_X")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 3; i++)
{
DanResult_Level_Number_X[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Level_Number_Y")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 3; i++)
{
DanResult_Level_Number_Y[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Sections_Perfect_X")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 3; i++)
{
DanResult_Sections_Perfect_X[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Sections_Perfect_Y")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 3; i++)
{
DanResult_Sections_Perfect_Y[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Sections_Good_X")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 3; i++)
{
DanResult_Sections_Good_X[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Sections_Good_Y")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 3; i++)
{
DanResult_Sections_Good_Y[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Sections_Miss_X")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 3; i++)
{
DanResult_Sections_Miss_X[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Sections_Miss_Y")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 3; i++)
{
DanResult_Sections_Miss_Y[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Sections_Roll_X")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 3; i++)
{
DanResult_Sections_Roll_X[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Sections_Roll_Y")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 3; i++)
{
DanResult_Sections_Roll_Y[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Perfect")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 2; i++)
{
DanResult_Perfect[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Good")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 2; i++)
{
DanResult_Good[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Miss")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 2; i++)
{
DanResult_Miss[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Roll")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 2; i++)
{
DanResult_Roll[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_MaxCombo")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 2; i++)
{
DanResult_MaxCombo[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_TotalHit")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 2; i++)
{
DanResult_TotalHit[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Score")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 2; i++)
{
DanResult_Score[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Exam")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 2; i++)
{
DanResult_Exam[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_DanTitles_X")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 3; i++)
{
DanResult_DanTitles_X[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_DanTitles_Y")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 3; i++)
{
DanResult_DanTitles_Y[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Rank")
{
string[] strSplit = strParam.Split(',');
for (int i = 0; i < 2; i++)
{
DanResult_Rank[i] = int.Parse(strSplit[i]);
}
}
else if (strCommand == "DanResult_Font_DanTitles_Size")
{
DanResult_Font_DanTitles_Size = int.Parse(strParam);
}
#endregion
#region Heya #region Heya
else if (strCommand == "Heya_Main_Menu_X") else if (strCommand == "Heya_Main_Menu_X")
{ {
@ -6466,6 +6681,51 @@ namespace TJAPlayer3
#endregion #endregion
#region DanResult
public int[] DanResult_StatePanel = new int[] { 0, -4 };
public int[] DanResult_SongPanel_Main_X = new int[] { 255, 255, 255 };
public int[] DanResult_SongPanel_Main_Y = new int[] { 100, 283, 466 };
public int[] DanResult_Difficulty_Cymbol_X = new int[] { 377, 377, 377 };
public int[] DanResult_Difficulty_Cymbol_Y = new int[] { 146, 329, 512 };
public int[] DanResult_Level_Number_X = new int[] { 383, 383, 383 };
public int[] DanResult_Level_Number_Y = new int[] { 173, 356, 539 };
public int[] DanResult_Sections_Perfect_X = new int[] { 455, 455, 455 };
public int[] DanResult_Sections_Perfect_Y = new int[] { 204, 387, 570 };
public int[] DanResult_Sections_Good_X = new int[] { 666, 666, 666 };
public int[] DanResult_Sections_Good_Y = new int[] { 204, 387, 570 };
public int[] DanResult_Sections_Miss_X = new int[] { 877, 877, 877 };
public int[] DanResult_Sections_Miss_Y = new int[] { 204, 387, 570 };
public int[] DanResult_Sections_Roll_X = new int[] { 1088, 1088, 1088 };
public int[] DanResult_Sections_Roll_Y = new int[] { 204, 387, 570 };
public int[] DanResult_Perfect = new int[] { 720, 95 };
public int[] DanResult_Good = new int[] { 720, 137 };
public int[] DanResult_Miss = new int[] { 720, 179 };
public int[] DanResult_Roll = new int[] { 1022, 95 };
public int[] DanResult_MaxCombo = new int[] { 1022, 137 };
public int[] DanResult_TotalHit = new int[] { 1022, 179 };
public int[] DanResult_Score = new int[] { 566, 119 };
public int[] DanResult_Exam = new int[] { 232, 254 };
public int[] DanResult_DanTitles_X = new int[] { 401, 401, 401 };
public int[] DanResult_DanTitles_Y = new int[] { 139, 322, 505 };
public int[] DanResult_Rank = new int[] { 130, 380 };
public int DanResult_Font_DanTitles_Size = 24;
#endregion
#region Heya #region Heya
public int[] Heya_Main_Menu_X = new int[] { 164, 164, 164, 164, 164 }; public int[] Heya_Main_Menu_X = new int[] { 164, 164, 164, 164, 164 };

View File

@ -605,8 +605,8 @@ namespace TJAPlayer3
// Panel origin // Panel origin
int xOrigin = (isResult) ? 232 + offX : TJAPlayer3.Skin.Game_DanC_X[1]; int xOrigin = (isResult) ? TJAPlayer3.Skin.DanResult_Exam[0] + offX : TJAPlayer3.Skin.Game_DanC_X[1];
int yOrigin = (isResult) ? 254 : TJAPlayer3.Skin.Game_DanC_Y[1]; int yOrigin = (isResult) ? TJAPlayer3.Skin.DanResult_Exam[1] : TJAPlayer3.Skin.Game_DanC_Y[1];
// Origin position which will be used as a reference for bar elements // Origin position which will be used as a reference for bar elements
int barXOffset = xOrigin + (currentPosition >= 3 ? 503 : 0); int barXOffset = xOrigin + (currentPosition >= 3 ? 503 : 0);

View File

@ -693,6 +693,9 @@ namespace TJAPlayer3
Dan_Plate = TJAPlayer3.tテクスチャの生成(Path.GetDirectoryName(TJAPlayer3.DTX.strファイル名の絶対パス) + @"\Dan_Plate.png"); Dan_Plate = TJAPlayer3.tテクスチャの生成(Path.GetDirectoryName(TJAPlayer3.DTX.strファイル名の絶対パス) + @"\Dan_Plate.png");
ctDanSongInfoChange = new CCounter(0, 3000, 1, TJAPlayer3.Timer);
ctDanSongInfoChange.n現在の値 = 255;
if (TJAPlayer3.stage選曲.n確定された曲の難易度[0] == (int)Difficulty.Tower) if (TJAPlayer3.stage選曲.n確定された曲の難易度[0] == (int)Difficulty.Tower)
{ {
if (!string.IsNullOrEmpty(TJAPlayer3.ConfigIni.FontName)) if (!string.IsNullOrEmpty(TJAPlayer3.ConfigIni.FontName))
@ -720,11 +723,11 @@ namespace TJAPlayer3
{ {
if (!string.IsNullOrEmpty(TJAPlayer3.ConfigIni.FontName)) if (!string.IsNullOrEmpty(TJAPlayer3.ConfigIni.FontName))
{ {
this.pfDanTitles = new CPrivateFastFont(new FontFamily(TJAPlayer3.ConfigIni.FontName), 24); this.pfDanTitles = new CPrivateFastFont(new FontFamily(TJAPlayer3.ConfigIni.FontName), TJAPlayer3.Skin.DanResult_Font_DanTitles_Size);
} }
else else
{ {
this.pfDanTitles = new CPrivateFastFont(new FontFamily("MS UI Gothic"), 16); this.pfDanTitles = new CPrivateFastFont(new FontFamily("MS UI Gothic"), TJAPlayer3.Skin.DanResult_Font_DanTitles_Size);
} }
this.ttkDanTitles = new TitleTextureKey[TJAPlayer3.stage選曲.r確定された曲.DanSongs.Count]; this.ttkDanTitles = new TitleTextureKey[TJAPlayer3.stage選曲.r確定された曲.DanSongs.Count];
@ -1072,6 +1075,7 @@ namespace TJAPlayer3
{ {
if (TJAPlayer3.stage選曲.n確定された曲の難易度[0] == (int)Difficulty.Dan) if (TJAPlayer3.stage選曲.n確定された曲の難易度[0] == (int)Difficulty.Dan)
{ {
double screen_ratio_x = TJAPlayer3.Skin.Resolution[0] / 1280.0;
#region [Counter processings] #region [Counter processings]
@ -1126,9 +1130,20 @@ namespace TJAPlayer3
#region [Charts Individual Results] #region [Charts Individual Results]
ctDanSongInfoChange.t進行();
if (ctDanSongInfoChange.n現在の値 == ctDanSongInfoChange.n終了値 && songCount > 3)
{
NextDanSongInfo();
}
else if(nNowDanSongInfo > 0 && songCount <= 3)
{
nNowDanSongInfo = 0;
}
for (int i = 0; i < songCount; i++) for (int i = 0; i < songCount; i++)
{ {
int songOffset = Math.Max(0, 3200 + 300 * i - ctPhase1.n現在の値); int songOffset = (int)(Math.Max(0, 3200 + 300 * i - ctPhase1.n現在の値) * screen_ratio_x);
ftDanDisplaySongInfo(i, songOffset); ftDanDisplaySongInfo(i, songOffset);
} }
@ -1144,6 +1159,8 @@ namespace TJAPlayer3
else if (ctPhase1.b終了値に達してない) else if (ctPhase1.b終了値に達してない)
examsOffset = Math.Max(0, 5500 + 300 * songCount - ctPhase1.n現在の値) * 2; examsOffset = Math.Max(0, 5500 + 300 * songCount - ctPhase1.n現在の値) * 2;
examsOffset = (int)(examsOffset * screen_ratio_x);
ftDanDisplayExamInfo(examsOffset); ftDanDisplayExamInfo(examsOffset);
#endregion #endregion
@ -1158,6 +1175,9 @@ namespace TJAPlayer3
{ {
TJAPlayer3.Tx.DanResult_Rank.Opacity = 255; TJAPlayer3.Tx.DanResult_Rank.Opacity = 255;
int rank_width = TJAPlayer3.Tx.DanResult_Rank.szテクスチャサイズ.Width / 7;
int rank_height = TJAPlayer3.Tx.DanResult_Rank.szテクスチャサイズ.Height;
if (examStatus != Exam.Status.Failure) if (examStatus != Exam.Status.Failure)
{ {
#region [Goukaku] #region [Goukaku]
@ -1201,7 +1221,8 @@ namespace TJAPlayer3
#endregion #endregion
TJAPlayer3.Tx.DanResult_Rank.t2D拡大率考慮中央基準描画(TJAPlayer3.app.Device, 130, 380, new Rectangle(334 * (2 * comboType + successType + 1), 0, 334, 334)); TJAPlayer3.Tx.DanResult_Rank.t2D拡大率考慮中央基準描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.DanResult_Rank[0], TJAPlayer3.Skin.DanResult_Rank[1],
new Rectangle(rank_width * (2 * comboType + successType + 1), 0, rank_width, rank_height));
#endregion #endregion
} }
@ -1221,7 +1242,8 @@ namespace TJAPlayer3
#endregion #endregion
TJAPlayer3.Tx.DanResult_Rank.t2D拡大率考慮中央基準描画(TJAPlayer3.app.Device, 130, 380 - (unitsBeforeAppearance / 10f), new Rectangle(0, 0, 334, 334)); TJAPlayer3.Tx.DanResult_Rank.t2D拡大率考慮中央基準描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.DanResult_Rank[0], TJAPlayer3.Skin.DanResult_Rank[1] - (unitsBeforeAppearance / 10f),
new Rectangle(0, 0, rank_width, rank_height));
#endregion #endregion
} }
@ -1540,51 +1562,39 @@ namespace TJAPlayer3
private void ftDanDisplayExamInfo(int offset = 0) private void ftDanDisplayExamInfo(int offset = 0)
{ {
int baseX = offset; int baseX = TJAPlayer3.Skin.DanResult_StatePanel[0] + offset;
int baseY = -4; int baseY = TJAPlayer3.Skin.DanResult_StatePanel[1];
TJAPlayer3.Tx.DanResult_StatePanel_Base.t2D描画(TJAPlayer3.app.Device, baseX, baseY); TJAPlayer3.Tx.DanResult_StatePanel_Base.t2D描画(TJAPlayer3.app.Device, baseX, baseY);
TJAPlayer3.Tx.DanResult_StatePanel_Main.t2D描画(TJAPlayer3.app.Device, baseX, baseY); TJAPlayer3.Tx.DanResult_StatePanel_Main.t2D描画(TJAPlayer3.app.Device, baseX, baseY);
#region [ Global scores ] #region [ Global scores ]
int smoothBaseX = baseX;
int smoothBaseY = 0;
int totalHit = TJAPlayer3.stage演奏ドラム画面.CChartScore[0].nGreat int totalHit = TJAPlayer3.stage演奏ドラム画面.CChartScore[0].nGreat
+ TJAPlayer3.stage演奏ドラム画面.CChartScore[0].nGood + TJAPlayer3.stage演奏ドラム画面.CChartScore[0].nGood
+ TJAPlayer3.stage演奏ドラム画面.GetRoll(0); + TJAPlayer3.stage演奏ドラム画面.GetRoll(0);
int[] scoresArr =
{
(int)TJAPlayer3.stage演奏ドラム画面.actScore.Get(E楽器パート.DRUMS, 0),
TJAPlayer3.stage演奏ドラム画面.CChartScore[0].nGreat,
TJAPlayer3.stage演奏ドラム画面.CChartScore[0].nGood,
TJAPlayer3.stage演奏ドラム画面.CChartScore[0].nMiss,
TJAPlayer3.stage演奏ドラム画面.GetRoll(0),
TJAPlayer3.stage演奏ドラム画面.actCombo.n現在のコンボ数.[0],
totalHit
};
var totalZahyou = new Point[]
{
new Point(smoothBaseX + 584, smoothBaseY + 124),
new Point(smoothBaseX + 842, smoothBaseY + 106),
new Point(smoothBaseX + 842, smoothBaseY + 148),
new Point(smoothBaseX + 842, smoothBaseY + 190),
new Point(smoothBaseX + 1144, smoothBaseY + 106),
new Point(smoothBaseX + 1144, smoothBaseY + 148),
new Point(smoothBaseX + 1144, smoothBaseY + 190),
};
// Small digits // Small digits
for (int i = 1; i < 7; i++) this.actParameterPanel.t小文字表示(TJAPlayer3.Skin.DanResult_Perfect[0] + offset, TJAPlayer3.Skin.DanResult_Perfect[1],
{ TJAPlayer3.stage演奏ドラム画面.CChartScore[0].nGreat);
this.actParameterPanel.t小文字表示(totalZahyou[i].X - 122, totalZahyou[i].Y - 11, scoresArr[i]);
} this.actParameterPanel.t小文字表示(TJAPlayer3.Skin.DanResult_Good[0] + offset, TJAPlayer3.Skin.DanResult_Good[1],
TJAPlayer3.stage演奏ドラム画面.CChartScore[0].nGood);
this.actParameterPanel.t小文字表示(TJAPlayer3.Skin.DanResult_Miss[0] + offset, TJAPlayer3.Skin.DanResult_Miss[1],
TJAPlayer3.stage演奏ドラム画面.CChartScore[0].nMiss);
this.actParameterPanel.t小文字表示(TJAPlayer3.Skin.DanResult_Roll[0] + offset, TJAPlayer3.Skin.DanResult_Roll[1],
TJAPlayer3.stage演奏ドラム画面.GetRoll(0));
this.actParameterPanel.t小文字表示(TJAPlayer3.Skin.DanResult_MaxCombo[0] + offset, TJAPlayer3.Skin.DanResult_MaxCombo[1],
TJAPlayer3.stage演奏ドラム画面.actCombo.n現在のコンボ数.[0]);
this.actParameterPanel.t小文字表示(TJAPlayer3.Skin.DanResult_TotalHit[0] + offset, TJAPlayer3.Skin.DanResult_TotalHit[1],
totalHit);
// Large digits // Large digits
this.actParameterPanel.tスコア文字表示(totalZahyou[0].X - 18, totalZahyou[0].Y - 5, scoresArr[0]); this.actParameterPanel.tスコア文字表示(TJAPlayer3.Skin.DanResult_Score[0] + offset, TJAPlayer3.Skin.DanResult_Score[1], (int)TJAPlayer3.stage演奏ドラム画面.actScore.Get(E楽器パート.DRUMS, 0));
#endregion #endregion
@ -1602,18 +1612,45 @@ namespace TJAPlayer3
private void ftDanDisplaySongInfo(int i, int offset = 0) private void ftDanDisplaySongInfo(int i, int offset = 0)
{ {
int drawPos = i % 3;
int nowIndex = (i / 3);
int opacityCounter = Math.Min(ctDanSongInfoChange.n現在の値, 255);
int opacity;
if (nowIndex == nNowDanSongInfo)
{
opacity = opacityCounter;
}
else
{
opacity = 255 - opacityCounter;
}
/*
int baseX = 255 + offset; int baseX = 255 + offset;
int baseY = 100 + 183 * i; int baseY = 100 + 183 * i;
*/
var song = TJAPlayer3.stage選曲.r確定された曲.DanSongs[i]; var song = TJAPlayer3.stage選曲.r確定された曲.DanSongs[i];
// TJAPlayer3.Tx.Dani_Difficulty_Cymbol.t2D中心基準描画(TJAPlayer3.app.Device, scroll + 377, 180 + i * 73, new Rectangle(song.Difficulty * 53, 0, 53, 53)); // TJAPlayer3.Tx.Dani_Difficulty_Cymbol.t2D中心基準描画(TJAPlayer3.app.Device, scroll + 377, 180 + i * 73, new Rectangle(song.Difficulty * 53, 0, 53, 53));
TJAPlayer3.Tx.DanResult_SongPanel_Main.t2D描画(TJAPlayer3.app.Device, baseX, baseY, new Rectangle(0, 1 + 170 * Math.Min(i, 2), 960, 170)); int songPanel_main_width = TJAPlayer3.Tx.DanResult_SongPanel_Main.szテクスチャサイズ.Width;
int songPanel_main_height = TJAPlayer3.Tx.DanResult_SongPanel_Main.szテクスチャサイズ.Height / 3;
TJAPlayer3.Tx.Dani_Difficulty_Cymbol.t2D中心基準描画(TJAPlayer3.app.Device, baseX + 122, baseY + 46, new Rectangle(song.Difficulty * 53, 0, 53, 53)); TJAPlayer3.Tx.DanResult_SongPanel_Main.Opacity = opacity;
TJAPlayer3.Tx.DanResult_SongPanel_Main.t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.DanResult_SongPanel_Main_X[drawPos] + offset, TJAPlayer3.Skin.DanResult_SongPanel_Main_Y[drawPos], new Rectangle(0, songPanel_main_height * Math.Min(i, 2), songPanel_main_width, songPanel_main_height));
TJAPlayer3.stage段位選択..tLevelNumberDraw(baseX + 128, baseY + 73, song.Level); int difficulty_cymbol_width = TJAPlayer3.Tx.Dani_Difficulty_Cymbol.szテクスチャサイズ.Width / 5;
int difficulty_cymbol_height = TJAPlayer3.Tx.Dani_Difficulty_Cymbol.szテクスチャサイズ.Height;
TJAPlayer3.Tx.Dani_Difficulty_Cymbol.Opacity = opacity;
TJAPlayer3.Tx.Dani_Difficulty_Cymbol.t2D中心基準描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.DanResult_Difficulty_Cymbol_X[drawPos] + offset, TJAPlayer3.Skin.DanResult_Difficulty_Cymbol_Y[drawPos], new Rectangle(song.Difficulty * difficulty_cymbol_width, 0, difficulty_cymbol_width, difficulty_cymbol_height));
TJAPlayer3.Tx.Dani_Level_Number.Opacity = opacity;
TJAPlayer3.stage段位選択..tLevelNumberDraw(TJAPlayer3.Skin.DanResult_Level_Number_X[drawPos] + offset, TJAPlayer3.Skin.DanResult_Level_Number_Y[drawPos], song.Level);
TJAPlayer3.Tx.Dani_Level_Number.Opacity = 255;
int[] scoresArr = int[] scoresArr =
{ {
@ -1623,10 +1660,27 @@ namespace TJAPlayer3
TJAPlayer3.stage演奏ドラム画面.n連打[i] TJAPlayer3.stage演奏ドラム画面.n連打[i]
}; };
for (int j = 0; j < 4; j++) int[] num_x = {
this.actParameterPanel.t小文字表示(baseX + 200 + 211 * j, baseY + 104, scoresArr[j]); TJAPlayer3.Skin.DanResult_Sections_Perfect_X[drawPos],
TJAPlayer3.Skin.DanResult_Sections_Good_X[drawPos],
TJAPlayer3.Skin.DanResult_Sections_Miss_X[drawPos],
TJAPlayer3.Skin.DanResult_Sections_Roll_X[drawPos],
};
TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(this.ttkDanTitles[i]).t2D描画(TJAPlayer3.app.Device, baseX + 146, baseY + 39); int[] num_y = {
TJAPlayer3.Skin.DanResult_Sections_Perfect_Y[drawPos],
TJAPlayer3.Skin.DanResult_Sections_Good_Y[drawPos],
TJAPlayer3.Skin.DanResult_Sections_Miss_Y[drawPos],
TJAPlayer3.Skin.DanResult_Sections_Roll_Y[drawPos],
};
TJAPlayer3.Tx.Result_Number.Opacity = opacity;
for (int j = 0; j < 4; j++)
this.actParameterPanel.t小文字表示(num_x[j] + offset, num_y[j], scoresArr[j]);
TJAPlayer3.Tx.Result_Number.Opacity = 255;
TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(this.ttkDanTitles[i]).Opacity = opacity;
TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(this.ttkDanTitles[i]).t2D描画(TJAPlayer3.app.Device, TJAPlayer3.Skin.DanResult_DanTitles_X[drawPos] + offset, TJAPlayer3.Skin.DanResult_DanTitles_Y[drawPos]);
} }
@ -1799,6 +1853,21 @@ namespace TJAPlayer3
} }
} }
private CCounter ctDanSongInfoChange;
private int nNowDanSongInfo;
private void NextDanSongInfo()
{
ctDanSongInfoChange = new CCounter(0, 2000, 1, TJAPlayer3.Timer);
ctDanSongInfoChange.n現在の値 = 0;
nNowDanSongInfo++;
if (nNowDanSongInfo >= Math.Ceiling(TJAPlayer3.stage選曲.r確定された曲.DanSongs.Count / 3.0))
{
nNowDanSongInfo = 0;
}
}
// Cloud informations // Cloud informations
/* /*

View File

@ -0,0 +1,69 @@
;Included file
;あとは通常通り設定できます
DanResult_StatePanel=0,-4
DanResult_SongPanel_Main_X=255,255,255
DanResult_SongPanel_Main_Y=100,283,466
DanResult_Difficulty_Cymbol_X=377,377,377
DanResult_Difficulty_Cymbol_Y=146,329,512
DanResult_Level_Number_X=383,383,383
DanResult_Level_Number_Y=173,356,539
DanResult_Sections_Perfect_X=455,455,455
DanResult_Sections_Perfect_Y=204,387,570
DanResult_Sections_Good_X=666,666,666
DanResult_Sections_Good_Y=204,387,570
DanResult_Sections_Miss_X=877,877,877
DanResult_Sections_Miss_Y=204,387,570
DanResult_Sections_Roll_X=1088,1088,1088
DanResult_Sections_Roll_Y=204,387,570
DanResult_Perfect=720,95
DanResult_Good=720,137
DanResult_Miss=720,179
DanResult_Roll=1022,95
DanResult_MaxCombo=1022,137
DanResult_TotalHit=1022,179
DanResult_Score=566,119
DanResult_Exam=232,254
DanResult_DanTitles_X=401,401,401
DanResult_DanTitles_Y=139,322,505
DanResult_Rank=130,380
DanResult_Font_DanTitles_Size=24

View File

@ -17,3 +17,4 @@ Creator=0AuBSQ
#include GameConfig.ini #include GameConfig.ini
#include ResultConfig.ini #include ResultConfig.ini
#include AIResultConfig.ini #include AIResultConfig.ini
#include DanResultConfig.ini