• R/O
  • SSH
  • HTTPS

dtxmaniaxg-verk: Commit


Commit MetaInfo

Revision360 (tree)
Time2014-02-28 18:05:45
Authorron1120

Log Message

#xxxxx GD版選曲画面の配置の調節。

Change Summary

Incremental Difference

--- branches/GITADORA風/DTXManiaプロジェクト/コード/ステージ/05.選曲/CActSelectPreimageパネル.cs (revision 359)
+++ branches/GITADORA風/DTXManiaプロジェクト/コード/ステージ/05.選曲/CActSelectPreimageパネル.cs (revision 360)
@@ -451,15 +451,15 @@
451451 {
452452 if( this.ct登場アニメ用.b終了値に達した || ( this.txパネル本体 != null ) )
453453 {
454- this.n本体X = 0x10;
455- this.n本体Y = 0x56;
454+ this.n本体X = 0x12;
455+ this.n本体Y = 0x58;
456456 }
457457 else
458458 {
459459 double num = ( (double) this.ct登場アニメ用.n現在の値 ) / 100.0;
460460 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 ) ) ) );
463463 }
464464 if( this.txパネル本体 != null )
465465 {
@@ -470,7 +470,7 @@
470470 {
471471 if( !CDTXMania.stage選曲.bスクロール中 && ( ( ( this.ct遅延表示 != null ) && ( this.ct遅延表示.n現在の値 > 0 ) ) && !this.b新しいプレビューファイルをまだ読み込んでいない ) )
472472 {
473- int x = this.n本体X + 0x24;
473+ int x = this.n本体X + 0x25;
474474 int y = this.n本体Y + 0x18;
475475 float num3 = ( (float) this.ct遅延表示.n現在の値 ) / 100f;
476476 float num4 = 0.9f + ( 0.1f * num3 );
@@ -498,34 +498,34 @@
498498 this.sfAVI画像.UnlockRectangle();
499499 this.b動画フレームを作成した = false;
500500 }
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;
503503 using (Surface surface = CDTXMania.app.Device.GetBackBuffer(0, 0))
504- {
504+ {
505505 CDTXMania.app.Device.UpdateSurface( this.sfAVI画像, new Rectangle( 0, 0, this.sfAVI画像.Description.Width, this.sfAVI画像.Description.Height ), surface, new Point( x, y ) );
506506 return;
507507 }
508508 }
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;
513513 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);
525525 this.r表示するプレビュー画像.vc拡大縮小倍率.X = num4 * f倍率;
526526 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+ }
529529 }
530530 }
531531 //-----------------
--- branches/GITADORA風/DTXManiaプロジェクト/コード/ステージ/05.選曲/CActSelectステータスパネル.cs (revision 359)
+++ branches/GITADORA風/DTXManiaプロジェクト/コード/ステージ/05.選曲/CActSelectステータスパネル.cs (revision 360)
@@ -153,7 +153,7 @@
153153 {
154154 if( this.ct登場アニメ用.b終了値に達した )
155155 {
156- this.n本体X = 473;
156+ this.n本体X = 460;
157157 this.n本体Y = 100;
158158 }
159159 else
@@ -160,7 +160,7 @@
160160 {
161161 double num2 = ( (double) ( 100 - this.ct登場アニメ用.n現在の値 ) ) / 100.0;
162162 double num3 = Math.Sin( Math.PI / 2 * num2 );
163- this.n本体X = 473;
163+ this.n本体X = 460;
164164 this.n本体Y = 100 - ((int)((this.txパネル本体.sz画像サイズ.Height * num3) * num3));
165165 }
166166 this.txパネル本体.t2D描画( CDTXMania.app.Device, this.n本体X, this.n本体Y );
--- branches/GITADORA風/DTXManiaプロジェクト/コード/ステージ/05.選曲/CActSelect曲リスト.cs (revision 359)
+++ branches/GITADORA風/DTXManiaプロジェクト/コード/ステージ/05.選曲/CActSelect曲リスト.cs (revision 360)
@@ -992,11 +992,11 @@
992992 {
993993 this.tx選択中の曲名テクスチャ = this.t指定された文字テクスチャを生成する( this.stバー情報[ nパネル番号 ].strタイトル文字列 );
994994 if( this.tx選択中の曲名テクスチャ != null )
995- this.tx選択中の曲名テクスチャ.t2D描画( CDTXMania.app.Device, 60, 530 );
995+ this.tx選択中の曲名テクスチャ.t2D描画( CDTXMania.app.Device, 60, 505 );
996996
997997 this.tx選択中のアーティスト名テクスチャ = this.t指定された文字テクスチャを生成する( CDTXMania.stage選曲.r現在選択中のスコア.譜面情報.アーティスト名 );
998998 if( this.tx選択中のアーティスト名テクスチャ != null )
999- this.tx選択中のアーティスト名テクスチャ.t2D描画( CDTXMania.app.Device, 60, 560 );
999+ this.tx選択中のアーティスト名テクスチャ.t2D描画( CDTXMania.app.Device, 60, 535 );
10001000
10011001 }
10021002
Show on old repository browser