• R/O
  • SSH
  • HTTPS

dtxmaniaxg-verk: Commit


Commit MetaInfo

Revision469 (tree)
Zeit2015-09-09 23:53:27
Autorron1120

Log Message

#xxxxx ジャケットのサイズ調整。
#xxxxx 旧5_preimage panel.pngを5_preimage panel_old.pngとして保存。
#xxxxx 細かな位置調整。

Ändern Zusammenfassung

Diff

--- branches/GITADORA風/DTXManiaプロジェクト/コード/ステージ/05.選曲/CActSelectPreimageパネル.cs (revision 468)
+++ branches/GITADORA風/DTXManiaプロジェクト/コード/ステージ/05.選曲/CActSelectPreimageパネル.cs (revision 469)
@@ -62,7 +62,8 @@
6262 // this.txセンサ = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_sensor.png" ), false );
6363 this.txプレビュー画像 = null;
6464 this.txプレビュー画像がないときの画像 = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\5_preimage default.png" ), false );
65- this.sfAVI画像 = Surface.CreateOffscreenPlain( CDTXMania.app.Device, 0xcc, 0x10d, CDTXMania.app.GraphicsDeviceManager.CurrentSettings.BackBufferFormat, Pool.SystemMemory );
65+ this.txステータスパネル = CDTXMania.tテクスチャの生成(CSkin.Path(@"Graphics\5_status panel.png"));
66+ this.sfAVI画像 = Surface.CreateOffscreenPlain( CDTXMania.app.Device, 0xcc, 0x10d, CDTXMania.app.GraphicsDeviceManager.CurrentSettings.BackBufferFormat, Pool.SystemMemory );
6667 this.nAVI再生開始時刻 = -1L;
6768 this.n前回描画したフレーム番号 = -1;
6869 this.b動画フレームを作成した = false;
@@ -80,7 +81,8 @@
8081 CDTXMania.tテクスチャの解放( ref this.txプレビュー画像 );
8182 CDTXMania.tテクスチャの解放( ref this.txプレビュー画像がないときの画像 );
8283 CDTXMania.tテクスチャの解放( ref this.r表示するプレビュー画像 );
83- if( this.sfAVI画像 != null )
84+ CDTXMania.tテクスチャの解放( ref this.txステータスパネル );
85+ if ( this.sfAVI画像 != null )
8486 {
8587 this.sfAVI画像.Dispose();
8688 this.sfAVI画像 = null;
@@ -169,7 +171,8 @@
169171 private CTexture txプレビュー画像;
170172 private CTexture txプレビュー画像がないときの画像;
171173 private CTexture r表示するプレビュー画像;
172- private bool b新しいプレビューファイルを読み込んだ;
174+ private CTexture txステータスパネル;
175+ private bool b新しいプレビューファイルを読み込んだ;
173176 private bool b新しいプレビューファイルをまだ読み込んでいない
174177 {
175178 get
@@ -463,7 +466,13 @@
463466 int n基X = 0x12;
464467 int n基Y = 0x58;
465468
466- if( this.ct登場アニメ用.b終了値に達した || ( this.txパネル本体 != null ) )
469+ if (this.txステータスパネル != null)
470+ {
471+ n基X = 250;
472+ n基Y = 34;
473+ }
474+
475+ if ( this.ct登場アニメ用.b終了値に達した || ( this.txパネル本体 != null ) )
467476 {
468477 this.n本体X = n基X;
469478 this.n本体Y = n基Y;
@@ -488,6 +497,13 @@
488497 int n差Y = 0x18;
489498 int n表示ジャケットサイズ = 368;
490499
500+ if (this.txステータスパネル != null)
501+ {
502+ n差X = 8;
503+ n差Y = 8;
504+ n表示ジャケットサイズ = 292;
505+ }
506+
491507 int x = this.n本体X + n差X;
492508 int y = this.n本体Y + n差Y;
493509 int z = n表示ジャケットサイズ;
--- branches/GITADORA風/DTXManiaプロジェクト/コード/ステージ/05.選曲/CActSelectステータスパネル.cs (revision 468)
+++ branches/GITADORA風/DTXManiaプロジェクト/コード/ステージ/05.選曲/CActSelectステータスパネル.cs (revision 469)
@@ -220,6 +220,16 @@
220220 #region [ 選択曲の BPM の描画 ]
221221 if (CDTXMania.stage選曲.r現在選択中の曲 != null && this.txBPM画像 != null)
222222 {
223+
224+ int nBPM位置X = 490;
225+ int nBPM位置Y = 385;
226+
227+ if (this.txパネル本体 != null)
228+ {
229+ nBPM位置X = 90;
230+ nBPM位置Y = 275;
231+ }
232+
223233 string strBPM;
224234 switch (CDTXMania.stage選曲.r現在選択中の曲.eノード種別)
225235 {
@@ -235,8 +245,8 @@
235245 }
236246 }
237247
238- this.txBPM画像.t2D描画(CDTXMania.app.Device, 502, 385);
239- this.tBPM表示(502, 405, string.Format("{0,3:###}", strBPM));
248+ this.txBPM画像.t2D描画(CDTXMania.app.Device, nBPM位置X, nBPM位置Y);
249+ this.tBPM表示(nBPM位置X + 17, nBPM位置Y + 25, string.Format("{0,3:###}", strBPM));
240250 //CDTXMania.act文字コンソール.tPrint(50, 570, C文字コンソール.Eフォント種別.白, string.Format("BPM:{0:####0}", this.n現在選択中の曲のBPM));
241251 }
242252 #endregion
@@ -246,7 +256,7 @@
246256 int[] nPart = { 0, CDTXMania.ConfigIni.bIsSwappedGuitarBass ? 2 : 1, CDTXMania.ConfigIni.bIsSwappedGuitarBass ? 1 : 2 };
247257
248258 int nBaseX = 30;
249- int nBaseY = 363;
259+ int nBaseY = 364;
250260
251261 int n難易度文字X = 70;
252262 int n難易度文字Y = 75;
@@ -254,18 +264,11 @@
254264 if (this.txパネル本体 != null)
255265 {
256266 n難易度文字X = nBaseX + 10;
257- n難易度文字Y = nBaseY - 22;
267+ n難易度文字Y = nBaseY - 2;
258268 }
259269
260- #region [ 難易度文字列の描画 ]
261- for (int i = 0; i < 5; i++)
262- {
263- CDTXMania.act文字コンソール.tPrint(n難易度文字X + (i * 110), n難易度文字Y, (this.n現在選択中の曲の難易度 == i) ? C文字コンソール.Eフォント種別.赤 : C文字コンソール.Eフォント種別.白, this.str難易度ラベル[i]);
264- }
265- #endregion
270+ #region [ ステータスパネルの描画 ]
266271 //-----------------
267-
268- //-----------------
269272 if (this.txパネル本体 != null)
270273 {
271274 this.txパネル本体.t2D描画(CDTXMania.app.Device, nBaseX, nBaseY);
@@ -274,7 +277,7 @@
274277 {
275278
276279 int nPanelX = nBaseX + (187 * nPart[j]);
277- int nPanelY = nBaseY;
280+ int nPanelY = nBaseY - 20;
278281
279282 int flag = 0;
280283
@@ -430,6 +433,14 @@
430433 }
431434 }
432435 }
436+ #endregion
437+ #region [ 難易度文字列の描画 ]
438+ //-----------------
439+ for (int i = 0; i < 5; i++)
440+ {
441+ CDTXMania.act文字コンソール.tPrint(n難易度文字X + (i * 110), n難易度文字Y, (this.n現在選択中の曲の難易度 == i) ? C文字コンソール.Eフォント種別.赤 : C文字コンソール.Eフォント種別.白, this.str難易度ラベル[i]);
442+ }
443+ #endregion
433444 }
434445 return 0;
435446 }
Show on old repository browser