public void tフェードアウト開始()\r
{\r
this.mode = EFIFOモード.フェードアウト;\r
- this.counter = new CCounter(0, 100, 5, CDTXMania.app.Timer);\r
+ this.counter = new CCounter( 0, 100, 5, CDTXMania.Instance.Timer );\r
}\r
public void tフェードイン開始()\r
{\r
this.mode = EFIFOモード.フェードイン;\r
- this.counter = new CCounter(0, 100, 5, CDTXMania.app.Timer);\r
+ this.counter = new CCounter( 0, 100, 5, CDTXMania.Instance.Timer );\r
}\r
public void tフェードイン完了() // #25406 2011.6.9 yyagi\r
{\r
\r
public override void On非活性化()\r
{\r
- if (!base.b活性化してない)\r
+ if( !base.b活性化してない )\r
{\r
- TextureFactory.tテクスチャの解放(ref this.tx白タイル64x64);\r
+ TextureFactory.tテクスチャの解放( ref this.tx白タイル64x64 );\r
base.On非活性化();\r
}\r
}\r
public override void OnManagedリソースの作成()\r
{\r
- if (!base.b活性化してない)\r
+ if( !base.b活性化してない )\r
{\r
- this.tx白タイル64x64 = TextureFactory.tテクスチャの生成(CSkin.Path(@"Graphics\Tile white 64x64.png"), false);\r
+ this.tx白タイル64x64 = TextureFactory.tテクスチャの生成( CSkin.Path( @"Graphics\Tile white 64x64.png" ), false );\r
base.OnManagedリソースの作成();\r
}\r
}\r
public override int On進行描画()\r
{\r
- if (base.b活性化してない || (this.counter == null))\r
+ if( base.b活性化してない || ( this.counter == null ) )\r
{\r
return 0;\r
}\r
this.counter.t進行();\r
\r
- // Size clientSize = CDTXMania.app.Window.ClientSize; // #23510 2010.10.31 yyagi: delete as of no one use this any longer.\r
+ // Size clientSize = CDTXMania.Instance.app.Window.ClientSize; // #23510 2010.10.31 yyagi: delete as of no one use this any longer.\r
if (this.tx白タイル64x64 != null)\r
{\r
- this.tx白タイル64x64.n透明度 = (this.mode == EFIFOモード.フェードイン) ? (((100 - this.counter.n現在の値) * 0xff) / 100) : ((this.counter.n現在の値 * 0xff) / 100);\r
+ this.tx白タイル64x64.n透明度 = ( this.mode == EFIFOモード.フェードイン ) ? ( ( ( 100 - this.counter.n現在の値 ) * 0xff ) / 100 ) : ( ( this.counter.n現在の値 * 0xff ) / 100 );\r
for (int i = 0; i <= (SampleFramework.GameWindowSize.Width / 64); i++) // #23510 2010.10.31 yyagi: change "clientSize.Width" to "640" to fix FIFO drawing size\r
{\r
for (int j = 0; j <= (SampleFramework.GameWindowSize.Height / 64); j++) // #23510 2010.10.31 yyagi: change "clientSize.Height" to "480" to fix FIFO drawing size\r
{\r
- this.tx白タイル64x64.t2D描画(CDTXMania.app.Device, i * 64, j * 64);\r
+ this.tx白タイル64x64.t2D描画( CDTXMania.Instance.Device, i * 64, j * 64 );\r
}\r
}\r
}\r
- if (this.counter.n現在の値 != 100)\r
+ if( this.counter.n現在の値 != 100 )\r
{\r
return 0;\r
}\r