OSDN Git Service

#34227 レーンのセンタリングについて、とりあえずレーン画像だけをセンタリングできるようにした。チップや周辺画像はまだ従来のまま。
[dtxmania/dtxmania.git] / DTXManiaプロジェクト / コード / 全体 / CConfigIni.cs
index 97f86a3..82359f1 100644 (file)
@@ -441,6 +441,7 @@ namespace DTXMania
                //public STDGBVALUE<E判定表示優先度> e判定表示優先度;\r
                public E判定表示優先度 e判定表示優先度;\r
                public STDGBVALUE<E判定位置> e判定位置;                 // #33891 2014.6.26 yyagi\r
+               public Eドラムレーン表示位置 eドラムレーン表示位置;\r
                public bool bScoreIniを出力する;\r
                public bool bSTAGEFAILED有効;\r
                public STDGBVALUE<bool> bSudden;\r
@@ -1095,6 +1096,7 @@ namespace DTXMania
                        this.bLeft = new STDGBVALUE<bool>();\r
                        this.e判定位置 = new STDGBVALUE<E判定位置>();           // #33891 2014.6.26 yyagi\r
                        this.判定文字表示位置 = new STDGBVALUE<E判定文字表示位置>();\r
+                       this.eドラムレーン表示位置 = new Eドラムレーン表示位置();\r
                        this.n譜面スクロール速度 = new STDGBVALUE<int>();\r
                        this.nInputAdjustTimeMs = new STDGBVALUE<int>();        // #23580 2011.1.3 yyagi\r
                        this.nJudgeLinePosOffset = new STDGBVALUE<int>();       // #31602 2013.6.23 yyagi\r
@@ -1559,8 +1561,15 @@ namespace DTXMania
                        sw.WriteLine( "ShowLagTime={0}", this.nShowLagType );                                                   //\r
                        sw.WriteLine();\r
                        sw.WriteLine( "; 判定・コンボ表示優先度(0:チップの下, 1:チップの上)" );\r
+                       sw.WriteLine( "; judgement/combo display priority (0:under chips, 1:over chips)" );\r
                        sw.WriteLine( "JudgeDispPriority={0}" , (int) this.e判定表示優先度 );\r
                        sw.WriteLine();\r
+                       sw.WriteLine( "; ドラムのレーン表示位置(0:左側, 1:中央)" );\r
+                       sw.WriteLine( "; drums lane position (0:LEFT, 1:CENTER)" );\r
+                       sw.WriteLine( "DrumsLanePosition={0}", (int) this.eドラムレーン表示位置 );\r
+                       sw.WriteLine();\r
+\r
+\r
                        sw.WriteLine( "; リザルト画像自動保存機能(0:OFF, 1:ON)" );                                          // #25399 2011.6.9 yyagi\r
                        sw.WriteLine( "; Set \"1\" if you'd like to save result screen image automatically");   //\r
                        sw.WriteLine( "; when you get hiscore/hiskill.");                                                               //\r
@@ -2468,6 +2477,10 @@ namespace DTXMania
                                                                                        {\r
                                                                                                this.e判定表示優先度 = (E判定表示優先度) C変換.n値を文字列から取得して範囲内に丸めて返す( str4, 0, 1, (int) this.e判定表示優先度 );\r
                                                                                        }\r
+                                                                                       else if ( str3.Equals( "DrumsLanePosition" ) )\r
+                                                                                       {\r
+                                                                                               this.eドラムレーン表示位置 = (Eドラムレーン表示位置) C変換.n値を文字列から取得して範囲内に丸めて返す( str4, 0, 1, (int) this.eドラムレーン表示位置 );\r
+                                                                                       }\r
                                                                                        else if ( str3.Equals( "AutoResultCapture" ) )                  // #25399 2011.6.9 yyagi\r
                                                                                        {\r
                                                                                                this.bIsAutoResultCapture = C変換.bONorOFF( str4[ 0 ] );\r
@@ -2477,15 +2490,15 @@ namespace DTXMania
                                                                                                this.bTimeStretch = C変換.bONorOFF( str4[ 0 ] );\r
                                                                                        }\r
                                                                                        #region [ AdjustTime ]\r
-                                                                                       else if( str3.Equals( "InputAdjustTimeDrums" ) )                // #23580 2011.1.3 yyagi\r
+                                                                                       else if ( str3.Equals( "InputAdjustTimeDrums" ) )               // #23580 2011.1.3 yyagi\r
                                                                                        {\r
                                                                                                this.nInputAdjustTimeMs.Drums = C変換.n値を文字列から取得して範囲内に丸めて返す( str4, -99, 99, this.nInputAdjustTimeMs.Drums );\r
                                                                                        }\r
-                                                                                       else if( str3.Equals( "InputAdjustTimeGuitar" ) )       // #23580 2011.1.3 yyagi\r
+                                                                                       else if ( str3.Equals( "InputAdjustTimeGuitar" ) )      // #23580 2011.1.3 yyagi\r
                                                                                        {\r
                                                                                                this.nInputAdjustTimeMs.Guitar = C変換.n値を文字列から取得して範囲内に丸めて返す( str4, -99, 99, this.nInputAdjustTimeMs.Guitar );\r
                                                                                        }\r
