| 605 |
if( this.b活性化してない ) |
if( this.b活性化してない ) |
| 606 |
return; |
return; |
| 607 |
|
|
|
this.tx曲名バー.Score = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_bar score.png" ), false ); |
|
|
this.tx曲名バー.Box = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_bar box.png" ), false ); |
|
|
this.tx曲名バー.Other = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_bar other.png" ), false ); |
|
|
this.tx選曲バー.Score = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_bar score selected.png" ), false ); |
|
|
this.tx選曲バー.Box = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_bar box selected.png" ), false ); |
|
|
this.tx選曲バー.Other = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_bar other selected.png" ), false ); |
|
| 608 |
this.txスキル数字 = CDTXMania.tテクスチャの生成( CSkin.Path(@"Graphics\ScreenSelect skill number on list.png" ), false ); |
this.txスキル数字 = CDTXMania.tテクスチャの生成( CSkin.Path(@"Graphics\ScreenSelect skill number on list.png" ), false ); |
| 609 |
this.tx選曲パネル = CDTXMania.tテクスチャの生成(CSkin.Path(@"Graphics\5_image_panel_guitar.png")); |
this.tx選曲パネル = CDTXMania.tテクスチャの生成(CSkin.Path(@"Graphics\5_image_panel_guitar.png")); |
| 610 |
|
|
| 612 |
this.tx選曲パネル = CDTXMania.tテクスチャの生成(CSkin.Path(@"Graphics\5_image_panel.png")); |
this.tx選曲パネル = CDTXMania.tテクスチャの生成(CSkin.Path(@"Graphics\5_image_panel.png")); |
| 613 |
|
|
| 614 |
this.txパネル = CDTXMania.tテクスチャの生成(CSkin.Path(@"Graphics\5_music panel.png")); |
this.txパネル = CDTXMania.tテクスチャの生成(CSkin.Path(@"Graphics\5_music panel.png")); |
|
//this.txジャケットボックスクローズ = CDTXMania.tテクスチャの生成( CSkin.Path(@"Graphics\5_preimage backbox.png") ); |
|
|
//this.txジャケットランダム = CDTXMania.tテクスチャの生成( CSkin.Path(@"Graphics\5_preimage random.png") ); |
|
| 615 |
this.tx帯 = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_backpanel.png" ) ); |
this.tx帯 = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_backpanel.png" ) ); |
| 616 |
this.tx色帯 = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_ColorBar.png" ) ); |
this.tx色帯 = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_ColorBar.png" ) ); |
| 617 |
this.txランプ用帯 = CDTXMania.tテクスチャの生成( CSkin.Path(@"Graphics\5_lamppanel.png" )); |
this.txランプ用帯 = CDTXMania.tテクスチャの生成( CSkin.Path(@"Graphics\5_lamppanel.png" )); |
| 740 |
CDTXMania.t安全にDisposeする( ref this.txスキル数字 ); |
CDTXMania.t安全にDisposeする( ref this.txスキル数字 ); |
| 741 |
CDTXMania.t安全にDisposeする( ref this.txEnumeratingSongs ); |
CDTXMania.t安全にDisposeする( ref this.txEnumeratingSongs ); |
| 742 |
CDTXMania.t安全にDisposeする( ref this.txSongNotFound ); |
CDTXMania.t安全にDisposeする( ref this.txSongNotFound ); |
|
CDTXMania.t安全にDisposeする( ref this.tx曲名バー.Score ); |
|
|
CDTXMania.t安全にDisposeする( ref this.tx曲名バー.Box ); |
|
|
CDTXMania.t安全にDisposeする( ref this.tx曲名バー.Other ); |
|
|
CDTXMania.t安全にDisposeする( ref this.tx選曲バー.Score ); |
|
|
CDTXMania.t安全にDisposeする( ref this.tx選曲バー.Box ); |
|
|
CDTXMania.t安全にDisposeする( ref this.tx選曲バー.Other ); |
|
| 743 |
CDTXMania.t安全にDisposeする( ref this.tx選曲パネル ); |
CDTXMania.t安全にDisposeする( ref this.tx選曲パネル ); |
| 744 |
CDTXMania.t安全にDisposeする( ref this.txパネル ); |
CDTXMania.t安全にDisposeする( ref this.txパネル ); |
| 745 |
CDTXMania.t安全にDisposeする( ref this.txクリアランプ ); |
CDTXMania.t安全にDisposeする( ref this.txクリアランプ ); |
|
//CDTXMania.t安全にDisposeする( ref this.txジャケットボックスクローズ ); |
|
|
//CDTXMania.t安全にDisposeする( ref this.txジャケットランダム ); |
|
| 746 |
CDTXMania.t安全にDisposeする( ref this.tx帯 ); |
CDTXMania.t安全にDisposeする( ref this.tx帯 ); |
| 747 |
CDTXMania.t安全にDisposeする( ref this.tx色帯 ); |
CDTXMania.t安全にDisposeする( ref this.tx色帯 ); |
| 748 |
CDTXMania.t安全にDisposeする( ref this.txランプ用帯 ); |
CDTXMania.t安全にDisposeする( ref this.txランプ用帯 ); |
| 1619 |
public STDGBVALUE<int> nスキル値; |
public STDGBVALUE<int> nスキル値; |
| 1620 |
public Color col文字色; |
public Color col文字色; |
| 1621 |
public string strDTXフォルダのパス; |
public string strDTXフォルダのパス; |
|
public string[] ar難易度ラベル; |
|
| 1622 |
public Cスコア.ST譜面情報 ar譜面情報; |
public Cスコア.ST譜面情報 ar譜面情報; |
| 1623 |
} |
} |
| 1624 |
|
|
| 1748 |
private CTexture txSongNotFound, txEnumeratingSongs; |
private CTexture txSongNotFound, txEnumeratingSongs; |
| 1749 |
private CTexture txスキル数字; |
private CTexture txスキル数字; |
| 1750 |
private CTexture txアイテム数数字; |
private CTexture txアイテム数数字; |
|
private STバー tx曲名バー; |
|
|
private ST選曲バー tx選曲バー; |
|
| 1751 |
private CTexture[] txTumbnail = new CTexture[13]; |
private CTexture[] txTumbnail = new CTexture[13]; |
| 1752 |
private CTexture tx選曲パネル; |
private CTexture tx選曲パネル; |
| 1753 |
private CTexture txパネル; |
private CTexture txパネル; |
|
private CTexture txジャケットランダム; |
|
|
private CTexture txジャケットボックスクローズ; |
|
| 1754 |
private CTexture tx帯; |
private CTexture tx帯; |
| 1755 |
private CTexture tx色帯; |
private CTexture tx色帯; |
| 1756 |
private CTexture txランプ用帯; |
private CTexture txランプ用帯; |
| 1921 |
|
|
| 1922 |
this.n現在の選択行 = 5; |
this.n現在の選択行 = 5; |
| 1923 |
} |
} |
|
private void tバーの描画( int x, int y, Eバー種別 type, bool b選択曲 ) |
|
|
{ |
|
|
if( x >= SampleFramework.GameWindowSize.Width || y >= SampleFramework.GameWindowSize.Height ) |
|
|
return; |
|
|
|
|
|
if (b選択曲) |
|
|
{ |
|
|
#region [ (A) 選択曲の場合 ] |
|
|
//----------------- |
|
|
if (this.tx選曲バー[(int)type] != null) |
|
|
this.tx選曲バー[(int)type].t2D描画(CDTXMania.app.Device, x, y, new Rectangle(0, 0, 128, 96)); // ヘサキ |
|
|
x += 128; |
|
|
|
|
|
var rc = new Rectangle(128, 0, 128, 96); |
|
|
while (x < 1280) |
|
|
{ |
|
|
if (this.tx選曲バー[(int)type] != null) |
|
|
this.tx選曲バー[(int)type].t2D描画(CDTXMania.app.Device, x, y, rc); // 胴体;64pxずつ横につなげていく。 |
|
|
x += 128; |
|
|
} |
|
|
//----------------- |
|
|
#endregion |
|
|
} |
|
|
else |
|
|
{ |
|
|
#region [ (B) その他の場合 ] |
|
|
//----------------- |
|
|
if (this.tx曲名バー[(int)type] != null) |
|
|
this.tx曲名バー[(int)type].t2D描画(CDTXMania.app.Device, x, y, new Rectangle(0, 0, 128, 48)); // ヘサキ |
|
|
x += 128; |
|
|
|
|
|
var rc = new Rectangle(0, 48, 128, 48); |
|
|
while (x < 1280) |
|
|
{ |
|
|
if (this.tx曲名バー[(int)type] != null) |
|
|
this.tx曲名バー[(int)type].t2D描画(CDTXMania.app.Device, x, y, rc); // 胴体;64pxずつ横につなげていく。 |
|
|
x += 128; |
|
|
} |
|
|
//----------------- |
|
|
#endregion |
|
|
} |
|
|
} |
|
| 1924 |
private void tパスを指定してサムネイル画像を生成する( int nバー番号, string strDTXPath, Eバー種別 eType ) |
private void tパスを指定してサムネイル画像を生成する( int nバー番号, string strDTXPath, Eバー種別 eType ) |
| 1925 |
{ |
{ |
| 1926 |
if( nバー番号 < 0 || nバー番号 > 12 ) |
if( nバー番号 < 0 || nバー番号 > 12 ) |
| 2067 |
b4font = new Bitmap( 1, 1 ); |
b4font = new Bitmap( 1, 1 ); |
| 2068 |
Graphics graphics = Graphics.FromImage( b4font ); |
Graphics graphics = Graphics.FromImage( b4font ); |
| 2069 |
graphics.PageUnit = GraphicsUnit.Pixel; |
graphics.PageUnit = GraphicsUnit.Pixel; |
| 2070 |
imgSongPanel= Image.FromFile( CSkin.Path( @"Graphics\5_music panel.png" ) ); |
imgSongPanel = Image.FromFile( CSkin.Path( @"Graphics\5_music panel.png" ) ); |
| 2071 |
bSongPanel = new Bitmap( 223, 279 ); |
bSongPanel = new Bitmap( 223, 279 ); |
| 2072 |
|
|
| 2073 |
graphics = Graphics.FromImage( bSongPanel ); |
graphics = Graphics.FromImage( bSongPanel ); |