OSDN Git Service

#34198 フィルイン時のチップファイア座標を修正。 Release104
authoryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Sat, 12 Dec 2015 03:33:35 +0000 (03:33 +0000)
committeryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Sat, 12 Dec 2015 03:33:35 +0000 (03:33 +0000)
git-svn-id: http://svn.osdn.jp/svnroot/dtxmania/trunk@904 16f42ceb-6dc6-49c8-ba94-f2d53467949d

DTXManiaプロジェクト/コード/ステージ/07.演奏/ドラム画面/CAct演奏DrumsチップファイアD.cs
実行時フォルダ/DTXManiaGR.exe

index d32c099..64da5dd 100644 (file)
@@ -67,13 +67,13 @@ namespace DTXMania
                                        }\r
                                }\r
                        }\r
-                       if( bフィルイン && ( this.tx青い星 != null ) )\r
+                       if ( bフィルイン && ( this.tx青い星 != null ) )\r
                        {\r
-                               for( int i = 0; i < 0x10; i++ )\r
+                               for ( int i = 0; i < 0x10; i++ )\r
                                {\r
-                                       for( int j = 0; j < STAR_MAX; j++ )\r
+                                       for ( int j = 0; j < STAR_MAX; j++ )\r
                                        {\r
-                                               if( !this.st青い星[ j ].b使用中 )\r
+                                               if ( !this.st青い星[ j ].b使用中 )\r
                                                {\r
                                                        this.st青い星[ j ].b使用中 = true;\r
                                                        int n回転初期値 = CDTXMania.Random.Next( 360 );\r
@@ -81,8 +81,8 @@ namespace DTXMania
                                                        this.st青い星[ j ].nLane = (int) lane;\r
                                                        this.st青い星[ j ].ct進行 = new CCounter( 0, 100, 7, CDTXMania.Timer );\r
                                                        this.st青い星[ j ].fX =\r
-                                                               (int) ( this.nレーンの中央X座標[ (int) lane ] * (CDTXMania.ConfigIni.eドラムレーン表示位置 == Eドラムレーン表示位置.Left? 1.0 : 0.75) ) +\r
-                                                                                       ( (CDTXMania.ConfigIni.eドラムレーン表示位置 == Eドラムレーン表示位置.Left)? (float)(54 * 3) : (float)(619 + 12 + 40) );\r
+                                                               (int) ( this.nレーンの中央X座標[ (int) lane ] * ( CDTXMania.ConfigIni.eドラムレーン表示位置 == Eドラムレーン表示位置.Left ? 1.0 : 0.75 ) ) +\r
+                                                                                       ( ( CDTXMania.ConfigIni.eドラムレーン表示位置 == Eドラムレーン表示位置.Left ) ? (float) ( 54 * 3 ) : (float) ( 619 + 12 + 40 ) );\r
                                                        this.st青い星[ j ].fY = CDTXMania.ConfigIni.bReverse.Drums ? ( (float) 55 - nJudgeLinePosY_delta_Drums ) : ( (float) 425 + nJudgeLinePosY_delta_Drums );\r
                                                        this.st青い星[ j ].f加速度X = (float) ( num7 * Math.Cos( ( Math.PI * 2 * n回転初期値 ) / 360.0 ) );\r
                                                        this.st青い星[ j ].f加速度Y = (float) ( num7 * ( Math.Sin( ( Math.PI * 2 * n回転初期値 ) / 360.0 ) - 0.2 ) );\r
@@ -263,18 +263,18 @@ namespace DTXMania
                                                }\r
                                        }\r
                                }\r
-                               for( int i = 0; i < STAR_MAX; i++ )\r
+                               for ( int i = 0; i < STAR_MAX; i++ )\r
                                {\r
-                                       if( this.st青い星[ i ].b使用中 )\r
+                                       if ( this.st青い星[ i ].b使用中 )\r
                                        {\r
                                                this.st青い星[ i ].n前回のValue = this.st青い星[ i ].ct進行.n現在の値;\r
                                                this.st青い星[ i ].ct進行.t進行();\r
-                                               if( this.st青い星[ i ].ct進行.b終了値に達した )\r
+                                               if ( this.st青い星[ i ].ct進行.b終了値に達した )\r
                                                {\r
                                                        this.st青い星[ i ].ct進行.t停止();\r
                                                        this.st青い星[ i ].b使用中 = false;\r
                                                }\r
-                                               for( int n = this.st青い星[ i ].n前回のValue; n < this.st青い星[ i ].ct進行.n現在の値; n++ )\r
+                                               for ( int n = this.st青い星[ i ].n前回のValue; n < this.st青い星[ i ].ct進行.n現在の値; n++ )\r
                                                {\r
                                                        this.st青い星[ i ].fX += this.st青い星[ i ].f加速度X;\r
                                                        this.st青い星[ i ].fY -= this.st青い星[ i ].f加速度Y;\r
@@ -286,11 +286,11 @@ namespace DTXMania
                                                float x = (float) ( this.st青い星[ i ].f半径 * Math.Cos( ( Math.PI / 2 * this.st青い星[ i ].ct進行.n現在の値 ) / 100.0 ) );\r
                                                mat *= Matrix.Scaling( x, x, 1f );\r
                                                mat *= Matrix.Translation(\r
-                                                       this.st青い星[ i ].fX * Scale.X - SampleFramework.GameWindowSize.Width / 2,\r
+                                                       this.st青い星[ i ].fX - SampleFramework.GameWindowSize.Width / 2,\r
                                                        -( this.st青い星[ i ].fY * Scale.Y - SampleFramework.GameWindowSize.Height / 2 ),\r
                                                        0f\r
                                                );\r
-                                               if( this.tx青い星 != null )\r
+                                               if ( this.tx青い星 != null )\r
                                                {\r
                                                        this.tx青い星.t3D描画( CDTXMania.app.Device, mat );\r
                                                }\r
index 5e75391..3c43285 100644 (file)
Binary files a/実行時フォルダ/DTXManiaGR.exe and b/実行時フォルダ/DTXManiaGR.exe differ