1
0
mirror of synced 2025-02-17 19:09:25 +01:00

Add mod icons for minesweeper and avalanche

This commit is contained in:
0aubsq 2022-05-22 16:12:43 +02:00
parent a7ba427064
commit e8cb4aed41
5 changed files with 19 additions and 2 deletions

View File

@ -877,6 +877,12 @@ namespace TJAPlayer3
Mod_SongSpeed[i] = TxC(GAME + MODICONS + @"SongSpeed\" + i.ToString() + @".png");
}
Mod_Fun = new CTexture[3];
for (int i = 0; i < Mod_Fun.Length; i++)
{
Mod_Fun[i] = TxC(GAME + MODICONS + @"Fun\" + i.ToString() + @".png");
}
Mod_Doron = TxC(GAME + MODICONS + @"Doron.png");
Mod_Stealth = TxC(GAME + MODICONS + @"Stealth.png");
Mod_Mirror = TxC(GAME + MODICONS + @"Mirror.png");
@ -1792,6 +1798,7 @@ namespace TJAPlayer3
public CTexture[] Mod_Timing,
Mod_SongSpeed,
Mod_Fun,
HiSp;
public CTexture Mod_None,
Mod_Doron,

View File

@ -16,7 +16,7 @@ namespace TJAPlayer3
tDisplayHSIcon(x, y, actual); // 1st icon
tDisplayDoronIcon(x + 30, y, actual); // 2nd icon
tDisplayRandomIcon(x + 60, y, actual); // 3rd icon
PLACEHOLDER_tDisplayNoneIcon(x + 90, y, player); // 4th icon
tDisplayFunModIcon(x + 90, y, actual); // 4th icon
tDisplayJustIcon(x, y + 30, actual); // 5th icon
tDisplayTimingIcon(x + 30, y + 30, actual); // 6th icon
tDisplaySongSpeedIcon(x + 60, y + 30, player); // 7th icon
@ -33,7 +33,7 @@ namespace TJAPlayer3
tDisplayHSIcon(x, y, actual); // 1st icon
tDisplayDoronIcon(x + 30, y, actual); // 2nd icon
tDisplayRandomIcon(x + 60, y, actual); // 3rd icon
PLACEHOLDER_tDisplayNoneIcon(x + 60, y, player); // 4th icon
tDisplayFunModIcon(x + 90, y, actual); // 4th icon
tDisplayJustIcon(x + 120, y, actual); // 5th icon
tDisplayTimingIcon(x + 150, y, actual); // 6th icon
tDisplaySongSpeedIcon(x + 180, y, player); // 7th icon
@ -127,6 +127,16 @@ namespace TJAPlayer3
TJAPlayer3.Tx.Mod_None?.t2D描画(TJAPlayer3.app.Device, x, y);
}
static private void tDisplayFunModIcon(int x, int y, int player)
{
int nFun = (int)TJAPlayer3.ConfigIni.nFunMods[player];
if (nFun > 0)
TJAPlayer3.Tx.Mod_Fun[nFun]?.t2D描画(TJAPlayer3.app.Device, x, y);
else
TJAPlayer3.Tx.Mod_None?.t2D描画(TJAPlayer3.app.Device, x, y);
}
static private void tDisplayTimingIcon(int x, int y, int player)
{
int zones = TJAPlayer3.ConfigIni.nTimingZones[player];

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B