{
this.t入力_全入力文字列から(str全入力文字列, 1.0, 0);
}
- public unsafe void t入力_全入力文字列から(string str全入力文字列, double db再生速度, int nBGMAdjust)
+ public void t入力_全入力文字列から(string str全入力文字列, double db再生速度, int nBGMAdjust)
{
//DateTime timeBeginLoad = DateTime.Now;
//TimeSpan span;
this.n無限管理VOL = null;
this.n無限管理PAN = null;
this.n無限管理SIZE = null;
- if (!this.bヘッダのみ && this.bレーン情報を確認する)
+ if (!this.bヘッダのみ || this.bレーン情報を確認する)
{
#region [ BPM/BMP初期化 ]
CBPM cbpm = null;
// #36177 使用レーン数の表示 add ikanick 16.03.20
#region [ 使用レーン数カウント ]
-
- for (EPart inst = EPart.Drums; inst <= EPart.Bass; ++inst)
+ #region [Drums]
+ if (this.bチップがある.LeftPedal || this.bチップがある.LeftBassDrum)
{
- this.n使用レーン数[inst] = EUseLanes.Other;
+ this.n使用レーン数.Drums = EUseLanes.Dr_12;
}
- foreach (CChip chip in this.listChip)
+ else if (this.bチップがある.FloorTom || this.bチップがある.HHOpen || this.bチップがある.Ride || this.bチップがある.LeftCymbal)
{
- int ch = (int)chip.eチャンネル番号;
- if (chip.bDrums可視チップ)
- {
- if (this.n使用レーン数.Drums == EUseLanes.Other) this.n使用レーン数.Drums = EUseLanes.Dr_6;
- if ( ( this.n使用レーン数.Drums != EUseLanes.Dr_10 ) && ( this.n使用レーン数.Drums != EUseLanes.Dr_12 ) )
- {
- if ((chip.eチャンネル番号 == EChannel.FloorTom)
- || (chip.eチャンネル番号 == EChannel.HiHatOpen)
- || (chip.eチャンネル番号 == EChannel.RideCymbal)
- || (chip.eチャンネル番号 == EChannel.LeftCymbal))
- {
- this.n使用レーン数.Drums = EUseLanes.Dr_10;
- }
- }
- if (this.n使用レーン数.Drums != EUseLanes.Dr_12)
- {
- if ((chip.eチャンネル番号 == EChannel.LeftPedal)
- || (chip.eチャンネル番号 == EChannel.LeftBassDrum))
- {
- this.n使用レーン数.Drums = EUseLanes.Dr_12;
- }
- }
- }
- if (chip.bGuitar可視チップ)
- {
- // 5レーン未対応
- if ( this.n使用レーン数.Guitar == EUseLanes.Other ) this.n使用レーン数.Guitar = EUseLanes.GB_3;
- }
- if (chip.bBass可視チップ)
- {
- // 5レーン未対応
- if ( this.n使用レーン数.Bass == EUseLanes.Other ) this.n使用レーン数.Bass = EUseLanes.GB_3;
- }
+ this.n使用レーン数.Drums = EUseLanes.Dr_10;
+ }
+ else if (this.bチップがある.Drums)
+ {
+ this.n使用レーン数.Drums = EUseLanes.Dr_6;
+ }
+ else
+ {
+ this.n使用レーン数.Drums = EUseLanes.Other;
}
- //Trace.TraceInformation( "LeftPedal使用=" + this.bチップがある.LeftPedal );
- //Trace.TraceInformation( "LeftBass使用 =" + this.bチップがある.LeftBassDrum );
- //Trace.TraceInformation( "Lane Type =" + this.n使用レーン数.Drums );
+ #endregion
+ #region [Guitar]
+ if ( this.bチップがある.Guitar)
+ {
+ // 5レーン未対応
+ this.n使用レーン数.Guitar = EUseLanes.GB_3;
+ }
+ else
+ {
+ this.n使用レーン数.Guitar = EUseLanes.Other;
+ }
+ #endregion
+ #region [Bass]
+ if (this.bチップがある.Bass)
+ {
+ // 5レーン未対応
+ this.n使用レーン数.Bass = EUseLanes.GB_3;
+ }
+ else
+ {
+ this.n使用レーン数.Bass = EUseLanes.Other;
+ }
+ #endregion
+ //Trace.TraceInformation("FloorTom使用 =" + this.bチップがある.FloorTom);
+ //Trace.TraceInformation("HiHatOpen使用=" + this.bチップがある.HHOpen);
+ //Trace.TraceInformation("RideCymbal使用=" + this.bチップがある.Ride);
+ //Trace.TraceInformation("LeftCymbal使用=" + this.bチップがある.LeftCymbal);
+ //Trace.TraceInformation("LeftPedal使用=" + this.bチップがある.LeftPedal);
+ //Trace.TraceInformation("LeftBass使用 =" + this.bチップがある.LeftBassDrum);
+ //Trace.TraceInformation("Drumsチップあり =" + this.bチップがある.Drums);
+ //Trace.TraceInformation("Lane Type =" + this.n使用レーン数.Drums);
#endregion
//span = (TimeSpan) ( DateTime.Now - timeBeginLoad );
}
//-----------------
#endregion
- else if (!this.bヘッダのみ) // ヘッダのみの解析の場合、以下は無視。
+ else if (this.bヘッダのみ && this.bレーン情報を確認する) // ヘッダのみ、かつbLoadDetailDTX==trueの場合は、チップの配置のみ実行。
+ {
+ this.t入力_行解析_チップ配置(strコマンド, strパラメータ, strコメント);
+ }
+ //else if (!this.bヘッダのみ && this.bレーン情報を確認する) // ヘッダのみ、かつbLoadDetailDTX==trueの場合は、チップの配置のみ実行。
+ //{
+ // this.t入力_行解析_チップ配置(strコマンド, strパラメータ, strコメント);
+ //}
+ else if (!this.bヘッダのみ) // ヘッダのみの解析の場合、以下は無視。
{
#region [ PANEL ]
//-----------------
this.bチップがある.OpenBass |= chip[EChannel.Bass_Open];
this.bチップがある.BGA |= chip.bBGALayer;
this.bチップがある.Movie |= chip.bMovie;
+
+ this.bチップがある.FloorTom |= chip[EChannel.FloorTom];
+
if (chip.bMovie)
{
if (chip[EChannel.MovieFull] || CDTXMania.Instance.ConfigIni.bForceScalingAVI)