#xxxxx GD版選曲画面の配置の調節。
@@ -451,15 +451,15 @@ | ||
451 | 451 | { |
452 | 452 | if( this.ct登場アニメ用.b終了値に達した || ( this.txパネル本体 != null ) ) |
453 | 453 | { |
454 | - this.n本体X = 0x10; | |
455 | - this.n本体Y = 0x56; | |
454 | + this.n本体X = 0x12; | |
455 | + this.n本体Y = 0x58; | |
456 | 456 | } |
457 | 457 | else |
458 | 458 | { |
459 | 459 | double num = ( (double) this.ct登場アニメ用.n現在の値 ) / 100.0; |
460 | 460 | double num2 = Math.Cos( ( 1.5 + ( 0.5 * num ) ) * Math.PI ); |
461 | - this.n本体X = 0x10; | |
462 | - this.n本体Y = 0x56 - ( (int) ( this.txパネル本体.sz画像サイズ.Height * ( 1.0 - ( num2 * num2 ) ) ) ); | |
461 | + this.n本体X = 0x12; | |
462 | + this.n本体Y = 0x58 - ( (int) ( this.txパネル本体.sz画像サイズ.Height * ( 1.0 - ( num2 * num2 ) ) ) ); | |
463 | 463 | } |
464 | 464 | if( this.txパネル本体 != null ) |
465 | 465 | { |
@@ -470,7 +470,7 @@ | ||
470 | 470 | { |
471 | 471 | if( !CDTXMania.stage選曲.bスクロール中 && ( ( ( this.ct遅延表示 != null ) && ( this.ct遅延表示.n現在の値 > 0 ) ) && !this.b新しいプレビューファイルをまだ読み込んでいない ) ) |
472 | 472 | { |
473 | - int x = this.n本体X + 0x24; | |
473 | + int x = this.n本体X + 0x25; | |
474 | 474 | int y = this.n本体Y + 0x18; |
475 | 475 | float num3 = ( (float) this.ct遅延表示.n現在の値 ) / 100f; |
476 | 476 | float num4 = 0.9f + ( 0.1f * num3 ); |
@@ -498,34 +498,34 @@ | ||
498 | 498 | this.sfAVI画像.UnlockRectangle(); |
499 | 499 | this.b動画フレームを作成した = false; |
500 | 500 | } |
501 | - x += (0x198 - this.sfAVI画像.Description.Width) / 2; | |
502 | - y += (0x194 - this.sfAVI画像.Description.Height) / 2; | |
501 | + x += (368 - this.sfAVI画像.Description.Width) / 2; | |
502 | + y += (368 - this.sfAVI画像.Description.Height) / 2; | |
503 | 503 | using (Surface surface = CDTXMania.app.Device.GetBackBuffer(0, 0)) |
504 | - { | |
504 | + { | |
505 | 505 | CDTXMania.app.Device.UpdateSurface( this.sfAVI画像, new Rectangle( 0, 0, this.sfAVI画像.Description.Width, this.sfAVI画像.Description.Height ), surface, new Point( x, y ) ); |
506 | 506 | return; |
507 | 507 | } |
508 | 508 | } |
509 | - if( this.r表示するプレビュー画像 != null ) | |
510 | - { | |
511 | - float width = this.r表示するプレビュー画像.sz画像サイズ.Width; | |
512 | - float height = this.r表示するプレビュー画像.sz画像サイズ.Height; | |
509 | + if (this.r表示するプレビュー画像 != null) | |
510 | + { | |
511 | + float width = this.r表示するプレビュー画像.sz画像サイズ.Width; | |
512 | + float height = this.r表示するプレビュー画像.sz画像サイズ.Height; | |
513 | 513 | float f倍率; |
514 | - if( ( 400f / width ) > ( 400f / height ) ) | |
515 | - { | |
516 | - f倍率 = 400f / height; | |
517 | - } | |
518 | - else | |
519 | - { | |
520 | - f倍率 = 400f / width; | |
521 | - } | |
522 | - x += (0x198 - ((int)(width * num4 * f倍率))) / 2; | |
523 | - y += (0x194 - ((int)(height * num4 * f倍率))) / 2; | |
524 | - this.r表示するプレビュー画像.n透明度 = (int) ( 255f * num3 ); | |
514 | + if ((368f / width) > (368f / height)) | |
515 | + { | |
516 | + f倍率 = 368f / height; | |
517 | + } | |
518 | + else | |
519 | + { | |
520 | + f倍率 = 368f / width; | |
521 | + } | |
522 | + x += (368 - ((int)(width * num4 * f倍率))) / 2; | |
523 | + y += (368 - ((int)(height * num4 * f倍率))) / 2; | |
524 | + this.r表示するプレビュー画像.n透明度 = (int)(255f * num3); | |
525 | 525 | this.r表示するプレビュー画像.vc拡大縮小倍率.X = num4 * f倍率; |
526 | 526 | this.r表示するプレビュー画像.vc拡大縮小倍率.Y = num4 * f倍率; |
527 | - this.r表示するプレビュー画像.t2D描画( CDTXMania.app.Device, x, y ); | |
528 | - } | |
527 | + this.r表示するプレビュー画像.t2D描画(CDTXMania.app.Device, x, y); | |
528 | + } | |
529 | 529 | } |
530 | 530 | } |
531 | 531 | //----------------- |
@@ -153,7 +153,7 @@ | ||
153 | 153 | { |
154 | 154 | if( this.ct登場アニメ用.b終了値に達した ) |
155 | 155 | { |
156 | - this.n本体X = 473; | |
156 | + this.n本体X = 460; | |
157 | 157 | this.n本体Y = 100; |
158 | 158 | } |
159 | 159 | else |
@@ -160,7 +160,7 @@ | ||
160 | 160 | { |
161 | 161 | double num2 = ( (double) ( 100 - this.ct登場アニメ用.n現在の値 ) ) / 100.0; |
162 | 162 | double num3 = Math.Sin( Math.PI / 2 * num2 ); |
163 | - this.n本体X = 473; | |
163 | + this.n本体X = 460; | |
164 | 164 | this.n本体Y = 100 - ((int)((this.txパネル本体.sz画像サイズ.Height * num3) * num3)); |
165 | 165 | } |
166 | 166 | this.txパネル本体.t2D描画( CDTXMania.app.Device, this.n本体X, this.n本体Y ); |
@@ -992,11 +992,11 @@ | ||
992 | 992 | { |
993 | 993 | this.tx選択中の曲名テクスチャ = this.t指定された文字テクスチャを生成する( this.stバー情報[ nパネル番号 ].strタイトル文字列 ); |
994 | 994 | if( this.tx選択中の曲名テクスチャ != null ) |
995 | - this.tx選択中の曲名テクスチャ.t2D描画( CDTXMania.app.Device, 60, 530 ); | |
995 | + this.tx選択中の曲名テクスチャ.t2D描画( CDTXMania.app.Device, 60, 505 ); | |
996 | 996 | |
997 | 997 | this.tx選択中のアーティスト名テクスチャ = this.t指定された文字テクスチャを生成する( CDTXMania.stage選曲.r現在選択中のスコア.譜面情報.アーティスト名 ); |
998 | 998 | if( this.tx選択中のアーティスト名テクスチャ != null ) |
999 | - this.tx選択中のアーティスト名テクスチャ.t2D描画( CDTXMania.app.Device, 60, 560 ); | |
999 | + this.tx選択中のアーティスト名テクスチャ.t2D描画( CDTXMania.app.Device, 60, 535 ); | |
1000 | 1000 | |
1001 | 1001 | } |
1002 | 1002 |