| 223 |
if( !base.b活性化してない ) |
if( !base.b活性化してない ) |
| 224 |
{ |
{ |
| 225 |
this.tx背景 = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_background.jpg" ), false ); |
this.tx背景 = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_background.jpg" ), false ); |
| 226 |
if( File.Exists (CSkin.Path(@"Graphics\5_background.mp4"))) |
if( File.Exists (CSkin.Path(@"Graphics\5_background.mp4"))) |
| 227 |
{ |
{ |
| 228 |
this.ds背景動画 = CDTXMania.t失敗してもスキップ可能なDirectShowを生成する( CSkin.Path(@"Graphics\5_background.mp4"), CDTXMania.app.WindowHandle, true ); |
this.ds背景動画 = CDTXMania.t失敗してもスキップ可能なDirectShowを生成する( CSkin.Path(@"Graphics\5_background.mp4"), CDTXMania.app.WindowHandle, true ); |
| 229 |
} |
} |
| 230 |
this.tx上部パネル = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_header panel.png" ), false ); |
this.tx上部パネル = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_header panel.png" ), false ); |
| 231 |
this.tx下部パネル = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_footer panel.png" ), false ); |
this.tx下部パネル = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_footer panel.png" ), false ); |
| 232 |
this.txコメントバー = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_comment bar.png" ), true ); |
this.txコメントバー = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_comment bar.png" ), true ); |
| 233 |
this.txFLIP = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_skill number on gauge etc.png" ), false ); |
this.txFLIP = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_skill number on gauge etc.png" ), false ); |
| 238 |
{ |
{ |
| 239 |
if( !base.b活性化してない ) |
if( !base.b活性化してない ) |
| 240 |
{ |
{ |
| 241 |
if(this.ds背景動画 != null) |
CDTXMania.t安全にDisposeする( ref this.ds背景動画 ); |
|
CDTXMania.t安全にDisposeする( ref this.ds背景動画 ); |
|
| 242 |
CDTXMania.tテクスチャの解放( ref this.tx背景 ); |
CDTXMania.tテクスチャの解放( ref this.tx背景 ); |
| 243 |
CDTXMania.tテクスチャの解放( ref this.tx上部パネル ); |
CDTXMania.tテクスチャの解放( ref this.tx上部パネル ); |
| 244 |
CDTXMania.tテクスチャの解放( ref this.tx下部パネル ); |
CDTXMania.tテクスチャの解放( ref this.tx下部パネル ); |
| 255 |
//--------------------- |
//--------------------- |
| 256 |
if( base.b初めての進行描画 ) |
if( base.b初めての進行描画 ) |
| 257 |
{ |
{ |
| 258 |
this.ct登場時アニメ用共通 = new CCounter( 0, 100, 3, CDTXMania.Timer ); |
this.ct登場時アニメ用共通 = new CCounter( 0, 100, 4, CDTXMania.Timer ); |
| 259 |
if( CDTXMania.r直前のステージ == CDTXMania.stage結果 ) |
if( CDTXMania.r直前のステージ == CDTXMania.stage結果 ) |
| 260 |
{ |
{ |
| 261 |
this.actFIfrom結果画面.tフェードイン開始(); |
this.actFIfrom結果画面.tフェードイン開始(); |
| 266 |
this.actFIFO.tフェードイン開始(); |
this.actFIFO.tフェードイン開始(); |
| 267 |
base.eフェーズID = CStage.Eフェーズ.共通_フェードイン; |
base.eフェーズID = CStage.Eフェーズ.共通_フェードイン; |
| 268 |
} |
} |
| 269 |
|
CDTXMania.Skin.soundSelectMusic.t再生する(); |
| 270 |
this.t選択曲変更通知(); |
this.t選択曲変更通知(); |
| 271 |
base.b初めての進行描画 = false; |
base.b初めての進行描画 = false; |
| 272 |
} |
} |
| 275 |
|
|
| 276 |
this.ct登場時アニメ用共通.t進行(); |
this.ct登場時アニメ用共通.t進行(); |
| 277 |
|
|
| 278 |
if( this.ds背景動画 != null ) |
if( this.ds背景動画 != null ) |
| 279 |
{ |
{ |
| 280 |
this.ds背景動画.t現時点における最新のスナップイメージをTextureに転写する( this.tx背景 ); |
this.ds背景動画.t現時点における最新のスナップイメージをTextureに転写する( this.tx背景 ); |
| 281 |
this.ds背景動画.t再生開始(); |
this.ds背景動画.t再生開始(); |
| 289 |
AMSeekingSeekingFlags.NoPositioning); |
AMSeekingSeekingFlags.NoPositioning); |
| 290 |
} |
} |
| 291 |
} |
} |
| 292 |
|
|
| 293 |
if( this.tx背景 != null ) |
if( this.tx背景 != null ) |
| 294 |
{ |
{ |
| 295 |
if( this.ds背景動画 != null && this.ds背景動画.b上下反転 ) |
if( this.ds背景動画 != null && this.ds背景動画.b上下反転 ) |
| 298 |
this.tx背景.t2D描画( CDTXMania.app.Device, 0, 0 ); |
this.tx背景.t2D描画( CDTXMania.app.Device, 0, 0 ); |
| 299 |
} |
} |
| 300 |
|
|
| 301 |
this.actPreimageパネル.On進行描画(); |
// this.actPreimageパネル.On進行描画(); |
| 302 |
// this.bIsEnumeratingSongs = !this.actPreimageパネル.bIsPlayingPremovie; // #27060 2011.3.2 yyagi: #PREMOVIE再生中は曲検索を中断する |
// this.bIsEnumeratingSongs = !this.actPreimageパネル.bIsPlayingPremovie; // #27060 2011.3.2 yyagi: #PREMOVIE再生中は曲検索を中断する |
| 303 |
|
|
| 304 |
this.act曲リスト.On進行描画(); |
this.act曲リスト.On進行描画(); |
| 310 |
y = ( (int) ( this.tx上部パネル.sz画像サイズ.Height * dbY表示割合 ) ) - this.tx上部パネル.sz画像サイズ.Height; |
y = ( (int) ( this.tx上部パネル.sz画像サイズ.Height * dbY表示割合 ) ) - this.tx上部パネル.sz画像サイズ.Height; |
| 311 |
} |
} |
| 312 |
if( this.tx上部パネル != null ) |
if( this.tx上部パネル != null ) |
| 313 |
this.tx上部パネル.t2D描画( CDTXMania.app.Device, 0, y ); |
{ |
| 314 |
|
this.tx上部パネル.t2D描画( CDTXMania.app.Device, 0f, 78.0f - ( this.ct登場時アニメ用共通.n現在の値 * 0.61f ) , new Rectangle(0, 17, 200, 55 ) ); |
| 315 |
|
this.tx上部パネル.t2D描画( CDTXMania.app.Device, 0f, 24.0f + ( this.ct登場時アニメ用共通.n現在の値 * 0.57f ) , new Rectangle(0, 81, 200, 55 ) ); |
| 316 |
|
this.tx上部パネル.t2D描画( CDTXMania.app.Device, 0f, 150.0f, new Rectangle(0, 150, 200, 12 ) ); |
| 317 |
|
this.tx上部パネル.t2D描画( CDTXMania.app.Device, 0f, 143.0f, new Rectangle(0, 143, 200, 3 ) ); |
| 318 |
|
} |
| 319 |
|
|
| 320 |
this.actInformation.On進行描画(); |
//this.actInformation.On進行描画(); |
| 321 |
if( this.tx下部パネル != null ) |
if( this.tx下部パネル != null ) |
| 322 |
this.tx下部パネル.t2D描画( CDTXMania.app.Device, 0, 720 - this.tx下部パネル.sz画像サイズ.Height ); |
this.tx下部パネル.t2D描画( CDTXMania.app.Device, 0, 720 - this.tx下部パネル.sz画像サイズ.Height ); |
| 323 |
|
|
| 324 |
this.actステータスパネル.On進行描画(); |
this.actステータスパネル.On進行描画(); |
| 325 |
this.act演奏履歴パネル.On進行描画(); |
if( CDTXMania.ConfigIni.bDrums有効 ) |
| 326 |
|
{ |
| 327 |
|
this.act演奏履歴パネル.On進行描画(); |
| 328 |
|
} |
| 329 |
this.actPresound.On進行描画(); |
this.actPresound.On進行描画(); |
| 330 |
if( this.txコメントバー != null ) |
if( this.txコメントバー != null ) |
| 331 |
{ |
{ |
| 332 |
this.txコメントバー.t2D描画(CDTXMania.app.Device, 484, 342); |
// this.txコメントバー.t2D描画(CDTXMania.app.Device, 484, 342); |
| 333 |
} |
} |
| 334 |
this.actArtistComment.On進行描画(); |
// this.actArtistComment.On進行描画(); |
| 335 |
this.actオプションパネル.On進行描画(); |
//this.actオプションパネル.On進行描画(); |
| 336 |
if ( this.txFLIP != null && CDTXMania.ConfigIni.bIsSwappedGuitarBass ) // #24063 2011.1.16 yyagi |
if ( this.txFLIP != null && CDTXMania.ConfigIni.bIsSwappedGuitarBass ) // #24063 2011.1.16 yyagi |
| 337 |
{ |
{ |
| 338 |
Rectangle rect = new Rectangle(0x1f, 0x31, 20, 11); |
Rectangle rect = new Rectangle(0x1f, 0x31, 20, 11); |
| 489 |
} |
} |
| 490 |
#endregion |
#endregion |
| 491 |
#region [ Up ] |
#region [ Up ] |
| 492 |
this.ctキー反復用.Up.tキー反復( CDTXMania.Input管理.Keyboard.bキーが押されている( (int) SlimDX.DirectInput.Key.UpArrow ), new CCounter.DGキー処理( this.tカーソルを上へ移動する ) ); |
this.ctキー反復用.Up.tキー反復( CDTXMania.Input管理.Keyboard.bキーが押されている( (int) SlimDX.DirectInput.Key.LeftArrow ), new CCounter.DGキー処理( this.tカーソルを上へ移動する ) ); |
| 493 |
this.ctキー反復用.R.tキー反復( CDTXMania.Pad.b押されているGB( Eパッド.R ), new CCounter.DGキー処理( this.tカーソルを上へ移動する ) ); |
this.ctキー反復用.R.tキー反復( CDTXMania.Pad.b押されているGB( Eパッド.R ), new CCounter.DGキー処理( this.tカーソルを上へ移動する ) ); |
| 494 |
if ( CDTXMania.Pad.b押された( E楽器パート.DRUMS, Eパッド.SD ) ) |
if ( CDTXMania.Pad.b押された( E楽器パート.DRUMS, Eパッド.SD ) ) |
| 495 |
{ |
{ |
| 497 |
} |
} |
| 498 |
#endregion |
#endregion |
| 499 |
#region [ Down ] |
#region [ Down ] |
| 500 |
this.ctキー反復用.Down.tキー反復( CDTXMania.Input管理.Keyboard.bキーが押されている( (int) SlimDX.DirectInput.Key.DownArrow ), new CCounter.DGキー処理( this.tカーソルを下へ移動する ) ); |
this.ctキー反復用.Down.tキー反復( CDTXMania.Input管理.Keyboard.bキーが押されている( (int) SlimDX.DirectInput.Key.RightArrow ), new CCounter.DGキー処理( this.tカーソルを下へ移動する ) ); |
| 501 |
this.ctキー反復用.B.tキー反復( CDTXMania.Pad.b押されているGB( Eパッド.B ), new CCounter.DGキー処理( this.tカーソルを下へ移動する ) ); |
this.ctキー反復用.B.tキー反復( CDTXMania.Pad.b押されているGB( Eパッド.B ), new CCounter.DGキー処理( this.tカーソルを下へ移動する ) ); |
| 502 |
if ( CDTXMania.Pad.b押された( E楽器パート.DRUMS, Eパッド.FT ) ) |
if ( CDTXMania.Pad.b押された( E楽器パート.DRUMS, Eパッド.FT ) ) |
| 503 |
{ |
{ |
| 536 |
{ |
{ |
| 537 |
Debug.WriteLine( "ドラムス難易度変更" ); |
Debug.WriteLine( "ドラムス難易度変更" ); |
| 538 |
this.act曲リスト.t難易度レベルをひとつ進める(); |
this.act曲リスト.t難易度レベルをひとつ進める(); |
| 539 |
CDTXMania.Skin.sound変更音.t再生する(); |
//CDTXMania.Skin.sound変更音.t再生する(); |
| 540 |
} |
} |
| 541 |
} |
} |
| 542 |
#endregion |
#endregion |
| 721 |
private CActオプションパネル actオプションパネル; |
private CActオプションパネル actオプションパネル; |
| 722 |
public CActSelectステータスパネル actステータスパネル; |
public CActSelectステータスパネル actステータスパネル; |
| 723 |
private CActSelect演奏履歴パネル act演奏履歴パネル; |
private CActSelect演奏履歴パネル act演奏履歴パネル; |
| 724 |
private CActSelect曲リスト act曲リスト; |
public CActSelect曲リスト act曲リスト; |
| 725 |
private CActSelectShowCurrentPosition actShowCurrentPosition; |
private CActSelectShowCurrentPosition actShowCurrentPosition; |
| 726 |
|
|
| 727 |
private CActSortSongs actSortSongs; |
private CActSortSongs actSortSongs; |
| 729 |
|
|
| 730 |
private bool bBGM再生済み; |
private bool bBGM再生済み; |
| 731 |
private STキー反復用カウンタ ctキー反復用; |
private STキー反復用カウンタ ctキー反復用; |
| 732 |
private CCounter ct登場時アニメ用共通; |
public CCounter ct登場時アニメ用共通; |
| 733 |
private E戻り値 eフェードアウト完了時の戻り値; |
private E戻り値 eフェードアウト完了時の戻り値; |
| 734 |
private Font ftフォント; |
private Font ftフォント; |
| 735 |
private CTexture txコメントバー; |
private CTexture txコメントバー; |