残りの画像の位置を自由に変更可能に (#372)
This commit is contained in:
parent
16027eb35f
commit
5591986939
@ -1621,6 +1621,34 @@ namespace TJAPlayer3
|
||||
Config_SkinSample1[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "Config_KeyAssign")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Config_KeyAssign[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "Config_KeyAssign_Menu_Highlight")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Config_KeyAssign_Menu_Highlight[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "Config_KeyAssign_Font")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
Config_KeyAssign_Font[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "Config_KeyAssign_Move")
|
||||
{
|
||||
Config_KeyAssign_Move = int.Parse(strParam);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region [Mod Icons]
|
||||
@ -1729,6 +1757,94 @@ namespace TJAPlayer3
|
||||
SongSelect_Bar_Anim_Y[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "SongSelect_DanStatus_Offset_X")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
SongSelect_DanStatus_Offset_X[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "SongSelect_DanStatus_Offset_Y")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
SongSelect_DanStatus_Offset_Y[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "SongSelect_TowerStatus_Offset_X")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
SongSelect_TowerStatus_Offset_X[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "SongSelect_TowerStatus_Offset_Y")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
SongSelect_TowerStatus_Offset_Y[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "SongSelect_RegularCrowns_Offset_X")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
SongSelect_RegularCrowns_Offset_X[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "SongSelect_RegularCrowns_Offset_Y")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
SongSelect_RegularCrowns_Offset_Y[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "SongSelect_RegularCrowns_ScoreRank_Offset_X")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
SongSelect_RegularCrowns_ScoreRank_Offset_X[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "SongSelect_RegularCrowns_ScoreRank_Offset_Y")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
SongSelect_RegularCrowns_ScoreRank_Offset_Y[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "SongSelect_RegularCrowns_Difficulty_Cymbol_Offset_X")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
SongSelect_RegularCrowns_Difficulty_Cymbol_Offset_X[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "SongSelect_RegularCrowns_Difficulty_Cymbol_Offset_Y")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
SongSelect_RegularCrowns_Difficulty_Cymbol_Offset_Y[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "SongSelect_FavoriteStatus_Offset")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
SongSelect_FavoriteStatus_Offset[i] = int.Parse(strSplit[i]);
|
||||
}
|
||||
}
|
||||
else if (strCommand == "SongSelect_Bar_Title_Offset")
|
||||
{
|
||||
string[] strSplit = strParam.Split(',');
|
||||
@ -6335,6 +6451,11 @@ namespace TJAPlayer3
|
||||
public int[] Config_ExplanationPanel = new int[] { 67, 382 };
|
||||
public int[] Config_SkinSample1 = new int[] { 124, 449 };
|
||||
|
||||
public int[] Config_KeyAssign = new int[] { 389, 215 };
|
||||
public int[] Config_KeyAssign_Menu_Highlight = new int[] { 324, 66 };
|
||||
public int[] Config_KeyAssign_Font = new int[] { 308, 64 };
|
||||
public int Config_KeyAssign_Move = 20;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Puchichara
|
||||
@ -6493,6 +6614,23 @@ namespace TJAPlayer3
|
||||
public int[] SongSelect_Bar_Title_Offset = new int[] { 316, 62 };
|
||||
public int[] SongSelect_Bar_SubTitle_Offset = new int[] { 316, 90 };
|
||||
|
||||
public int[] SongSelect_DanStatus_Offset_X = new int[] { 30, 602 };
|
||||
public int[] SongSelect_DanStatus_Offset_Y = new int[] { 30, 30 };
|
||||
|
||||
public int[] SongSelect_TowerStatus_Offset_X = new int[] { 30, 602 };
|
||||
public int[] SongSelect_TowerStatus_Offset_Y = new int[] { 30, 30 };
|
||||
|
||||
public int[] SongSelect_RegularCrowns_Offset_X = new int[] { 30, 602 };
|
||||
public int[] SongSelect_RegularCrowns_Offset_Y = new int[] { 30, 30 };
|
||||
|
||||
public int[] SongSelect_RegularCrowns_ScoreRank_Offset_X = new int[] { 0, 0 };
|
||||
public int[] SongSelect_RegularCrowns_ScoreRank_Offset_Y = new int[] { 0, 30 };
|
||||
|
||||
public int[] SongSelect_RegularCrowns_Difficulty_Cymbol_Offset_X = new int[] { 22, 22 };
|
||||
public int[] SongSelect_RegularCrowns_Difficulty_Cymbol_Offset_Y = new int[] { 22, 52 };
|
||||
|
||||
public int[] SongSelect_FavoriteStatus_Offset = new int[] { 90, 30 };
|
||||
|
||||
public int SongSelect_BoxName_Scale = 28;
|
||||
public int SongSelect_MusicName_Scale = 22;
|
||||
public int SongSelect_Subtitle_Scale = 13;
|
||||
|
@ -136,22 +136,27 @@ namespace TJAPlayer3
|
||||
}
|
||||
if(TJAPlayer3.Tx.Menu_Highlight != null )
|
||||
{
|
||||
int num = 20;
|
||||
int num2 = 0x144;
|
||||
int num3 = 0x3e + ( num * ( this.n現在の選択行 + 1 ) );
|
||||
TJAPlayer3.Tx.Menu_Highlight.t2D描画( TJAPlayer3.app.Device, num2, num3, new Rectangle( 0, 0, 0x10, 0x20 ) );
|
||||
num2 += 0x10;
|
||||
Rectangle rectangle = new Rectangle( 8, 0, 0x10, 0x20 );
|
||||
int num = TJAPlayer3.Skin.Config_KeyAssign_Move;
|
||||
int num2 = TJAPlayer3.Skin.Config_KeyAssign_Menu_Highlight[0];
|
||||
int num3 = TJAPlayer3.Skin.Config_KeyAssign_Menu_Highlight[1] + ( num * ( this.n現在の選択行 + 1 ) );
|
||||
//TJAPlayer3.Tx.Menu_Highlight.t2D描画( TJAPlayer3.app.Device, num2, num3, new Rectangle( 0, 0, 0x10, 0x20 ) );
|
||||
float scale = 0.55f;
|
||||
for( int j = 0; j < 14; j++ )
|
||||
{
|
||||
TJAPlayer3.Tx.Menu_Highlight.t2D描画( TJAPlayer3.app.Device, num2, num3, rectangle );
|
||||
num2 += 0x10;
|
||||
TJAPlayer3.Tx.Menu_Highlight.vc拡大縮小倍率.X = scale;
|
||||
TJAPlayer3.Tx.Menu_Highlight.vc拡大縮小倍率.Y = scale;
|
||||
|
||||
TJAPlayer3.Tx.Menu_Highlight.t2D描画( TJAPlayer3.app.Device, num2, num3 );
|
||||
num2 += (int)(TJAPlayer3.Tx.Menu_Highlight.szテクスチャサイズ.Width * scale);
|
||||
|
||||
TJAPlayer3.Tx.Menu_Highlight.vc拡大縮小倍率.X = 1;
|
||||
TJAPlayer3.Tx.Menu_Highlight.vc拡大縮小倍率.Y = 1;
|
||||
}
|
||||
TJAPlayer3.Tx.Menu_Highlight.t2D描画( TJAPlayer3.app.Device, num2, num3, new Rectangle( 0x10, 0, 0x10, 0x20 ) );
|
||||
//TJAPlayer3.Tx.Menu_Highlight.t2D描画( TJAPlayer3.app.Device, num2, num3, new Rectangle( 0x10, 0, 0x10, 0x20 ) );
|
||||
}
|
||||
int num5 = 20;
|
||||
int x = 0x134;
|
||||
int y = 0x40;
|
||||
int num5 = TJAPlayer3.Skin.Config_KeyAssign_Move;
|
||||
int x = TJAPlayer3.Skin.Config_KeyAssign_Font[0];
|
||||
int y = TJAPlayer3.Skin.Config_KeyAssign_Font[1];
|
||||
TJAPlayer3.stageコンフィグ.actFont.t文字列描画( x, y, this.strパッド名, false, 0.75f );
|
||||
y += num5;
|
||||
CConfigIni.CKeyAssign.STKEYASSIGN[] stkeyassignArray = TJAPlayer3.ConfigIni.KeyAssign[ (int) this.part ][ (int) this.pad ];
|
||||
@ -160,34 +165,34 @@ namespace TJAPlayer3
|
||||
switch( stkeyassignArray[ i ].入力デバイス )
|
||||
{
|
||||
case E入力デバイス.キーボード:
|
||||
this.tアサインコードの描画_Keyboard( i + 1, x + 20, y, stkeyassignArray[ i ].ID, stkeyassignArray[ i ].コード, this.n現在の選択行 == i );
|
||||
this.tアサインコードの描画_Keyboard( i + 1, x + num5, y, stkeyassignArray[ i ].ID, stkeyassignArray[ i ].コード, this.n現在の選択行 == i );
|
||||
break;
|
||||
|
||||
case E入力デバイス.MIDI入力:
|
||||
this.tアサインコードの描画_MidiIn( i + 1, x + 20, y, stkeyassignArray[ i ].ID, stkeyassignArray[ i ].コード, this.n現在の選択行 == i );
|
||||
this.tアサインコードの描画_MidiIn( i + 1, x + num5, y, stkeyassignArray[ i ].ID, stkeyassignArray[ i ].コード, this.n現在の選択行 == i );
|
||||
break;
|
||||
|
||||
case E入力デバイス.ジョイパッド:
|
||||
this.tアサインコードの描画_Joypad( i + 1, x + 20, y, stkeyassignArray[ i ].ID, stkeyassignArray[ i ].コード, this.n現在の選択行 == i );
|
||||
this.tアサインコードの描画_Joypad( i + 1, x + num5, y, stkeyassignArray[ i ].ID, stkeyassignArray[ i ].コード, this.n現在の選択行 == i );
|
||||
break;
|
||||
|
||||
case E入力デバイス.マウス:
|
||||
this.tアサインコードの描画_Mouse( i + 1, x + 20, y, stkeyassignArray[ i ].ID, stkeyassignArray[ i ].コード, this.n現在の選択行 == i );
|
||||
this.tアサインコードの描画_Mouse( i + 1, x + num5, y, stkeyassignArray[ i ].ID, stkeyassignArray[ i ].コード, this.n現在の選択行 == i );
|
||||
break;
|
||||
|
||||
default:
|
||||
TJAPlayer3.stageコンフィグ.actFont.t文字列描画( x + 20, y, string.Format( "{0,2}.", i + 1 ), this.n現在の選択行 == i, 0.75f );
|
||||
TJAPlayer3.stageコンフィグ.actFont.t文字列描画( x + num5, y, string.Format( "{0,2}.", i + 1 ), this.n現在の選択行 == i, 0.75f );
|
||||
break;
|
||||
}
|
||||
y += num5;
|
||||
}
|
||||
TJAPlayer3.stageコンフィグ.actFont.t文字列描画( x + 20, y, "Reset", this.n現在の選択行 == 0x10, 0.75f );
|
||||
TJAPlayer3.stageコンフィグ.actFont.t文字列描画( x + num5, y, "Reset", this.n現在の選択行 == 0x10, 0.75f );
|
||||
y += num5;
|
||||
TJAPlayer3.stageコンフィグ.actFont.t文字列描画( x + 20, y, "<< Returnto List", this.n現在の選択行 == 0x11, 0.75f );
|
||||
TJAPlayer3.stageコンフィグ.actFont.t文字列描画( x + num5, y, "<< Returnto List", this.n現在の選択行 == 0x11, 0.75f );
|
||||
y += num5;
|
||||
if( this.bキー入力待ち && ( TJAPlayer3.Tx.Config_KeyAssign != null ) )
|
||||
{
|
||||
TJAPlayer3.Tx.Config_KeyAssign.t2D描画( TJAPlayer3.app.Device, 0x185, 0xd7 );
|
||||
TJAPlayer3.Tx.Config_KeyAssign.t2D描画( TJAPlayer3.app.Device, TJAPlayer3.Skin.Config_KeyAssign[0], TJAPlayer3.Skin.Config_KeyAssign[1]);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
@ -1569,14 +1569,16 @@ namespace TJAPlayer3
|
||||
|
||||
for (int i = 0; i < TJAPlayer3.ConfigIni.nPlayerCount; i++)
|
||||
{
|
||||
int diff = 640 - 354;
|
||||
int shift = 640 + ((i == 1) ? diff : -diff);
|
||||
int ap = TJAPlayer3.GetActualPlayer(i);
|
||||
|
||||
int[] clear = this.r現在選択中の曲.arスコア[(int)Difficulty.Dan].GPInfo[ap].nClear;
|
||||
|
||||
int currentRank = Math.Min(clear[0], 6) - 1;
|
||||
displayDanStatus(shift, (int)(344 - centerMove / 1.1f), currentRank, 0.2f);
|
||||
|
||||
int x = TJAPlayer3.Skin.SongSelect_Bar_X[barCenterNum] + TJAPlayer3.Skin.SongSelect_DanStatus_Offset_X[i];
|
||||
int y = TJAPlayer3.Skin.SongSelect_Bar_Y[barCenterNum] + TJAPlayer3.Skin.SongSelect_DanStatus_Offset_Y[i];
|
||||
|
||||
displayDanStatus(x, (int)(y - centerMove / 1.1f), currentRank, 0.2f);
|
||||
}
|
||||
|
||||
}
|
||||
@ -1586,14 +1588,16 @@ namespace TJAPlayer3
|
||||
|
||||
for (int i = 0; i < TJAPlayer3.ConfigIni.nPlayerCount; i++)
|
||||
{
|
||||
int diff = 640 - 354;
|
||||
int shift = 640 + ((i == 1) ? diff : -diff);
|
||||
int ap = TJAPlayer3.GetActualPlayer(i);
|
||||
|
||||
int[] clear = this.r現在選択中の曲.arスコア[(int)Difficulty.Tower].GPInfo[ap].nClear;
|
||||
|
||||
int currentRank = Math.Min(clear[0], 7) - 1;
|
||||
displayTowerStatus(shift, (int)(344 - centerMove / 1.1f), currentRank, 0.3f);
|
||||
|
||||
int x = TJAPlayer3.Skin.SongSelect_Bar_X[barCenterNum] + TJAPlayer3.Skin.SongSelect_TowerStatus_Offset_X[i];
|
||||
int y = TJAPlayer3.Skin.SongSelect_Bar_Y[barCenterNum] + TJAPlayer3.Skin.SongSelect_TowerStatus_Offset_Y[i];
|
||||
|
||||
displayTowerStatus(x, (int)(y - centerMove / 1.1f), currentRank, 0.3f);
|
||||
}
|
||||
}
|
||||
else if (this.r現在選択中の曲.arスコア[3] != null || this.r現在選択中の曲.arスコア[4] != null)
|
||||
@ -1602,15 +1606,16 @@ namespace TJAPlayer3
|
||||
|
||||
for (int i = 0; i < TJAPlayer3.ConfigIni.nPlayerCount; i++)
|
||||
{
|
||||
int diff = 640 - 354;
|
||||
int shift = 640 + ((i == 1) ? diff : -diff) - 354;
|
||||
int ap = TJAPlayer3.GetActualPlayer(i);
|
||||
|
||||
int[] クリア = sr.GPInfo[ap].nClear;
|
||||
|
||||
int[] スコアランク = sr.GPInfo[ap].nScoreRank;
|
||||
|
||||
displayRegularCrowns(TJAPlayer3.Skin.SongSelect_Bar_X[barCenterNum] + 30 + shift, (int)(TJAPlayer3.Skin.SongSelect_Bar_Y[barCenterNum] + 30 - centerMove / 1.1f), クリア, スコアランク, 0.8f + BarAnimeCount / 620f);
|
||||
int x = TJAPlayer3.Skin.SongSelect_Bar_X[barCenterNum] + TJAPlayer3.Skin.SongSelect_RegularCrowns_Offset_X[i];
|
||||
int y = TJAPlayer3.Skin.SongSelect_Bar_Y[barCenterNum] + TJAPlayer3.Skin.SongSelect_RegularCrowns_Offset_Y[i];
|
||||
|
||||
displayRegularCrowns(x, (int)(y - centerMove / 1.1f), クリア, スコアランク, 0.8f + BarAnimeCount / 620f);
|
||||
|
||||
}
|
||||
}
|
||||
@ -1620,7 +1625,8 @@ namespace TJAPlayer3
|
||||
|
||||
#region [Favorite status]
|
||||
|
||||
displayFavoriteStatus(TJAPlayer3.Skin.SongSelect_Bar_X[barCenterNum] + 90, (int)(TJAPlayer3.Skin.SongSelect_Bar_Y[barCenterNum] + 30 - centerMove / 1.1f), this.r現在選択中の曲.uniqueId, 1f + BarAnimeCount / 620f);
|
||||
displayFavoriteStatus(TJAPlayer3.Skin.SongSelect_Bar_X[barCenterNum] + TJAPlayer3.Skin.SongSelect_FavoriteStatus_Offset[0],
|
||||
(int)(TJAPlayer3.Skin.SongSelect_Bar_Y[barCenterNum] + TJAPlayer3.Skin.SongSelect_FavoriteStatus_Offset[1] - centerMove / 1.1f), this.r現在選択中の曲.uniqueId, 1f + BarAnimeCount / 620f);
|
||||
|
||||
#endregion
|
||||
|
||||
@ -2684,10 +2690,7 @@ namespace TJAPlayer3
|
||||
|
||||
for (int i = 0; i < TJAPlayer3.ConfigIni.nPlayerCount; i++)
|
||||
{
|
||||
int diff = 640 - 354;
|
||||
int shift = 640 + ((i == 1) ? diff : -diff) - 354;
|
||||
|
||||
displayDanStatus(x + 30 + shift, y + 30, Math.Min(クリア[i][0], 6) - 1, 0.2f);
|
||||
displayDanStatus(x + TJAPlayer3.Skin.SongSelect_DanStatus_Offset_X[i], y + TJAPlayer3.Skin.SongSelect_DanStatus_Offset_Y[i], Math.Min(クリア[i][0], 6) - 1, 0.2f);
|
||||
}
|
||||
}
|
||||
else if (_songType == 2)
|
||||
@ -2696,12 +2699,7 @@ namespace TJAPlayer3
|
||||
|
||||
for (int i = 0; i < TJAPlayer3.ConfigIni.nPlayerCount; i++)
|
||||
{
|
||||
int diff = 640 - 354;
|
||||
int shift = 640 + ((i == 1) ? diff : -diff) - 354;
|
||||
|
||||
displayTowerStatus(x + 30 + shift, y + 30, Math.Min(クリア[i][0], 7) - 1, 0.3f);
|
||||
|
||||
// TJAPlayer3.act文字コンソール.tPrint(x + 30 + shift - 50, y + 30, C文字コンソール.Eフォント種別.白, (Math.Min(クリア[i][0], 7) - 1).ToString());
|
||||
displayTowerStatus(x + TJAPlayer3.Skin.SongSelect_DanStatus_Offset_X[i], y + TJAPlayer3.Skin.SongSelect_DanStatus_Offset_Y[i], Math.Min(クリア[i][0], 7) - 1, 0.3f);
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -2710,14 +2708,11 @@ namespace TJAPlayer3
|
||||
|
||||
for (int i = 0; i < TJAPlayer3.ConfigIni.nPlayerCount; i++)
|
||||
{
|
||||
int diff = 640 - 354;
|
||||
int shift = 640 + ((i == 1) ? diff : -diff) - 354;
|
||||
|
||||
displayRegularCrowns(x + 30 + shift, y + 30, クリア[i], スコアランク[i], 0.8f);
|
||||
displayRegularCrowns(x + TJAPlayer3.Skin.SongSelect_DanStatus_Offset_X[i], y + TJAPlayer3.Skin.SongSelect_DanStatus_Offset_Y[i], クリア[i], スコアランク[i], 0.8f);
|
||||
}
|
||||
}
|
||||
|
||||
displayFavoriteStatus(x + 90, y + 30, csu, 1f);
|
||||
displayFavoriteStatus(x + TJAPlayer3.Skin.SongSelect_FavoriteStatus_Offset[0], y + TJAPlayer3.Skin.SongSelect_FavoriteStatus_Offset[1], csu, 1f);
|
||||
tPrintLevelNumberBig(
|
||||
x + TJAPlayer3.Skin.SongSelect_Level_Offset[0],
|
||||
y + TJAPlayer3.Skin.SongSelect_Level_Offset[1],
|
||||
@ -2730,10 +2725,13 @@ namespace TJAPlayer3
|
||||
{
|
||||
if (grade >= 0 && TJAPlayer3.Tx.TowerResult_ScoreRankEffect != null)
|
||||
{
|
||||
int scoreRankEffect_width = TJAPlayer3.Tx.TowerResult_ScoreRankEffect.szテクスチャサイズ.Width / 7;
|
||||
int scoreRankEffect_height = TJAPlayer3.Tx.TowerResult_ScoreRankEffect.szテクスチャサイズ.Height;
|
||||
|
||||
TJAPlayer3.Tx.TowerResult_ScoreRankEffect.Opacity = 255;
|
||||
TJAPlayer3.Tx.TowerResult_ScoreRankEffect.vc拡大縮小倍率.X = _resize;
|
||||
TJAPlayer3.Tx.TowerResult_ScoreRankEffect.vc拡大縮小倍率.Y = _resize;
|
||||
TJAPlayer3.Tx.TowerResult_ScoreRankEffect.t2D拡大率考慮中央基準描画(TJAPlayer3.app.Device, x, y, new Rectangle(grade * 229, 0, 229, 194));
|
||||
TJAPlayer3.Tx.TowerResult_ScoreRankEffect.t2D拡大率考慮中央基準描画(TJAPlayer3.app.Device, x, y, new Rectangle(grade * scoreRankEffect_width, 0, scoreRankEffect_width, scoreRankEffect_height));
|
||||
TJAPlayer3.Tx.TowerResult_ScoreRankEffect.vc拡大縮小倍率.X = 1f;
|
||||
TJAPlayer3.Tx.TowerResult_ScoreRankEffect.vc拡大縮小倍率.Y = 1f;
|
||||
}
|
||||
@ -2743,10 +2741,13 @@ namespace TJAPlayer3
|
||||
{
|
||||
if (grade >= 0 && TJAPlayer3.Tx.DanResult_Rank != null)
|
||||
{
|
||||
int danResult_rank_width = TJAPlayer3.Tx.DanResult_Rank.szテクスチャサイズ.Width / 7;
|
||||
int danResult_rank_height = TJAPlayer3.Tx.DanResult_Rank.szテクスチャサイズ.Height;
|
||||
|
||||
TJAPlayer3.Tx.DanResult_Rank.Opacity = 255;
|
||||
TJAPlayer3.Tx.DanResult_Rank.vc拡大縮小倍率.X = _resize;
|
||||
TJAPlayer3.Tx.DanResult_Rank.vc拡大縮小倍率.Y = _resize;
|
||||
TJAPlayer3.Tx.DanResult_Rank.t2D拡大率考慮中央基準描画(TJAPlayer3.app.Device, x, y, new Rectangle(334 * (grade + 1), 0, 334, 334));
|
||||
TJAPlayer3.Tx.DanResult_Rank.t2D拡大率考慮中央基準描画(TJAPlayer3.app.Device, x, y, new Rectangle(danResult_rank_width * (grade + 1), 0, danResult_rank_width, danResult_rank_height));
|
||||
TJAPlayer3.Tx.DanResult_Rank.vc拡大縮小倍率.X = 1f;
|
||||
TJAPlayer3.Tx.DanResult_Rank.vc拡大縮小倍率.Y = 1f;
|
||||
}
|
||||
@ -2780,18 +2781,23 @@ namespace TJAPlayer3
|
||||
{
|
||||
float width = TJAPlayer3.Tx.SongSelect_Crown.szテクスチャサイズ.Width / 15.0f;
|
||||
int height = TJAPlayer3.Tx.SongSelect_Crown.szテクスチャサイズ.Height;
|
||||
TJAPlayer3.Tx.SongSelect_Crown?.t2D拡大率考慮中央基準描画(TJAPlayer3.app.Device, x, y, new RectangleF(12 * width + (クリア[bestCrown] - 1) * width, 0, width, height));
|
||||
TJAPlayer3.Tx.SongSelect_Crown?.t2D拡大率考慮中央基準描画(TJAPlayer3.app.Device, x + TJAPlayer3.Skin.SongSelect_RegularCrowns_ScoreRank_Offset_X[0], y + TJAPlayer3.Skin.SongSelect_RegularCrowns_ScoreRank_Offset_Y[0],
|
||||
new RectangleF(12 * width + (クリア[bestCrown] - 1) * width, 0, width, height));
|
||||
}
|
||||
|
||||
if (bestScoreRank >= 0)
|
||||
{
|
||||
int width = TJAPlayer3.Tx.SongSelect_ScoreRank.szテクスチャサイズ.Width;
|
||||
float height = TJAPlayer3.Tx.SongSelect_ScoreRank.szテクスチャサイズ.Height / 7.0f;
|
||||
TJAPlayer3.Tx.SongSelect_ScoreRank?.t2D拡大率考慮中央基準描画(TJAPlayer3.app.Device, x, y + 30, new RectangleF(0, (スコアランク[bestScoreRank] - 1) * height, width, height));
|
||||
TJAPlayer3.Tx.SongSelect_ScoreRank?.t2D拡大率考慮中央基準描画(TJAPlayer3.app.Device, x + TJAPlayer3.Skin.SongSelect_RegularCrowns_ScoreRank_Offset_X[1], y + TJAPlayer3.Skin.SongSelect_RegularCrowns_ScoreRank_Offset_Y[1],
|
||||
new RectangleF(0, (スコアランク[bestScoreRank] - 1) * height, width, height));
|
||||
}
|
||||
|
||||
if (TJAPlayer3.Tx.Dani_Difficulty_Cymbol != null)
|
||||
{
|
||||
int dani_difficulty_cymbol_width = TJAPlayer3.Tx.Dani_Difficulty_Cymbol.szテクスチャサイズ.Width / 5;
|
||||
int dani_difficulty_cymbol_height = TJAPlayer3.Tx.Dani_Difficulty_Cymbol.szテクスチャサイズ.Height;
|
||||
|
||||
TJAPlayer3.Tx.Dani_Difficulty_Cymbol.Opacity = TJAPlayer3.Tx.SongSelect_Favorite.Opacity;
|
||||
TJAPlayer3.Tx.Dani_Difficulty_Cymbol.vc拡大縮小倍率.X = 0.5f;
|
||||
TJAPlayer3.Tx.Dani_Difficulty_Cymbol.vc拡大縮小倍率.Y = 0.5f;
|
||||
@ -2799,17 +2805,17 @@ namespace TJAPlayer3
|
||||
if (bestCrown >= 0)
|
||||
{
|
||||
TJAPlayer3.Tx.Dani_Difficulty_Cymbol.t2D中心基準描画(TJAPlayer3.app.Device,
|
||||
x + 22,
|
||||
y + 22,
|
||||
new Rectangle(bestCrown * 53, 0, 53, 53));
|
||||
x + TJAPlayer3.Skin.SongSelect_RegularCrowns_Difficulty_Cymbol_Offset_X[0],
|
||||
y + TJAPlayer3.Skin.SongSelect_RegularCrowns_Difficulty_Cymbol_Offset_Y[0],
|
||||
new Rectangle(bestCrown * dani_difficulty_cymbol_width, 0, dani_difficulty_cymbol_width, dani_difficulty_cymbol_height));
|
||||
}
|
||||
|
||||
if (bestScoreRank >= 0)
|
||||
{
|
||||
TJAPlayer3.Tx.Dani_Difficulty_Cymbol.t2D中心基準描画(TJAPlayer3.app.Device,
|
||||
x + 22,
|
||||
y + 52,
|
||||
new Rectangle(bestScoreRank * 53, 0, 53, 53));
|
||||
x + TJAPlayer3.Skin.SongSelect_RegularCrowns_Difficulty_Cymbol_Offset_X[1],
|
||||
y + TJAPlayer3.Skin.SongSelect_RegularCrowns_Difficulty_Cymbol_Offset_Y[1],
|
||||
new Rectangle(bestScoreRank * dani_difficulty_cymbol_width, 0, dani_difficulty_cymbol_width, dani_difficulty_cymbol_height));
|
||||
}
|
||||
|
||||
TJAPlayer3.Tx.Dani_Difficulty_Cymbol.Opacity = 255;
|
||||
|
@ -16,6 +16,78 @@ namespace TJAPlayer3
|
||||
|
||||
public CActDFPFont()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// メソッド
|
||||
|
||||
public int n文字列長dot( string str )
|
||||
{
|
||||
return this.n文字列長dot( str, 1f );
|
||||
}
|
||||
public int n文字列長dot( string str, float fScale )
|
||||
{
|
||||
if( string.IsNullOrEmpty( str ) )
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
int num = 0;
|
||||
foreach( char ch in str )
|
||||
{
|
||||
foreach( ST文字領域 st文字領域 in this.st文字領域 )
|
||||
{
|
||||
if( st文字領域.ch == ch )
|
||||
{
|
||||
num += (int) ( ( st文字領域.rc.Width - 5 ) * fScale );
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return num;
|
||||
}
|
||||
public void t文字列描画( int x, int y, string str )
|
||||
{
|
||||
this.t文字列描画( x, y, str, false, 1f );
|
||||
}
|
||||
public void t文字列描画( int x, int y, string str, bool b強調 )
|
||||
{
|
||||
this.t文字列描画( x, y, str, b強調, 1f );
|
||||
}
|
||||
public void t文字列描画( int x, int y, string str, bool b強調, float fScale )
|
||||
{
|
||||
if( !base.b活性化してない && !string.IsNullOrEmpty( str ) )
|
||||
{
|
||||
CTexture texture = b強調 ? TJAPlayer3.Tx.Config_Font_Bold : TJAPlayer3.Tx.Config_Font;
|
||||
if( texture != null )
|
||||
{
|
||||
texture.vc拡大縮小倍率 = new Vector3( fScale, fScale, 1f );
|
||||
foreach( char ch in str )
|
||||
{
|
||||
foreach( ST文字領域 st文字領域 in this.st文字領域 )
|
||||
{
|
||||
if( st文字領域.ch == ch )
|
||||
{
|
||||
texture.t2D描画( TJAPlayer3.app.Device, x, y, st文字領域.rc );
|
||||
x += (int) ( ( st文字領域.rc.Width - 5 ) * fScale );
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// CActivity 実装
|
||||
|
||||
public override void OnManagedリソースの作成()
|
||||
{
|
||||
if( !base.b活性化してない )
|
||||
{
|
||||
//this.tx通常文字 = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\Screen font dfp.png" ), false );
|
||||
//this.tx強調文字 = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\Screen font dfp em.png" ), false );
|
||||
|
||||
|
||||
ST文字領域[] st文字領域Array = new ST文字領域[0x5d + 2];
|
||||
ST文字領域 st文字領域94 = new ST文字領域();
|
||||
ST文字領域 st文字領域 = st文字領域94;
|
||||
@ -489,78 +561,16 @@ namespace TJAPlayer3
|
||||
st文字領域Array[0x5e].ch = '`';
|
||||
st文字領域Array[0x5e].rc = new Rectangle(69, 226, 14, 29);
|
||||
|
||||
float scaleX = TJAPlayer3.Tx.Config_Font.szテクスチャサイズ.Width / 256.0f;
|
||||
float scaleY = TJAPlayer3.Tx.Config_Font.szテクスチャサイズ.Height / 256.0f;
|
||||
|
||||
for (int i = 0; i < st文字領域Array.Length; i++)
|
||||
{
|
||||
st文字領域Array[i].rc = new Rectangle((int)(st文字領域Array[i].rc.X * scaleX), (int)(st文字領域Array[i].rc.Y * scaleY),
|
||||
(int)(st文字領域Array[i].rc.Width * scaleX), (int)(st文字領域Array[i].rc.Height * scaleY));
|
||||
}
|
||||
|
||||
this.st文字領域 = st文字領域Array;
|
||||
}
|
||||
|
||||
|
||||
// メソッド
|
||||
|
||||
public int n文字列長dot( string str )
|
||||
{
|
||||
return this.n文字列長dot( str, 1f );
|
||||
}
|
||||
public int n文字列長dot( string str, float fScale )
|
||||
{
|
||||
if( string.IsNullOrEmpty( str ) )
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
int num = 0;
|
||||
foreach( char ch in str )
|
||||
{
|
||||
foreach( ST文字領域 st文字領域 in this.st文字領域 )
|
||||
{
|
||||
if( st文字領域.ch == ch )
|
||||
{
|
||||
num += (int) ( ( st文字領域.rc.Width - 5 ) * fScale );
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return num;
|
||||
}
|
||||
public void t文字列描画( int x, int y, string str )
|
||||
{
|
||||
this.t文字列描画( x, y, str, false, 1f );
|
||||
}
|
||||
public void t文字列描画( int x, int y, string str, bool b強調 )
|
||||
{
|
||||
this.t文字列描画( x, y, str, b強調, 1f );
|
||||
}
|
||||
public void t文字列描画( int x, int y, string str, bool b強調, float fScale )
|
||||
{
|
||||
if( !base.b活性化してない && !string.IsNullOrEmpty( str ) )
|
||||
{
|
||||
CTexture texture = b強調 ? TJAPlayer3.Tx.Config_Font_Bold : TJAPlayer3.Tx.Config_Font;
|
||||
if( texture != null )
|
||||
{
|
||||
texture.vc拡大縮小倍率 = new Vector3( fScale, fScale, 1f );
|
||||
foreach( char ch in str )
|
||||
{
|
||||
foreach( ST文字領域 st文字領域 in this.st文字領域 )
|
||||
{
|
||||
if( st文字領域.ch == ch )
|
||||
{
|
||||
texture.t2D描画( TJAPlayer3.app.Device, x, y, st文字領域.rc );
|
||||
x += (int) ( ( st文字領域.rc.Width - 5 ) * fScale );
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// CActivity 実装
|
||||
|
||||
public override void OnManagedリソースの作成()
|
||||
{
|
||||
if( !base.b活性化してない )
|
||||
{
|
||||
//this.tx通常文字 = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\Screen font dfp.png" ), false );
|
||||
//this.tx強調文字 = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\Screen font dfp em.png" ), false );
|
||||
base.OnManagedリソースの作成();
|
||||
}
|
||||
}
|
||||
@ -594,7 +604,7 @@ namespace TJAPlayer3
|
||||
public Rectangle rc;
|
||||
}
|
||||
|
||||
private readonly ST文字領域[] st文字領域;
|
||||
private ST文字領域[] st文字領域;
|
||||
//private CTexture tx強調文字;
|
||||
//private CTexture tx通常文字;
|
||||
//-----------------
|
||||
|
@ -19,6 +19,7 @@ Config_Item_Font_Offset=0,8
|
||||
|
||||
|
||||
Config_Font_Scale=20
|
||||
Config_Font_Scale_Description=14.0
|
||||
|
||||
|
||||
Config_ItemBox_Count=10
|
||||
@ -36,3 +37,12 @@ Config_ExplanationPanel=67,382
|
||||
|
||||
|
||||
Config_SkinSample1=124,449
|
||||
|
||||
|
||||
Config_KeyAssign=389,215
|
||||
|
||||
Config_KeyAssign_Menu_Highlight=324,66
|
||||
|
||||
Config_KeyAssign_Font=308,64
|
||||
|
||||
Config_KeyAssign_Move=20
|
@ -182,6 +182,12 @@ Game_Gauge_ClearText_X=1038,1038
|
||||
|
||||
Game_Gauge_ClearText_Y=144,554
|
||||
|
||||
|
||||
Game_Gauge_ClearText_X_AI=1087
|
||||
|
||||
Game_Gauge_ClearText_Y_AI=153
|
||||
|
||||
|
||||
Game_Gauge_ClearText_Rect=0,44,58,24
|
||||
|
||||
Game_Gauge_ClearText_Clear_Rect=58,44,58,24
|
||||
|
@ -1,13 +1,6 @@
|
||||
;Included file
|
||||
;あとは通常通り設定できます
|
||||
|
||||
SongSelect_BoxExplanation_X=0
|
||||
SongSelect_BoxExplanation_Y=0
|
||||
SongSelect_Title_X=0
|
||||
SongSelect_Title_Y=0
|
||||
SongSelect_BoxExplanation_Interval=30
|
||||
|
||||
|
||||
PopupMenu_Menu_Title=460,40
|
||||
|
||||
PopupMenu_Title=540,44
|
||||
|
@ -3,6 +3,7 @@
|
||||
Name=OpenSkin
|
||||
Version=0.5.3.2
|
||||
Creator=0AuBSQ
|
||||
Resolution=1280,720
|
||||
|
||||
|
||||
; "#include ファイル名" 命令を使うことで
|
||||
|
@ -3,10 +3,50 @@
|
||||
|
||||
SongSelect_Bar_Count=9
|
||||
|
||||
|
||||
SongSelect_Bar_X=214,239,263,291,324,358,386,411,436
|
||||
|
||||
SongSelect_Bar_Y=-127,-36,55,145,314,485,574,665,756
|
||||
|
||||
|
||||
SongSelect_Bar_Anim_X=0,600,500,400,0,-400,-500,-600,0
|
||||
|
||||
SongSelect_Bar_Anim_Y=0,1800,1500,1200,0,-1200,-1500,-1800,0
|
||||
|
||||
|
||||
SongSelect_Bar_Title_Offset=316,62
|
||||
|
||||
SongSelect_Bar_SubTitle_Offset=316,90
|
||||
|
||||
|
||||
SongSelect_DanStatus_Offset_X=30,602
|
||||
|
||||
SongSelect_DanStatus_Offset_Y=30,30
|
||||
|
||||
|
||||
SongSelect_TowerStatus_Offset_X=30,602
|
||||
|
||||
SongSelect_TowerStatus_Offset_Y=30,30
|
||||
|
||||
|
||||
SongSelect_RegularCrowns_Offset_X=30,602
|
||||
|
||||
SongSelect_RegularCrowns_Offset_Y=30,30
|
||||
|
||||
|
||||
SongSelect_RegularCrowns_ScoreRank_Offset_X=0,0
|
||||
|
||||
SongSelect_RegularCrowns_ScoreRank_Offset_Y=0,30
|
||||
|
||||
|
||||
SongSelect_RegularCrowns_Difficulty_Cymbol_Offset_X=22,22
|
||||
|
||||
SongSelect_RegularCrowns_Difficulty_Cymbol_Offset_Y=22,52
|
||||
|
||||
|
||||
SongSelect_FavoriteStatus_Offset=90,30
|
||||
|
||||
|
||||
SongSelect_Bar_Title_Offset=316,62
|
||||
|
||||
SongSelect_Bar_SubTitle_Offset=316,90
|
||||
@ -39,6 +79,9 @@ SongSelect_Level_Number_Y=400,400,400,400
|
||||
SongSelect_Level_Number_Interval=11,0
|
||||
|
||||
|
||||
SongSelect_Box_Opening_Interval=1
|
||||
|
||||
|
||||
SongSelect_Difficulty_Select_Title=640,140
|
||||
|
||||
SongSelect_Difficulty_Select_SubTitle=640,180
|
||||
|
Loading…
x
Reference in New Issue
Block a user