OSDN Git Service

#36043 CDTXMania 内の app 以外の static メンバをインスタンスメンバにし、appを介してアクセスするように変更。CChipのメンバの多くをpr...
[dtxmania/dtxmania.git] / DTXManiaプロジェクト / コード / ステージ / 07.演奏 / CAct演奏判定文字列共通.cs
index ef36ec5..ccc0b03 100644 (file)
@@ -101,9 +101,9 @@ namespace DTXMania
                        {\r
                                throw new IndexOutOfRangeException( "有効範囲は 0~11 です。" );\r
                        }\r
-                       if( ( ( nLane >= 8 ) || ( ( (E判定文字表示位置) CDTXMania.ConfigIni.判定文字表示位置.Drums ) != E判定文字表示位置.表示OFF ) ) && ( ( ( nLane != 10 ) || ( ( (E判定文字表示位置) CDTXMania.ConfigIni.判定文字表示位置.Guitar ) != E判定文字表示位置.表示OFF ) ) && ( ( nLane != 11 ) || ( ( (E判定文字表示位置) CDTXMania.ConfigIni.判定文字表示位置.Bass ) != E判定文字表示位置.表示OFF ) ) ) )\r
+                       if( ( ( nLane >= 8 ) || ( ( (E判定文字表示位置) CDTXMania.app.ConfigIni.判定文字表示位置.Drums ) != E判定文字表示位置.表示OFF ) ) && ( ( ( nLane != 10 ) || ( ( (E判定文字表示位置) CDTXMania.app.ConfigIni.判定文字表示位置.Guitar ) != E判定文字表示位置.表示OFF ) ) && ( ( nLane != 11 ) || ( ( (E判定文字表示位置) CDTXMania.app.ConfigIni.判定文字表示位置.Bass ) != E判定文字表示位置.表示OFF ) ) ) )\r
                        {\r
-                               this.st状態[ nLane ].ct進行 = new CCounter( 0, 300, 1, CDTXMania.Timer );\r
+                               this.st状態[ nLane ].ct進行 = new CCounter( 0, 300, 1, CDTXMania.app.Timer );\r
                                this.st状態[ nLane ].judge = judge;\r
                                this.st状態[ nLane ].fX方向拡大率 = 1f;\r
                                this.st状態[ nLane ].fY方向拡大率 = 1f;\r
@@ -124,7 +124,7 @@ namespace DTXMania
                                this.st状態[ i ].ct進行 = new CCounter();\r
                        }\r
                        base.On活性化();\r
-                       this.nShowLagType = CDTXMania.ConfigIni.nShowLagType;\r
+                       this.nShowLagType = CDTXMania.app.ConfigIni.nShowLagType;\r
                }\r
                public override void On非活性化()\r
                {\r
@@ -138,10 +138,10 @@ namespace DTXMania
                {\r
                        if( !base.b活性化してない )\r
                        {\r
-                               this.tx判定文字列[ 0 ] = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\ScreenPlay judge strings 1.png" ) );\r
-                               this.tx判定文字列[ 1 ] = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\ScreenPlay judge strings 2.png" ) );\r
-                               this.tx判定文字列[ 2 ] = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\ScreenPlay judge strings 3.png" ) );\r
-                               this.txlag数値 = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\ScreenSelect level numbers.png" ) );\r
+                               this.tx判定文字列[ 0 ] = TextureFactory.tテクスチャの生成( CSkin.Path( @"Graphics\ScreenPlay judge strings 1.png" ) );\r
+                               this.tx判定文字列[ 1 ] = TextureFactory.tテクスチャの生成( CSkin.Path( @"Graphics\ScreenPlay judge strings 2.png" ) );\r
+                               this.tx判定文字列[ 2 ] = TextureFactory.tテクスチャの生成( CSkin.Path( @"Graphics\ScreenPlay judge strings 3.png" ) );\r
+                               this.txlag数値 = TextureFactory.tテクスチャの生成( CSkin.Path( @"Graphics\ScreenSelect level numbers.png" ) );\r
                                base.OnManagedリソースの作成();\r
                        }\r
                }\r
@@ -149,10 +149,10 @@ namespace DTXMania
                {\r
                        if( !base.b活性化してない )\r
                        {\r
-                               CDTXMania.tテクスチャの解放( ref this.tx判定文字列[ 0 ] );\r
-                               CDTXMania.tテクスチャの解放( ref this.tx判定文字列[ 1 ] );\r
-                               CDTXMania.tテクスチャの解放( ref this.tx判定文字列[ 2 ] );\r
-                               CDTXMania.tテクスチャの解放( ref this.txlag数値 );\r
+                               TextureFactory.tテクスチャの解放( ref this.tx判定文字列[ 0 ] );\r
+                               TextureFactory.tテクスチャの解放( ref this.tx判定文字列[ 1 ] );\r
+                               TextureFactory.tテクスチャの解放( ref this.tx判定文字列[ 2 ] );\r
+                               TextureFactory.tテクスチャの解放( ref this.txlag数値 );\r
                                base.OnManagedリソースの解放();\r
                        }\r
                }\r