1
0
mirror of synced 2025-02-20 20:41:46 +01:00

include extra texture for song select

This commit is contained in:
0auBSQ 2023-04-25 06:14:11 +09:00
parent 33c8660f40
commit 3e17b71ac4
2 changed files with 6 additions and 3 deletions

View File

@ -235,6 +235,7 @@ namespace TJAPlayer3
SongSelect_Crown = TxC(SONGSELECT + @"SongSelect_Crown.png");
SongSelect_ScoreRank = TxC(SONGSELECT + @"ScoreRank.png");
SongSelect_BoardNumber = TxC(SONGSELECT + @"BoardNumber.png");
SongSelect_Difficulty_Cymbol = TxC(SONGSELECT + "Difficulty_Cymbol.png");
SongSelect_Favorite = TxC(SONGSELECT + @"Favorite.png");
SongSelect_High_Score = TxC(SONGSELECT + @"High_Score.png");
@ -1888,6 +1889,7 @@ namespace TJAPlayer3
SongSelect_ScoreRank,
SongSelect_Song_Number,
SongSelect_BoardNumber,
SongSelect_Difficulty_Cymbol,
SongSelect_Favorite,
SongSelect_High_Score,

View File

@ -777,10 +777,11 @@ namespace TJAPlayer3
if (this.n現在選択中の曲の難易度 <= (int)Difficulty.Edit)
{
int width = TJAPlayer3.Tx.Dani_Difficulty_Cymbol.sz画像サイズ.Width / 5;
int height = TJAPlayer3.Tx.Dani_Difficulty_Cymbol.sz画像サイズ.Height;
CTexture __tex = (TJAPlayer3.Tx.SongSelect_Difficulty_Cymbol == null) ? TJAPlayer3.Tx.Dani_Difficulty_Cymbol : TJAPlayer3.Tx.SongSelect_Difficulty_Cymbol;
int width = __tex.sz画像サイズ.Width / 5;
int height = __tex.sz画像サイズ.Height;
TJAPlayer3.Tx.Dani_Difficulty_Cymbol.t2D中心基準描画(TJAPlayer3.app.Device,
__tex.t2D中心基準描画(TJAPlayer3.app.Device,
TJAPlayer3.Skin.SongSelect_High_Score_Difficulty_Cymbol_X[i],
TJAPlayer3.Skin.SongSelect_High_Score_Difficulty_Cymbol_Y[i],
new Rectangle(table * width, 0, width, height));