OSDN Git Service

#25254 Difficulty changes are available by Bass G-PP.
authoryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Sun, 29 May 2011 13:47:28 +0000 (13:47 +0000)
committeryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Sun, 29 May 2011 13:47:28 +0000 (13:47 +0000)
git-svn-id: http://svn.osdn.jp/svnroot/dtxmania/trunk@179 16f42ceb-6dc6-49c8-ba94-f2d53467949d

DTXManiaプロジェクト/コード/ステージ/05.選曲/CStage選曲.cs

index a109748..7b8d89a 100644 (file)
@@ -438,8 +438,8 @@ namespace DTXMania
                                                        {       // ギター[Pick]: コマンドとしてEnqueue\r
                                                                CommandHistory.Add( E楽器パート.GUITAR, EパッドFlag.Pick );\r
                                                                // Pick, G, G, Pick で、ギターとベースを入れ替え\r
-                                                               EパッドFlag[] comSwapGtBs = new EパッドFlag[ 4 ] { EパッドFlag.Pick, EパッドFlag.G, EパッドFlag.G, EパッドFlag.Pick };\r
-                                                               if ( CommandHistory.CheckCommand( comSwapGtBs, E楽器パート.GUITAR ) )\r
+                                                               EパッドFlag[] comSwapGtBs1 = new EパッドFlag[ 4 ] { EパッドFlag.Pick, EパッドFlag.G, EパッドFlag.G, EパッドFlag.Pick };\r
+                                                               if ( CommandHistory.CheckCommand( comSwapGtBs1, E楽器パート.GUITAR ) )\r
                                                                {\r
                                                                        Debug.WriteLine( "ギターとベースの入れ替え1" );\r
                                                                        CDTXMania.Skin.sound変更音.t再生する();\r
@@ -448,12 +448,12 @@ namespace DTXMania
                                                                        CDTXMania.ConfigIni.bIsSwappedGuitarBass = !CDTXMania.ConfigIni.bIsSwappedGuitarBass;\r
                                                                }\r
                                                        }\r
-                                                       if ( CDTXMania.Pad.b押された( E楽器パート.BASS, Eパッド.Pick ) && !CDTXMania.Pad.b押されている( E楽器パート.GUITAR, Eパッド.G ) )\r
+                                                       if ( CDTXMania.Pad.b押された( E楽器パート.BASS, Eパッド.Pick ) && !CDTXMania.Pad.b押されている( E楽器パート.BASS, Eパッド.G ) )\r
                                                        {       // ベース[Pick]: コマンドとしてEnqueue\r
                                                                CommandHistory.Add( E楽器パート.BASS, EパッドFlag.Pick );\r
                                                                // Pick, G, G, Pick で、ギターとベースを入れ替え\r
-                                                               EパッドFlag[] comSwapGtBs = new EパッドFlag[ 4 ] { EパッドFlag.Pick, EパッドFlag.G, EパッドFlag.G, EパッドFlag.Pick };\r
-                                                               if ( CommandHistory.CheckCommand( comSwapGtBs, E楽器パート.BASS ) )\r
+                                                               EパッドFlag[] comSwapGtBs1 = new EパッドFlag[ 4 ] { EパッドFlag.Pick, EパッドFlag.G, EパッドFlag.G, EパッドFlag.Pick };\r
+                                                               if ( CommandHistory.CheckCommand( comSwapGtBs1, E楽器パート.BASS ) )\r
                                                                {\r
                                                                        Debug.WriteLine( "ギターとベースの入れ替え2" );\r
                                                                        CDTXMania.Skin.sound変更音.t再生する();\r
@@ -483,7 +483,7 @@ namespace DTXMania
                                                                if ( CommandHistory.CheckCommand( comSortBs, E楽器パート.BASS ) )\r
                                                                {\r
                                                                        CDTXMania.Skin.sound変更音.t再生する();\r
-                                                                       Debug.WriteLine( "ソート画面発動(gt)" );\r
+                                                                       Debug.WriteLine( "ソート画面発動(bs)" );\r
                                                                        //this.actSortSongs.bIsActiveSortMenu = !this.actSortSongs.bIsActiveSortMenu;\r
                                                                        this.actSortSongs.tActivateSortMenu( ref this.act曲リスト );\r
                                                                }\r
@@ -656,10 +656,12 @@ Debug.WriteLine( "CMDHIS: 楽器=" + _stct.eInst + ", CMD=" + _stct.ePad + ", ti
                                int stciCount = stct.Count;\r
                                if ( stciCount < targetCount )\r
                                {\r
+//Debug.WriteLine("NOT start checking...stciCount=" + stciCount + ", targetCount=" + targetCount);\r
                                        return false;\r
                                }\r
 \r
                                long curTime = CDTXMania.Timer.n現在時刻;\r
+//Debug.WriteLine("Start checking...targetCount=" + targetCount);\r
                                for ( int i = targetCount - 1, j = stciCount - 1; i >= 0; i--, j-- )\r
                                {\r
                                        if ( _ePad[ i ] != stct[ j ].ePad )\r