• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

DTXManiaXG(Ver.K)4.00Series


Commit MetaInfo

修訂70a4f6c30093212036e67e107b7bb6e5bbdf7261 (tree)
時間2020-08-08 15:18:36
作者kairera0467 <gennsou76573@gmai...>
Commiterkairera0467

Log Message

ギター画面のコンボ文字が正しく表示されていなかったので修正

Change Summary

  • delete: "DTXMania\343\203\227\343\203\255\343\202\270\343\202\247\343\202\257\343\203\210/\343\202\263\343\203\274\343\203\211/\343\202\271\343\203\206\343\203\274\343\202\270/07.\346\274\224\345\245\217/CAct\346\274\224\345\245\217Combo\345\205\261\351\200\232.cs"

差異

--- "a/DTXMania\343\203\227\343\203\255\343\202\270\343\202\247\343\202\257\343\203\210/\343\202\263\343\203\274\343\203\211/\343\202\271\343\203\206\343\203\274\343\202\270/07.\346\274\224\345\245\217/CAct\346\274\224\345\245\217Combo\345\205\261\351\200\232.cs"
+++ "b/DTXMania\343\203\227\343\203\255\343\202\270\343\202\247\343\202\257\343\203\210/\343\202\263\343\203\274\343\203\211/\343\202\271\343\203\206\343\203\274\343\202\270/07.\346\274\224\345\245\217/CAct\346\274\224\345\245\217Combo\345\205\261\351\200\232.cs"
@@ -122,11 +122,11 @@ namespace DTXMania
122122
123123 protected enum EEvent { 非表示, 数値更新, 同一数値, ミス通知 }
124124 protected enum EMode { 非表示中, 進行表示中, 残像表示中 }
125- protected const int nギターコンボのCOMBO文字の高さ = 32;
126- protected const int nギターコンボのCOMBO文字の幅 = 90;
125+ protected const int nギターコンボのCOMBO文字の高さ = 50;
126+ protected const int nギターコンボのCOMBO文字の幅 = 220;
127127 protected const int nギターコンボの高さ = 92;
128128 protected const int nギターコンボの幅 = 72;
129- protected const int nギターコンボの文字間隔 = -6;
129+ protected const int nギターコンボの文字間隔 = -4;
130130 protected const int nドラムコンボのCOMBO文字の高さ = 32;
131131 protected const int nドラムコンボのCOMBO文字の幅 = 90;
132132 protected const int nドラムコンボの高さ = 115;
@@ -807,7 +807,8 @@ namespace DTXMania
807807 //-----------------
808808 float f拡大率 = 1.0f;
809809 if( nジャンプインデックス >= 0 && nジャンプインデックス < 180 )
810- f拡大率 = 1.0f - ( ( (float) this.nジャンプ差分値[ nジャンプインデックス ] ) / 45.0f ); // f拡大率 = 1.0 → 1.3333... → 1.0
810+ f拡大率 = 1.0f - ( ( (float) this.nジャンプ差分値[ nジャンプインデックス ] ) / 90.0f ); // f拡大率 = 1.0 → 1.3333... → 1.0
811+ // 45.0f -> 90.0f
811812
812813 if( this.txCOMBOギター != null )
813814 this.txCOMBOギター.vc拡大縮小倍率 = new Vector3( f拡大率, f拡大率, 1.0f );
@@ -824,10 +825,10 @@ namespace DTXMania
824825 x,
825826 y,
826827 new Rectangle(
827- 128,
828- (int) ( 158 ),
829- (int) ( 124 ),
830- (int) ( 16 * Scale.Y )
828+ 0,
829+ (int) ( 236 ),
830+ (int) ( nギターコンボのCOMBO文字の幅 ),
831+ (int) ( nギターコンボのCOMBO文字の高さ )
831832 )
832833 );
833834 //-----------------
@@ -841,7 +842,8 @@ namespace DTXMania
841842 //-----------------
842843 f拡大率 = 1.0f;
843844 if( nジャンプインデックス >= 0 && nジャンプインデックス < 180 )
844- f拡大率 = 1.0f - ( ( (float) this.nジャンプ差分値[ nジャンプインデックス ] ) / 45f ); // f拡大率 = 1.0 → 1.3333... → 1.0
845+ f拡大率 = 1.0f - ( ( (float) this.nジャンプ差分値[ nジャンプインデックス ] ) / 90.0f ); // f拡大率 = 1.0 → 1.3333... → 1.0
846+ // 45.0f -> 90.0f
845847
846848 if( this.txCOMBOギター != null )
847849 this.txCOMBOギター.vc拡大縮小倍率 = new Vector3( f拡大率, f拡大率, 1.0f );
@@ -851,7 +853,7 @@ namespace DTXMania
851853 //-----------------
852854 x -= nギターコンボの幅 + nギターコンボの文字間隔;
853855 //y = (int) ( n表示中央Y * Scale.Y ) - nギターコンボの高さ;
854- y = n表示中央Y - nギターコンボの高さ;
856+ y = n表示中央Y - ( nギターコンボの高さ + 10 );
855857
856858 if( this.txCOMBOギター != null )
857859 {
@@ -860,8 +862,8 @@ namespace DTXMania
860862 x - ( (int) ( ( ( f拡大率 - 1.0f ) * nギターコンボの幅 ) / 2.0f ) ),
861863 y - ( (int) ( ( ( f拡大率 - 1.0f ) * nギターコンボの高さ ) / 2.0f ) ),
862864 new Rectangle(
863- ( n位の数[ i ] % 4 ) * nギターコンボの幅,
864- ( n位の数[ i ] / 4 ) * nギターコンボの高さ,
865+ ( n位の数[ i ] % 5 ) * nギターコンボの幅,
866+ ( n位の数[ i ] / 5 ) * nギターコンボの高さ,
865867 nギターコンボの幅,
866868 nギターコンボの高さ
867869 )