//}
#endregion
+ public override void On活性化()
+ {
+ this.prvFont = new CPrivateFastFont( CSkin.Path( @"Graphics\fonts\mplus-1p-heavy.ttf" ), 20 );
+ this.ftフォント = new Font( "MS PGothic", 18.0f, FontStyle.Bold, GraphicsUnit.Pixel );
+ base.On活性化();
+ }
+
public override void OnManagedリソースの作成()
{
base.OnManagedリソースの作成();
CDTXMania.tテクスチャの解放( ref this.tx説明文パネル );
base.OnManagedリソースの解放();
}
-
- public override void On活性化()
- {
- this.prvFont = new CPrivateFastFont( CSkin.Path( @"Graphics\fonts\mplus-1p-heavy.ttf" ), 20 );
- this.ftフォント = new Font( "MS PGothic", 18.0f, FontStyle.Bold, GraphicsUnit.Pixel );
- base.On活性化();
- }
-
+
public override int On進行描画()
{
throw new InvalidOperationException( "t進行描画(bool)のほうを使用してください。" );
}
//-----------------
#endregion
+
+ #region[ 説明文パネル ]
+ if( this.tx説明文 != null )
+ this.tx説明文.t2D描画( CDTXMania.app.Device, 0x43, 0x17e );
+ #endregion
#region [ 項目リストにフォーカスがあって、かつスクロールが停止しているなら、パネルの上下に▲印を描画する。]
//-----------------
{
this.txバー選択中.t2D描画( CDTXMania.app.Device, 660, 312 );
}
+ if( ( this.stバー情報[ nパネル番号 ].eバー種別 == Eバー種別.Box || this.stバー情報[ nパネル番号 ].eバー種別 == Eバー種別.BackBox ) && this.txバー_フォルダ != null )
+ {
+ this.txバー_フォルダ.t2D描画( CDTXMania.app.Device, 660, 315 );
+ }
//-----------------
#endregion
#region [ タイトル名テクスチャを描画。]
//-----------------
#endregion
#region[ ジャケット画像を描画 ]
- if( this.txTumbnail[ nパネル番号 ] != null )
+ if( this.txTumbnail[ nパネル番号 ] != null && ( this.stバー情報[ nパネル番号 ].eバー種別 == Eバー種別.Score || this.stバー情報[ nパネル番号 ].eバー種別 == Eバー種別.Random ) )
{
//縮小 64x64
float fRetW = 64.0f / this.txTumbnail[ nパネル番号 ].szテクスチャサイズ.Width;
// int x = i選曲バーX座標 + 500 - (int)(db割合0to1 * 500);
int y = this.ptバーの基本座標[ i ].Y;
// this.tバーの描画( x, y, this.stバー情報[ nパネル番号 ].eバー種別, false );
+ if( ( this.stバー情報[ nパネル番号 ].eバー種別 == Eバー種別.Box || this.stバー情報[ nパネル番号 ].eバー種別 == Eバー種別.BackBox ) && this.txバー_フォルダ != null )
+ {
+ this.txバー_フォルダ.t2D描画( CDTXMania.app.Device, 691, y - 12 );
+ }
//-----------------
#endregion
#region[ ジャケット画像とクリアマークを描画 ]
- if( this.txTumbnail[ nパネル番号 ] != null )
+ if( this.txTumbnail[ nパネル番号 ] != null && ( this.stバー情報[ nパネル番号 ].eバー種別 == Eバー種別.Score || this.stバー情報[ nパネル番号 ].eバー種別 == Eバー種別.Random ) )
{
//縮小 64x64
float fRetW = 64.0f / this.txTumbnail[ nパネル番号 ].szテクスチャサイズ.Width;
{
this.txバー選択中.t2D描画( CDTXMania.app.Device, 660, 312 );
}
+ if( ( this.stバー情報[ nパネル番号 ].eバー種別 == Eバー種別.Box || this.stバー情報[ nパネル番号 ].eバー種別 == Eバー種別.BackBox ) && this.txバー_フォルダ != null )
+ {
+ this.txバー_フォルダ.t2D描画( CDTXMania.app.Device, 660, y - 7 );
+ }
//-----------------
#endregion
#region[ ジャケット画像とクリアマークを描画 ]
- if( this.txTumbnail[ nパネル番号 ] != null )
+ if( this.txTumbnail[ nパネル番号 ] != null && ( this.stバー情報[ nパネル番号 ].eバー種別 == Eバー種別.Score || this.stバー情報[ nパネル番号 ].eバー種別 == Eバー種別.Random ) )
{
//縮小 64x64
float fRetW = 64.0f / this.txTumbnail[ nパネル番号 ].szテクスチャサイズ.Width;
//}
if( ( this.stバー情報[ nパネル番号 ].eバー種別 == Eバー種別.Box || this.stバー情報[ nパネル番号 ].eバー種別 == Eバー種別.BackBox ) && this.txバー_フォルダ != null )
{
- this.txバー_フォルダ.t2D描画( CDTXMania.app.Device, 660, y - 12 );
+ this.txバー_フォルダ.t2D描画( CDTXMania.app.Device, 691, y - 12 );
}
//-----------------
#endregion
#region[ ジャケット画像とクリアマークを描画 ]
- if( this.txTumbnail[ nパネル番号 ] != null )
+ if( this.txTumbnail[ nパネル番号 ] != null && ( this.stバー情報[ nパネル番号 ].eバー種別 == Eバー種別.Score || this.stバー情報[ nパネル番号 ].eバー種別 == Eバー種別.Random ) )
{
//縮小 64x64
float fRetW = 64.0f / this.txTumbnail[ nパネル番号 ].szテクスチャサイズ.Width;
}
private CTexture t指定された文字テクスチャを生成してバーに格納する( int nバー番号, string str文字, Eバー種別 eType )
{
+ if( eType == Eバー種別.Random ) // 2017.12.24 ランダムの場合、固有の文字列を付与する
+ {
+ str文字 = "ランダムカテゴリー内";
+ }
+
Bitmap bmp;
bmp = prvFont.DrawPrivateFont( str文字, CPrivateFont.DrawMode.Edge, Color.Black, Color.Black, Color.White, Color.White, true );
CTexture tx文字テクスチャ = CDTXMania.tテクスチャの生成( bmp, false );
int num4 = 0;
int num5 = 0;
int num6 = 0;
- int nJudgePosY = CDTXMania.stage演奏ドラム画面.演奏判定ライン座標.n判定ラインY座標( E楽器パート.DRUMS, false, CDTXMania.ConfigIni.bReverse.Drums, false, true );
+ int nJudgePosY = 0;
+ if( CDTXMania.bXGRelease ) CDTXMania.stage演奏ドラム画面.演奏判定ライン座標.n判定ラインY座標( E楽器パート.DRUMS, false, CDTXMania.ConfigIni.bReverse.Drums, false, true );
+ else CDTXMania.stage演奏ドラム画面GITADORA.演奏判定ライン座標.n判定ラインY座標( E楽器パート.DRUMS, false, CDTXMania.ConfigIni.bReverse.Drums, false, true );
base.iP_A = nJudgePosY - 211;
base.iP_B = nJudgePosY + 23; //これは固定値にしてもいいのではないか?
if( j < 10 )
str3 = strArray[0].Trim();
str4 = strArray[1].Trim();
//-----------------------------
+ if (str3.Equals("SkinType"))
+ {
+ CDTXMania.bXGRelease = C変換.n値を文字列から取得して範囲内に丸めて返す( str4, 0, 1, 0 ) == 0 ? true : false;
+ }
if (str3.Equals("NamePlateType"))
{
CDTXMania.ConfigIni.eNamePlateType = (Eタイプ)C変換.n値を文字列から取得して範囲内に丸めて返す( str4, 0, 3, (int)CDTXMania.ConfigIni.eNamePlateType );