Add Modals textures and Author section for Puchichara databases
@ -19,10 +19,11 @@ namespace TJAPlayer3
|
||||
|
||||
public class PuchicharaData
|
||||
{
|
||||
public PuchicharaData(string pcn, string pcr)
|
||||
public PuchicharaData(string pcn, string pcr, string pca)
|
||||
{
|
||||
Name = pcn;
|
||||
Rarity = pcr;
|
||||
Author = pca;
|
||||
}
|
||||
|
||||
|
||||
@ -31,6 +32,9 @@ namespace TJAPlayer3
|
||||
|
||||
[JsonProperty("rarity")]
|
||||
public string Rarity;
|
||||
|
||||
[JsonProperty("author")]
|
||||
public string Author;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
@ -120,6 +120,7 @@ namespace TJAPlayer3
|
||||
iPuchiCharaCount = 120;
|
||||
|
||||
ttkPuchiCharaNames = new TitleTextureKey[iPuchiCharaCount];
|
||||
ttkPuchiCharaAuthors = new TitleTextureKey[iPuchiCharaCount];
|
||||
|
||||
var RarityToColor = new Dictionary<string, Color>
|
||||
{
|
||||
@ -144,6 +145,7 @@ namespace TJAPlayer3
|
||||
textColor = RarityToColor[rarity];
|
||||
|
||||
ttkPuchiCharaNames[i] = new TitleTextureKey(dbData[i].Name, this.pfHeyaFont, textColor, Color.Black, 1000);
|
||||
ttkPuchiCharaAuthors[i] = new TitleTextureKey(dbData[i].Author, this.pfHeyaFont, Color.White, Color.Black, 1000);
|
||||
}
|
||||
}
|
||||
|
||||
@ -239,17 +241,28 @@ namespace TJAPlayer3
|
||||
|
||||
TJAPlayer3.Tx.PuchiChara.color4 = C変換.ColorToColor4(Color.White);
|
||||
|
||||
#region [Database related values]
|
||||
|
||||
if (ttkPuchiCharaNames[pos] != null)
|
||||
{
|
||||
CTexture tmpTex = TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(ttkPuchiCharaNames[pos]);
|
||||
|
||||
tmpTex.t2D拡大率考慮上中央基準描画(TJAPlayer3.app.Device, 620 + 302 * i, 448);
|
||||
tmpTex.t2D拡大率考慮上中央基準描画(TJAPlayer3.app.Device, 620 + 302 * i, 434);
|
||||
}
|
||||
|
||||
if (ttkPuchiCharaAuthors[pos] != null)
|
||||
{
|
||||
CTexture tmpTex = TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture(ttkPuchiCharaAuthors[pos]);
|
||||
|
||||
tmpTex.t2D拡大率考慮上中央基準描画(TJAPlayer3.app.Device, 620 + 302 * i, 460);
|
||||
}
|
||||
|
||||
if (puchiUnlockables.ContainsKey(pos)
|
||||
&& !TJAPlayer3.NamePlateConfig.data.UnlockedPuchicharas[iPlayer].Contains(pos))
|
||||
TJAPlayer3.Tx.Heya_Lock?.t2D拡大率考慮上中央基準描画(TJAPlayer3.app.Device, 620 + 302 * i, 200);
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@ -620,6 +633,7 @@ namespace TJAPlayer3
|
||||
private int iPuchiCharaCurrent;
|
||||
|
||||
private TitleTextureKey[] ttkPuchiCharaNames;
|
||||
private TitleTextureKey[] ttkPuchiCharaAuthors;
|
||||
private TitleTextureKey ttkInfoSection;
|
||||
|
||||
private int iCharacterCurrent;
|
||||
|
@ -2,25 +2,31 @@
|
||||
0: {
|
||||
"name" : "Empty0",
|
||||
"rarity": "Common",
|
||||
"author": "申しコミ",
|
||||
},
|
||||
1: {
|
||||
"name" : "Empty1",
|
||||
"rarity": "Common",
|
||||
"author": "申しコミ",
|
||||
},
|
||||
2: {
|
||||
"name" : "Empty2",
|
||||
"rarity": "Uncommon",
|
||||
"author": "申しコミ",
|
||||
},
|
||||
3: {
|
||||
"name" : "Empty3",
|
||||
"rarity": "Rare",
|
||||
"author": "申しコミ",
|
||||
},
|
||||
4: {
|
||||
"name" : "Empty4",
|
||||
"rarity": "Epic",
|
||||
"author": "申しコミ",
|
||||
},
|
||||
5: {
|
||||
"name" : "Empty5",
|
||||
"rarity": "Legendary",
|
||||
"author": "申しコミ",
|
||||
},
|
||||
}
|
BIN
Test/System/SimpleStyle/Graphics/11_Modals/0_full.png
Normal file
After Width: | Height: | Size: 469 KiB |
BIN
Test/System/SimpleStyle/Graphics/11_Modals/0_half.png
Normal file
After Width: | Height: | Size: 106 KiB |
BIN
Test/System/SimpleStyle/Graphics/11_Modals/1_full.png
Normal file
After Width: | Height: | Size: 476 KiB |
BIN
Test/System/SimpleStyle/Graphics/11_Modals/1_half.png
Normal file
After Width: | Height: | Size: 117 KiB |
BIN
Test/System/SimpleStyle/Graphics/11_Modals/2_full.png
Normal file
After Width: | Height: | Size: 463 KiB |
BIN
Test/System/SimpleStyle/Graphics/11_Modals/2_half.png
Normal file
After Width: | Height: | Size: 106 KiB |
BIN
Test/System/SimpleStyle/Graphics/11_Modals/3_full.png
Normal file
After Width: | Height: | Size: 453 KiB |
BIN
Test/System/SimpleStyle/Graphics/11_Modals/3_half.png
Normal file
After Width: | Height: | Size: 110 KiB |
BIN
Test/System/SimpleStyle/Graphics/11_Modals/4_full.png
Normal file
After Width: | Height: | Size: 377 KiB |
BIN
Test/System/SimpleStyle/Graphics/11_Modals/4_half.png
Normal file
After Width: | Height: | Size: 94 KiB |
BIN
Test/System/SimpleStyle/Graphics/11_Modals/Coin_full.png
Normal file
After Width: | Height: | Size: 469 KiB |
BIN
Test/System/SimpleStyle/Graphics/11_Modals/Coin_half.png
Normal file
After Width: | Height: | Size: 106 KiB |
BIN
Test/System/SimpleStyle/Graphics/12_OnlineLounge/Background.png
Normal file
After Width: | Height: | Size: 599 KiB |
BIN
Test/System/SimpleStyle/Graphics/12_OnlineLounge/Box.png
Normal file
After Width: | Height: | Size: 168 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 73 KiB |
BIN
Test/System/SimpleStyle/Graphics/12_OnlineLounge/Side_Menu.png
Normal file
After Width: | Height: | Size: 20 KiB |