• R/O
  • SSH
  • HTTPS

dtxmaniaxg-verk: Commit


Commit MetaInfo

Revision355 (tree)
Time2014-02-24 15:20:04
Authorron1120

Log Message

#xxxxx ギターのシャッター倍率の調整。

Change Summary

Incremental Difference

--- trunk/DTXManiaプロジェクト/コード/ステージ/07.演奏/CAct演奏RGB共通.cs (revision 354)
+++ trunk/DTXManiaプロジェクト/コード/ステージ/07.演奏/CAct演奏RGB共通.cs (revision 355)
@@ -17,7 +17,7 @@
1717 protected STDGBVALUE<int> nシャッター下;
1818 protected STDGBVALUE<double> dbシャッター上;
1919 protected STDGBVALUE<double> dbシャッター下;
20- protected double db倍率 = 7.2;
20+ protected double db倍率 = 6.14;
2121 protected CTexture txRGB;
2222 protected CTexture txシャッター;
2323 protected CActLVLNFont actLVFont;
--- trunk/DTXManiaプロジェクト/コード/ステージ/07.演奏/ギター画面/CAct演奏GuitarRGB.cs (revision 354)
+++ trunk/DTXManiaプロジェクト/コード/ステージ/07.演奏/ギター画面/CAct演奏GuitarRGB.cs (revision 355)
@@ -26,7 +26,6 @@
2626 return 0;
2727 }
2828
29- #region[ シャッター 変数]
3029 //CLASSICシャッター(レーンシャッター)は未実装。
3130 //if ((CDTXMania.ConfigIni.bCLASSIC譜面判別を有効にする == true ) && ((CDTXMania.DTX.bチップがある.LeftCymbal == false) && ( CDTXMania.DTX.bチップがある.FT == false ) && ( CDTXMania.DTX.bチップがある.Ride == false ) && ( CDTXMania.DTX.bチップがある.LP == false )))
3231 {
@@ -73,32 +72,36 @@
7372 }
7473 }
7574
76- this.nシャッター上.Guitar = CDTXMania.ConfigIni.nShutterInSide.Guitar;
77- this.nシャッター下.Guitar = CDTXMania.ConfigIni.nShutterOutSide.Guitar;
78-
79- if (CDTXMania.ConfigIni.bReverse.Guitar)
75+ #region[ シャッター 変数]
76+ if (base.txシャッター != null)
8077 {
81- this.nシャッター上.Guitar = CDTXMania.ConfigIni.nShutterOutSide.Guitar;
82- this.nシャッター下.Guitar = CDTXMania.ConfigIni.nShutterInSide.Guitar;
83- }
78+ this.nシャッター上.Guitar = CDTXMania.ConfigIni.nShutterInSide.Guitar;
79+ this.nシャッター下.Guitar = CDTXMania.ConfigIni.nShutterOutSide.Guitar;
8480
85- this.dbシャッター上.Guitar = 108 + -720 + (this.nシャッター上.Guitar * this.db倍率);
86- this.dbシャッター下.Guitar = 720 - 50 - (this.nシャッター下.Guitar * this.db倍率);
81+ if (CDTXMania.ConfigIni.bReverse.Guitar)
82+ {
83+ this.nシャッター上.Guitar = CDTXMania.ConfigIni.nShutterOutSide.Guitar;
84+ this.nシャッター下.Guitar = CDTXMania.ConfigIni.nShutterInSide.Guitar;
85+ }
8786
88- this.nシャッター上.Bass = CDTXMania.ConfigIni.nShutterInSide.Bass;
89- this.nシャッター下.Bass = CDTXMania.ConfigIni.nShutterOutSide.Bass;
87+ this.dbシャッター上.Guitar = 108 - base.txシャッター.sz画像サイズ.Height + (this.nシャッター上.Guitar * this.db倍率);
88+ this.dbシャッター下.Guitar = 720 - 50 - (this.nシャッター下.Guitar * this.db倍率);
9089
91- if (CDTXMania.ConfigIni.bReverse.Bass)
92- {
93- this.nシャッター上.Bass = CDTXMania.ConfigIni.nShutterOutSide.Bass;
94- this.nシャッター下.Bass = CDTXMania.ConfigIni.nShutterInSide.Bass;
95- }
90+ this.nシャッター上.Bass = CDTXMania.ConfigIni.nShutterInSide.Bass;
91+ this.nシャッター下.Bass = CDTXMania.ConfigIni.nShutterOutSide.Bass;
9692
97- this.dbシャッター上.Bass = 108 + -720 + (this.nシャッター上.Bass * this.db倍率);
98- this.dbシャッター下.Bass = 720 - 50 - (this.nシャッター下.Bass * this.db倍率);
93+ if (CDTXMania.ConfigIni.bReverse.Bass)
94+ {
95+ this.nシャッター上.Bass = CDTXMania.ConfigIni.nShutterOutSide.Bass;
96+ this.nシャッター下.Bass = CDTXMania.ConfigIni.nShutterInSide.Bass;
97+ }
9998
99+ this.dbシャッター上.Bass = 108 - base.txシャッター.sz画像サイズ.Height + (this.nシャッター上.Bass * this.db倍率);
100+ this.dbシャッター下.Bass = 720 - 50 - (this.nシャッター下.Bass * this.db倍率);
101+ }
100102 #endregion
101103
104+ #region [ ギター ]
102105 if (CDTXMania.DTX.bチップがある.Guitar)
103106 {
104107 /*
@@ -117,30 +120,35 @@
117120 }
118121 */
119122
120- if (base.txRGB != null && this.nシャッター上.Guitar == 0)
123+ if (base.txRGB != null)
121124 {
122- base.txRGB.t2D描画(CDTXMania.app.Device, 67, 42, new Rectangle(0, (CDTXMania.ConfigIni.bLeft.Guitar ? 64 : 0), 277, 64));
123- }
124- else if (base.txシャッター != null)
125- {
126- base.txシャッター.t2D描画(CDTXMania.app.Device, 79, (int)this.dbシャッター上.Guitar);
125+ if (this.nシャッター下.Guitar == 0)
126+ base.txRGB.t2D描画(CDTXMania.app.Device, 67, 670, new Rectangle(0, 128, 277, 50));
127127
128- if (CDTXMania.ConfigIni.b演奏情報を表示する)
129- this.actLVFont.t文字列描画(195, (int)this.dbシャッター上.Guitar - 25 + 720, this.nシャッター上.Guitar.ToString());
128+ if (this.nシャッター上.Guitar == 0)
129+ base.txRGB.t2D描画(CDTXMania.app.Device, 67, 42, new Rectangle(0, (CDTXMania.ConfigIni.bLeft.Guitar ? 64 : 0), 277, 64));
130130 }
131131
132- if (base.txRGB != null && this.nシャッター下.Guitar == 0)
132+ if (base.txシャッター != null)
133133 {
134- base.txRGB.t2D描画(CDTXMania.app.Device, 67, 670, new Rectangle(0, 128, 277, 50));
135- }
136- else if (base.txシャッター != null)
137- {
138- base.txシャッター.t2D描画(CDTXMania.app.Device, 79, (int)this.dbシャッター下.Guitar);
134+ if (this.nシャッター下.Guitar != 0)
135+ {
136+ base.txシャッター.t2D描画(CDTXMania.app.Device, 79, (int)this.dbシャッター下.Guitar);
139137
140- if (CDTXMania.ConfigIni.b演奏情報を表示する)
141- this.actLVFont.t文字列描画(195, (int)this.dbシャッター下.Guitar + 5, this.nシャッター下.Guitar.ToString());
138+ if (CDTXMania.ConfigIni.b演奏情報を表示する)
139+ this.actLVFont.t文字列描画(195, (int)this.dbシャッター下.Guitar + 5, this.nシャッター下.Guitar.ToString());
140+ }
141+ if (this.nシャッター上.Guitar != 0)
142+ {
143+ base.txシャッター.t2D描画(CDTXMania.app.Device, 79, (int)this.dbシャッター上.Guitar);
144+
145+ if (CDTXMania.ConfigIni.b演奏情報を表示する)
146+ this.actLVFont.t文字列描画(195, (int)this.dbシャッター上.Guitar - 25 + base.txシャッター.sz画像サイズ.Height, this.nシャッター上.Guitar.ToString());
147+ }
142148 }
143149 }
150+ #endregion
151+ #region [ ベース ]
144152 if (CDTXMania.DTX.bチップがある.Bass)
145153 {
146154 /*
@@ -159,30 +167,34 @@
159167 }
160168 */
161169
162- if (base.txRGB != null && this.nシャッター上.Bass == 0)
170+ if (base.txRGB != null)
163171 {
164- base.txRGB.t2D描画(CDTXMania.app.Device, 937, 42, new Rectangle(0, (CDTXMania.ConfigIni.bLeft.Bass ? 64 : 0), 277, 64));
165- }
166- else if (base.txシャッター != null)
167- {
168- base.txシャッター.t2D描画(CDTXMania.app.Device, 949, (int)this.dbシャッター上.Bass);
172+ if (this.nシャッター下.Bass == 0)
173+ base.txRGB.t2D描画(CDTXMania.app.Device, 937, 670, new Rectangle(0, 128, 277, 50));
169174
170- if (CDTXMania.ConfigIni.b演奏情報を表示する)
171- this.actLVFont.t文字列描画(1065, (int)this.dbシャッター上.Bass - 25 + 720, this.nシャッター上.Bass.ToString());
175+ if (this.nシャッター上.Bass == 0)
176+ base.txRGB.t2D描画(CDTXMania.app.Device, 937, 42, new Rectangle(0, (CDTXMania.ConfigIni.bLeft.Bass ? 64 : 0), 277, 64));
172177 }
173178
174- if (base.txRGB != null && this.nシャッター下.Bass == 0)
179+ if (base.txシャッター != null)
175180 {
176- base.txRGB.t2D描画(CDTXMania.app.Device, 937, 670, new Rectangle(0, 128, 277, 50));
177- }
178- else if (base.txシャッター != null)
179- {
180- base.txシャッター.t2D描画(CDTXMania.app.Device, 949, (int)this.dbシャッター下.Bass);
181+ if (this.nシャッター下.Bass != 0)
182+ {
183+ base.txシャッター.t2D描画(CDTXMania.app.Device, 949, (int)this.dbシャッター下.Bass);
181184
182- if (CDTXMania.ConfigIni.b演奏情報を表示する)
183- this.actLVFont.t文字列描画(1065, (int)this.dbシャッター下.Bass + 5, this.nシャッター下.Bass.ToString());
185+ if (CDTXMania.ConfigIni.b演奏情報を表示する)
186+ this.actLVFont.t文字列描画(1065, (int)this.dbシャッター下.Bass + 5, this.nシャッター下.Bass.ToString());
187+ }
188+ if (this.nシャッター上.Bass != 0)
189+ {
190+ base.txシャッター.t2D描画(CDTXMania.app.Device, 949, (int)this.dbシャッター上.Bass);
191+
192+ if (CDTXMania.ConfigIni.b演奏情報を表示する)
193+ this.actLVFont.t文字列描画(1065, (int)this.dbシャッター上.Bass - 25 + base.txシャッター.sz画像サイズ.Height, this.nシャッター上.Bass.ToString());
194+ }
184195 }
185196 }
197+ #endregion
186198 for (int i = 0; i < 10; i++)
187199 {
188200 base.b押下状態[i] = false;
--- branches/GITADORA風/DTXManiaプロジェクト/コード/ステージ/07.演奏/CAct演奏RGB共通.cs (revision 354)
+++ branches/GITADORA風/DTXManiaプロジェクト/コード/ステージ/07.演奏/CAct演奏RGB共通.cs (revision 355)
@@ -17,7 +17,7 @@
1717 protected STDGBVALUE<int> nシャッター下;
1818 protected STDGBVALUE<double> dbシャッター上;
1919 protected STDGBVALUE<double> dbシャッター下;
20- protected double db倍率 = 7.2;
20+ protected double db倍率 = 6.14;
2121 protected CTexture txRGB;
2222 protected CTexture txシャッター;
2323 protected CActLVLNFont actLVFont;
--- branches/GITADORA風/DTXManiaプロジェクト/コード/ステージ/07.演奏/ギター画面/CAct演奏GuitarRGB.cs (revision 354)
+++ branches/GITADORA風/DTXManiaプロジェクト/コード/ステージ/07.演奏/ギター画面/CAct演奏GuitarRGB.cs (revision 355)
@@ -20,13 +20,12 @@
2020 public override int On進行描画()
2121 {
2222 if( !base.b活性化してない )
23- {
24- if( !CDTXMania.ConfigIni.bGuitar有効 )
25- {
26- return 0;
23+ {
24+ if (!CDTXMania.ConfigIni.bGuitar有効)
25+ {
26+ return 0;
2727 }
2828
29- #region[ シャッター 変数]
3029 //CLASSICシャッター(レーンシャッター)は未実装。
3130 //if ((CDTXMania.ConfigIni.bCLASSIC譜面判別を有効にする == true ) && ((CDTXMania.DTX.bチップがある.LeftCymbal == false) && ( CDTXMania.DTX.bチップがある.FT == false ) && ( CDTXMania.DTX.bチップがある.Ride == false ) && ( CDTXMania.DTX.bチップがある.LP == false )))
3231 {
@@ -73,34 +72,38 @@
7372 }
7473 }
7574
76- this.nシャッター上.Guitar = CDTXMania.ConfigIni.nShutterInSide.Guitar;
77- this.nシャッター下.Guitar = CDTXMania.ConfigIni.nShutterOutSide.Guitar;
78-
79- if (CDTXMania.ConfigIni.bReverse.Guitar)
75+ #region[ シャッター 変数]
76+ if (base.txシャッター != null)
8077 {
81- this.nシャッター上.Guitar = CDTXMania.ConfigIni.nShutterOutSide.Guitar;
82- this.nシャッター下.Guitar = CDTXMania.ConfigIni.nShutterInSide.Guitar;
83- }
78+ this.nシャッター上.Guitar = CDTXMania.ConfigIni.nShutterInSide.Guitar;
79+ this.nシャッター下.Guitar = CDTXMania.ConfigIni.nShutterOutSide.Guitar;
8480
85- this.dbシャッター上.Guitar = 108 + -720 + (this.nシャッター上.Guitar * this.db倍率);
86- this.dbシャッター下.Guitar = 720 - 50 - (this.nシャッター下.Guitar * this.db倍率);
81+ if (CDTXMania.ConfigIni.bReverse.Guitar)
82+ {
83+ this.nシャッター上.Guitar = CDTXMania.ConfigIni.nShutterOutSide.Guitar;
84+ this.nシャッター下.Guitar = CDTXMania.ConfigIni.nShutterInSide.Guitar;
85+ }
8786
88- this.nシャッター上.Bass = CDTXMania.ConfigIni.nShutterInSide.Bass;
89- this.nシャッター下.Bass = CDTXMania.ConfigIni.nShutterOutSide.Bass;
87+ this.dbシャッター上.Guitar = 108 - base.txシャッター.sz画像サイズ.Height + (this.nシャッター上.Guitar * this.db倍率);
88+ this.dbシャッター下.Guitar = 720 - 50 - (this.nシャッター下.Guitar * this.db倍率);
9089
91- if (CDTXMania.ConfigIni.bReverse.Bass)
92- {
93- this.nシャッター上.Bass = CDTXMania.ConfigIni.nShutterOutSide.Bass;
94- this.nシャッター下.Bass = CDTXMania.ConfigIni.nShutterInSide.Bass;
95- }
90+ this.nシャッター上.Bass = CDTXMania.ConfigIni.nShutterInSide.Bass;
91+ this.nシャッター下.Bass = CDTXMania.ConfigIni.nShutterOutSide.Bass;
9692
97- this.dbシャッター上.Bass = 108 + -720 + (this.nシャッター上.Bass * this.db倍率);
98- this.dbシャッター下.Bass = 720 - 50 - (this.nシャッター下.Bass * this.db倍率);
93+ if (CDTXMania.ConfigIni.bReverse.Bass)
94+ {
95+ this.nシャッター上.Bass = CDTXMania.ConfigIni.nShutterOutSide.Bass;
96+ this.nシャッター下.Bass = CDTXMania.ConfigIni.nShutterInSide.Bass;
97+ }
9998
99+ this.dbシャッター上.Bass = 108 - base.txシャッター.sz画像サイズ.Height + (this.nシャッター上.Bass * this.db倍率);
100+ this.dbシャッター下.Bass = 720 - 50 - (this.nシャッター下.Bass * this.db倍率);
101+ }
100102 #endregion
101103
102- if ( CDTXMania.DTX.bチップがある.Guitar )
103- {
104+ #region [ ギター ]
105+ if (CDTXMania.DTX.bチップがある.Guitar)
106+ {
104107 /*
105108 for( int j = 0; j < 5; j++ )
106109 {
@@ -117,32 +120,37 @@
117120 }
118121 */
119122
120- if (base.txRGB != null && this.nシャッター上.Guitar == 0)
123+ if (base.txRGB != null)
121124 {
122- base.txRGB.t2D描画( CDTXMania.app.Device, 67 , 42, new Rectangle( 0,( CDTXMania.ConfigIni.bLeft.Guitar ? 64 : 0 ), 277, 64) );
123- }
124- else if (base.txシャッター != null)
125- {
126- base.txシャッター.t2D描画(CDTXMania.app.Device, 80, (int)this.dbシャッター上.Guitar);
125+ if (this.nシャッター下.Guitar == 0)
126+ base.txRGB.t2D描画(CDTXMania.app.Device, 67, 670, new Rectangle(0, 128, 277, 50));
127127
128- if (CDTXMania.ConfigIni.b演奏情報を表示する)
129- this.actLVFont.t文字列描画(195, (int)this.dbシャッター上.Guitar - 25 + 720, this.nシャッター上.Guitar.ToString());
128+ if (this.nシャッター上.Guitar == 0)
129+ base.txRGB.t2D描画(CDTXMania.app.Device, 67, 42, new Rectangle(0, (CDTXMania.ConfigIni.bLeft.Guitar ? 64 : 0), 277, 64));
130130 }
131131
132- if (base.txRGB != null && this.nシャッター下.Guitar == 0)
132+ if (base.txシャッター != null)
133133 {
134- base.txRGB.t2D描画(CDTXMania.app.Device, 67, 670, new Rectangle(0, 128, 277, 50));
135- }
136- else if (base.txシャッター != null)
137- {
138- base.txシャッター.t2D描画(CDTXMania.app.Device, 80, (int)this.dbシャッター下.Guitar);
134+ if (this.nシャッター下.Guitar != 0)
135+ {
136+ base.txシャッター.t2D描画(CDTXMania.app.Device, 80, (int)this.dbシャッター下.Guitar);
139137
140- if (CDTXMania.ConfigIni.b演奏情報を表示する)
141- this.actLVFont.t文字列描画(195, (int)this.dbシャッター下.Guitar + 5, this.nシャッター下.Guitar.ToString());
138+ if (CDTXMania.ConfigIni.b演奏情報を表示する)
139+ this.actLVFont.t文字列描画(195, (int)this.dbシャッター下.Guitar + 5, this.nシャッター下.Guitar.ToString());
140+ }
141+ if (this.nシャッター上.Guitar != 0)
142+ {
143+ base.txシャッター.t2D描画(CDTXMania.app.Device, 80, (int)this.dbシャッター上.Guitar);
144+
145+ if (CDTXMania.ConfigIni.b演奏情報を表示する)
146+ this.actLVFont.t文字列描画(195, (int)this.dbシャッター上.Guitar - 25 + base.txシャッター.sz画像サイズ.Height, this.nシャッター上.Guitar.ToString());
147+ }
142148 }
143- }
144- if( CDTXMania.DTX.bチップがある.Bass )
145- {
149+ }
150+ #endregion
151+ #region [ ベース ]
152+ if (CDTXMania.DTX.bチップがある.Bass)
153+ {
146154 /*
147155 for( int j = 0; j < 5; j++ )
148156 {
@@ -159,35 +167,39 @@
159167 }
160168 */
161169
162- if (base.txRGB != null && this.nシャッター上.Bass == 0)
170+ if (base.txRGB != null)
163171 {
164- base.txRGB.t2D描画( CDTXMania.app.Device, 937 , 42, new Rectangle( 0,( CDTXMania.ConfigIni.bLeft.Bass ? 64 : 0 ), 277, 64) );
165- }
166- else if (base.txシャッター != null)
167- {
168- base.txシャッター.t2D描画(CDTXMania.app.Device, 950, (int)this.dbシャッター上.Bass);
172+ if (this.nシャッター下.Bass == 0)
173+ base.txRGB.t2D描画(CDTXMania.app.Device, 937, 670, new Rectangle(0, 128, 277, 50));
169174
170- if (CDTXMania.ConfigIni.b演奏情報を表示する)
171- this.actLVFont.t文字列描画(1065, (int)this.dbシャッター上.Bass - 25 + 720, this.nシャッター上.Bass.ToString());
175+ if (this.nシャッター上.Bass == 0)
176+ base.txRGB.t2D描画(CDTXMania.app.Device, 937, 42, new Rectangle(0, (CDTXMania.ConfigIni.bLeft.Bass ? 64 : 0), 277, 64));
172177 }
173178
174- if (base.txRGB != null && this.nシャッター下.Bass == 0)
179+ if (base.txシャッター != null)
175180 {
176- base.txRGB.t2D描画(CDTXMania.app.Device, 937, 670, new Rectangle(0, 128, 277, 50));
177- }
178- else if (base.txシャッター != null)
179- {
180- base.txシャッター.t2D描画(CDTXMania.app.Device, 950, (int)this.dbシャッター下.Bass);
181+ if (this.nシャッター下.Bass != 0)
182+ {
183+ base.txシャッター.t2D描画(CDTXMania.app.Device, 950, (int)this.dbシャッター下.Bass);
181184
182- if (CDTXMania.ConfigIni.b演奏情報を表示する)
183- this.actLVFont.t文字列描画(1065, (int)this.dbシャッター下.Bass + 5, this.nシャッター下.Bass.ToString());
185+ if (CDTXMania.ConfigIni.b演奏情報を表示する)
186+ this.actLVFont.t文字列描画(1065, (int)this.dbシャッター下.Bass + 5, this.nシャッター下.Bass.ToString());
187+ }
188+ if (this.nシャッター上.Bass != 0)
189+ {
190+ base.txシャッター.t2D描画(CDTXMania.app.Device, 950, (int)this.dbシャッター上.Bass);
191+
192+ if (CDTXMania.ConfigIni.b演奏情報を表示する)
193+ this.actLVFont.t文字列描画(1065, (int)this.dbシャッター上.Bass - 25 + base.txシャッター.sz画像サイズ.Height, this.nシャッター上.Bass.ToString());
194+ }
184195 }
185196 }
186- for( int i = 0; i < 10; i++ )
187- {
188- base.b押下状態[ i ] = false;
189- }
190- }
197+ #endregion
198+ for (int i = 0; i < 10; i++)
199+ {
200+ base.b押下状態[i] = false;
201+ }
202+ }
191203 return 0;
192204 }
193205 }
Show on old repository browser