1
0
mirror of synced 2025-01-31 03:53:44 +01:00

Fix song select screen and add display for both 1P and 2P clears/score ranks

This commit is contained in:
0aubsq 2021-12-24 13:24:32 +01:00
parent eeabcf2876
commit ba111f64f4
2 changed files with 32 additions and 10 deletions

View File

@ -347,13 +347,34 @@ namespace TJAPlayer3
if (!avaliable)
continue;
Cスコア.ST譜面情報 idx = TJAPlayer3.stage選曲.r現在選択中のスコア.;
TJAPlayer3.Tx.Difficulty_Crown.t2D描画(TJAPlayer3.app.Device, 445 + screenPos * 144, 284, new RectangleF(idx.nクリア[i] * 24.5f, 0, 24.5f, 26));
if (idx.nスコアランク[i] != 0)
TJAPlayer3.Tx.SongSelect_ScoreRank.t2D描画(TJAPlayer3.app.Device, 467 + screenPos * 144, 281, new RectangleF(0, (idx.nスコアランク[i] - 1) * 42.71f, 50, 42.71f));
for (int j = 0; j < TJAPlayer3.ConfigIni.nPlayerCount; j++)
{
int p = TJAPlayer3.GetActualPlayer(j);
Cスコア.ST譜面情報 idx = TJAPlayer3.stage選曲.r現在選択中のスコア.;
var GPInfo = TJAPlayer3.stage選曲.r現在選択中のスコア.GPInfo[p];
//TJAPlayer3.Tx.Difficulty_Crown.t2D描画(TJAPlayer3.app.Device, 445 + screenPos * 144, 284, new RectangleF(idx.nクリア[i] * 24.5f, 0, 24.5f, 26));
TJAPlayer3.Tx.Difficulty_Crown.t2D描画(TJAPlayer3.app.Device,
445 + screenPos * 144 + 74 * j,
284,
new RectangleF(GPInfo.nClear[i] * 24.5f, 0, 24.5f, 26));
if (GPInfo.nScoreRank[i] != 0)
TJAPlayer3.Tx.SongSelect_ScoreRank.t2D描画(TJAPlayer3.app.Device,
467 + screenPos * 144 + 24 * j,
281,
new RectangleF(0, (GPInfo.nScoreRank[i] - 1) * 42.71f, 50, 42.71f));
/*
if (idx.nスコアランク[i] != 0)
TJAPlayer3.Tx.SongSelect_ScoreRank.t2D描画(TJAPlayer3.app.Device, 467 + screenPos * 144, 281, new RectangleF(0, (idx.nスコアランク[i] - 1) * 42.71f, 50, 42.71f));
*/
}
if (level > 0)
t小文字表示(TJAPlayer3.stage選曲.r現在選択中のスコア..nレベル[i].ToString(), 498 + screenPos * 143, 434.5f);

View File

@ -937,10 +937,11 @@ namespace TJAPlayer3
displayedScore = score.GPInfo[p].nHighScore[table];
TJAPlayer3.Tx.Dani_Difficulty_Cymbol.t2D中心基準描画(TJAPlayer3.app.Device,
posx - 78,
this.ptBoardNumber[11].Y + 2,
new Rectangle(table * 53, 0, 53, 53));
if (this.n現在選択中の曲の難易度 <= (int)Difficulty.Edit)
TJAPlayer3.Tx.Dani_Difficulty_Cymbol.t2D中心基準描画(TJAPlayer3.app.Device,
posx - 78,
this.ptBoardNumber[11].Y + 2,
new Rectangle(table * 53, 0, 53, 53));
tBoardNumberDraw(posx - 10, this.ptBoardNumber[11].Y + 6, displayedScore.ToString());
}