}\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
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
}\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
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