-                                                                                       else if( str3.Equals( "InputAdjustTimeBass" ) )         // #23580 2011.1.3 yyagi\r
+                                                                                       else if ( str3.Equals( "InputAdjustTimeBass" ) )                // #23580 2011.1.3 yyagi\r
                                                                                        {\r
                                                                                                this.nInputAdjustTimeMs.Bass = C変換.n値を文字列から取得して範囲内に丸めて返す( str4, -99, 99, this.nInputAdjustTimeMs.Bass );\r
                                                                                        }\r
@@ -2510,7 +2523,7 @@ namespace DTXMania
                                                                                                this.e判定位置.Bass = (E判定位置) C変換.n値を文字列から取得して範囲内に丸めて返す( str4, 0, 2, (int) this.e判定位置.Bass );\r
                                                                                        }\r
                                                                                        #endregion\r
-                                                                                       else if( str3.Equals( "BufferedInput" ) )\r
+                                                                                       else if ( str3.Equals( "BufferedInput" ) )\r
                                                                                        {\r
                                                                                                this.bバッファ入力を行う = C変換.bONorOFF( str4[ 0 ] );\r
                                                                                        }\r
@@ -2523,35 +2536,35 @@ namespace DTXMania
                                                                                        {\r
                                                                                                this.nVelocityMin.LC = C変換.n値を文字列から取得して範囲内に丸めて返す( str4, 0, 127, this.nVelocityMin.LC );\r
                                                                                        }\r
-                                                                                       else if( str3.Equals( "HHVelocityMin" ) )\r
+                                                                                       else if ( str3.Equals( "HHVelocityMin" ) )\r
                                                                                        {\r
                                                                                                this.nVelocityMin.HH = C変換.n値を文字列から取得して範囲内に丸めて返す( str4, 0, 127, this.nVelocityMin.HH );\r
                                                                                        }\r
-                                                                                       else if( str3.Equals( "SDVelocityMin" ) )                       // #23857 2011.1.31 yyagi\r
+                                                                                       else if ( str3.Equals( "SDVelocityMin" ) )                      // #23857 2011.1.31 yyagi\r
                                                                                        {\r
                                                                                                this.nVelocityMin.SD = C変換.n値を文字列から取得して範囲内に丸めて返す( str4, 0, 127, this.nVelocityMin.SD );\r
                                                                                        }\r
-                                                                                       else if( str3.Equals( "BDVelocityMin" ) )                       // #23857 2011.1.31 yyagi\r
+                                                                                       else if ( str3.Equals( "BDVelocityMin" ) )                      // #23857 2011.1.31 yyagi\r
                                                                                        {\r
                                                                                                this.nVelocityMin.BD = C変換.n値を文字列から取得して範囲内に丸めて返す( str4, 0, 127, this.nVelocityMin.BD );\r
                                                                                        }\r
-                                                                                       else if( str3.Equals( "HTVelocityMin" ) )                       // #23857 2011.1.31 yyagi\r
+                                                                                       else if ( str3.Equals( "HTVelocityMin" ) )                      // #23857 2011.1.31 yyagi\r
                                                                                        {\r
                                                                                                this.nVelocityMin.HT = C変換.n値を文字列から取得して範囲内に丸めて返す( str4, 0, 127, this.nVelocityMin.HT );\r
                                                                                        }\r
-                                                                                       else if( str3.Equals( "LTVelocityMin" ) )                       // #23857 2011.1.31 yyagi\r
+                                                                                       else if ( str3.Equals( "LTVelocityMin" ) )                      // #23857 2011.1.31 yyagi\r
                                                                                        {\r
                                                                                                this.nVelocityMin.LT = C変換.n値を文字列から取得して範囲内に丸めて返す( str4, 0, 127, this.nVelocityMin.LT );\r
                                                                                        }\r
-                                                                                       else if( str3.Equals( "FTVelocityMin" ) )                       // #23857 2011.1.31 yyagi\r
+                                                                                       else if ( str3.Equals( "FTVelocityMin" ) )                      // #23857 2011.1.31 yyagi\r
                                                                                        {\r
                                                                                                this.nVelocityMin.FT = C変換.n値を文字列から取得して範囲内に丸めて返す( str4, 0, 127, this.nVelocityMin.FT );\r
                                                                                        }\r
-                                                                                       else if( str3.Equals( "CYVelocityMin" ) )                       // #23857 2011.1.31 yyagi\r
+                                                                                       else if ( str3.Equals( "CYVelocityMin" ) )                      // #23857 2011.1.31 yyagi\r
                                                                                        {\r
                                                                                                this.nVelocityMin.CY = C変換.n値を文字列から取得して範囲内に丸めて返す( str4, 0, 127, this.nVelocityMin.CY );\r
                                                                                        }\r
-                                                                                       else if( str3.Equals( "RDVelocityMin" ) )                       // #23857 2011.1.31 yyagi\r
+                                                                                       else if ( str3.Equals( "RDVelocityMin" ) )                      // #23857 2011.1.31 yyagi\r
                                                                                        {\r
                                                                                                this.nVelocityMin.RD = C変換.n値を文字列から取得して範囲内に丸めて返す( str4, 0, 127, this.nVelocityMin.RD );\r
                                                                                        }\r