private void t曲を選択する() { this.r確定された曲 = this.act曲リスト.r現在選択中の曲; this.r確定されたスコア = this.act曲リスト.r現在選択中のスコア; this.n確定された曲の難易度 = this.act曲リスト.n現在選択中の曲の現在の難易度レベル; if ((this.r確定された曲 != null) && (this.r確定されたスコア != null)) { this.eフェードアウト完了時の戻り値 = E戻り値.選曲した; this.actFOtoNowLoading.tフェードアウト開始(); // #27787 2012.3.10 yyagi 曲決定時の画面フェードアウトの省略 base.eフェーズID = CStage.Eフェーズ.選曲_NowLoading画面へのフェードアウト; } CDTXMania.Skin.bgm選曲画面.t停止する(); }
public void t曲を選択する(int nCurrentLevel) { this.r確定された曲 = this.act曲リスト.r現在選択中の曲; this.r確定されたスコア = this.act曲リスト.r現在選択中のスコア; this.n確定された曲の難易度 = nCurrentLevel; this.str確定された曲のジャンル = this.r確定された曲.strジャンル; if ((this.r確定された曲 != null) && (this.r確定されたスコア != null)) { this.eフェードアウト完了時の戻り値 = E戻り値.選曲した; this.actFOtoNowLoading.tフェードアウト開始(); // #27787 2012.3.10 yyagi 曲決定時の画面フェードアウトの省略 base.eフェーズID = CStage.Eフェーズ.選曲_NowLoading画面へのフェードアウト; } }
private void t曲を選択する() { this.r確定された曲 = this.act曲リスト.r現在選択中の曲; this.r確定されたスコア = this.act曲リスト.r現在選択中のスコア; for (int nPlayer = 0; nPlayer < TJAPlayer3.ConfigIni.nPlayerCount; nPlayer++) { this.n確定された曲の難易度[nPlayer] = this.act曲リスト.n現在選択中の曲の現在の難易度レベル[nPlayer]; if (this.n確定された曲の難易度[nPlayer] == (int)Difficulty.Dan) { TJAPlayer3.ConfigIni.nPlayerCount = 1; } } this.str確定された曲のジャンル = this.r確定された曲.strジャンル; if ((this.r確定された曲 != null) && (this.r確定されたスコア != null)) { this.eフェードアウト完了時の戻り値 = E戻り値.選曲した; this.actFOtoNowLoading.tフェードアウト開始(); // #27787 2012.3.10 yyagi 曲決定時の画面フェードアウトの省略 base.eフェーズID = CStage.Eフェーズ.選曲_NowLoading画面へのフェードアウト; } TJAPlayer3.Skin.bgm選曲画面.t停止する(); }
private void t曲をランダム選択する() { C曲リストノード song = this.act曲リスト.r現在選択中の曲; if ((song.stackランダム演奏番号.Count == 0) || (song.listランダム用ノードリスト == null)) { if (song.listランダム用ノードリスト == null) { song.listランダム用ノードリスト = this.t指定された曲が存在する場所の曲を列挙する_子リスト含む(song); } int count = song.listランダム用ノードリスト.Count; if (count == 0) { return; } int[] numArray = new int[count]; for (int i = 0; i < count; i++) { numArray[i] = i; } for (int j = 0; j < (count * 1.5); j++) { int index = TJAPlayer3.Random.Next(count); int num5 = TJAPlayer3.Random.Next(count); int num6 = numArray[num5]; numArray[num5] = numArray[index]; numArray[index] = num6; } for (int k = 0; k < count; k++) { song.stackランダム演奏番号.Push(numArray[k]); } if (TJAPlayer3.ConfigIni.bLogDTX詳細ログ出力) { StringBuilder builder = new StringBuilder(0x400); builder.Append(string.Format("ランダムインデックスリストを作成しました: {0}曲: ", song.stackランダム演奏番号.Count)); for (int m = 0; m < count; m++) { builder.Append(string.Format("{0} ", numArray[m])); } Trace.TraceInformation(builder.ToString()); } } this.r確定された曲 = song.listランダム用ノードリスト[song.stackランダム演奏番号.Pop()]; for (int nPlayer = 0; nPlayer < TJAPlayer3.ConfigIni.nPlayerCount; nPlayer++) { this.n確定された曲の難易度[nPlayer] = this.act曲リスト.n現在のアンカ難易度レベルに最も近い難易度レベルを返す(this.r確定された曲, nPlayer); } this.r確定されたスコア = this.r確定された曲.arスコア[this.n確定された曲の難易度[0]]; this.str確定された曲のジャンル = this.r確定された曲.strジャンル; this.eフェードアウト完了時の戻り値 = E戻り値.選曲した; this.actFOtoNowLoading.tフェードアウト開始(); // #27787 2012.3.10 yyagi 曲決定時の画面フェードアウトの省略 base.eフェーズID = CStage.Eフェーズ.選曲_NowLoading画面へのフェードアウト; if (TJAPlayer3.ConfigIni.bLogDTX詳細ログ出力) { int[] numArray2 = song.stackランダム演奏番号.ToArray(); StringBuilder builder2 = new StringBuilder(0x400); builder2.Append("ランダムインデックスリスト残り: "); if (numArray2.Length > 0) { for (int n = 0; n < numArray2.Length; n++) { builder2.Append(string.Format("{0} ", numArray2[n])); } } else { builder2.Append("(なし)"); } Trace.TraceInformation(builder2.ToString()); } TJAPlayer3.Skin.bgm選曲画面.t停止する(); }