1
0
mirror of synced 2025-01-28 02:36:11 +01:00

色々改善8 (#482)

* いろいろ

* 譜面分岐のある段位のスコアの修正
This commit is contained in:
Takkkom 2023-08-17 12:38:08 +09:00 committed by GitHub
parent c94ba152b1
commit 92b8a9c87c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 41 additions and 24 deletions

View File

@ -345,6 +345,7 @@ namespace TJAPlayer3
{ {
public bool bHit; public bool bHit;
public bool b可視 = true; public bool b可視 = true;
public bool bHideBarLine = true;
public bool bShow; public bool bShow;
public bool bShowRoll; public bool bShowRoll;
public bool bBranch = false; public bool bBranch = false;
@ -1289,6 +1290,7 @@ namespace TJAPlayer3
public int[] nーツ数 = new int[4]; //3:共通 public int[] nーツ数 = new int[4]; //3:共通
public int[] nDan_NotesCount = new int[1]; public int[] nDan_NotesCount = new int[1];
public int[] nDan_BalloonCount = new int[1];
// public int[] nDan_BallonCount = new int[1]; // public int[] nDan_BallonCount = new int[1];
public int[] nーツ数_Branch = new int[4]; // public int[] nーツ数_Branch = new int[4]; //
@ -4431,12 +4433,10 @@ namespace TJAPlayer3
if (IsEndedBranching) if (IsEndedBranching)
chip.nコース = (ECourse)i; chip.nコース = (ECourse)i;
else else
chip.nコース = n現在のコース; chip.nコース = n現在のコース;
if (this.bBARLINECUE[0] == 1) chip.b可視 = true;
{ chip.bHideBarLine = this.bBARLINECUE[0] == 1;
chip.b可視 = false;
}
#region [ ] #region [ ]
if (IsEndedBranching) if (IsEndedBranching)
{ {
@ -4742,6 +4742,10 @@ namespace TJAPlayer3
else else
{ {
this.nーツ数_Branch[(int)chip.nコース]++; this.nーツ数_Branch[(int)chip.nコース]++;
if (this.n参照中の難易度 == (int)Difficulty.Dan && chip.nコース == ECourse.eMaster)
{
this.nDan_NotesCount[DanSongs.Number - 1]++;
}
if (!this.b分岐を一回でも開始した) if (!this.b分岐を一回でも開始した)
{ {
@ -4751,13 +4755,25 @@ namespace TJAPlayer3
} }
} }
#endregion #endregion
} }
else if (NotesManager.IsGenericBalloon(chip)) else if (NotesManager.IsGenericBalloon(chip))
{ {
//風船はこのままでも機能しているので何もしない. //風船はこのままでも機能しているので何もしない.
if (IsEndedBranching)
{
if (this.n参照中の難易度 == (int)Difficulty.Dan)
{
this.nDan_BalloonCount[DanSongs.Number - 1]++;
}
}
else
{
if (this.n参照中の難易度 == (int)Difficulty.Dan && chip.nコース == ECourse.eMaster)
{
this.nDan_BalloonCount[DanSongs.Number - 1]++;
}
}
if (this.b最初の分岐である == false) if (this.b最初の分岐である == false)
{ {
@ -4771,6 +4787,7 @@ namespace TJAPlayer3
} }
Array.Resize(ref nDan_NotesCount, nDan_NotesCount.Length + 1); Array.Resize(ref nDan_NotesCount, nDan_NotesCount.Length + 1);
Array.Resize(ref nDan_BalloonCount, nDan_BalloonCount.Length + 1);
// Array.Resize(ref nDan_BallonCount, nDan_BallonCount.Length + 1); // Array.Resize(ref nDan_BallonCount, nDan_BallonCount.Length + 1);
if (IsEndedBranching) if (IsEndedBranching)

View File

@ -513,7 +513,7 @@ namespace TJAPlayer3
stファイル.Title = ""; stファイル.Title = "";
stファイル.Name = ""; stファイル.Name = "";
stファイル.Hash = ""; stファイル.Hash = "";
stファイル.History = new string[] { "", "", "", "", "" }; stファイル.History = new string[] { "", "", "", "", "", "", "" };
stファイル.BestRank.Drums = (int)ERANK.UNKNOWN; // #24459 2011.2.24 yyagi stファイル.BestRank.Drums = (int)ERANK.UNKNOWN; // #24459 2011.2.24 yyagi
stファイル.BestRank.Guitar = (int)ERANK.UNKNOWN; // stファイル.BestRank.Guitar = (int)ERANK.UNKNOWN; //
stファイル.BestRank.Bass = (int)ERANK.UNKNOWN; // stファイル.BestRank.Bass = (int)ERANK.UNKNOWN; //

View File

@ -868,6 +868,7 @@ namespace TJAPlayer3
protected int[] n現在の連打数 = new int[ 5 ]; protected int[] n現在の連打数 = new int[ 5 ];
public int[] Chara_MissCount; public int[] Chara_MissCount;
protected E連打State eRollState; protected E連打State eRollState;
protected bool[] ifp = { false, false, false, false, false };
protected int nタイマ番号; protected int nタイマ番号;
protected int n現在の音符の顔番号; protected int n現在の音符の顔番号;
@ -4500,6 +4501,7 @@ namespace TJAPlayer3
this.actPlayInfo.NowMeasure[i] = 0; this.actPlayInfo.NowMeasure[i] = 0;
JPOSCROLLX[i] = 0; JPOSCROLLX[i] = 0;
JPOSCROLLY[i] = 0; JPOSCROLLY[i] = 0;
ifp[i] = false;
} }
TJAPlayer3.stage演奏ドラム画面.On活性化(); TJAPlayer3.stage演奏ドラム画面.On活性化();
for( int i = 0; i < TJAPlayer3.ConfigIni.nPlayerCount; i++ ) for( int i = 0; i < TJAPlayer3.ConfigIni.nPlayerCount; i++ )

View File

@ -499,12 +499,6 @@ namespace TJAPlayer3
#endif #endif
this.t進行描画_チップ_連打( E楽器パート.DRUMS, i ); this.t進行描画_チップ_連打( E楽器パート.DRUMS, i );
}
bIsFinishedPlaying = true;
for (int i = 0; i < TJAPlayer3.ConfigIni.nPlayerCount; i++)
{
if (!ifp[i]) bIsFinishedPlaying = false;
} }
this.actMtaiko.On進行描画(); this.actMtaiko.On進行描画();
@ -579,10 +573,16 @@ namespace TJAPlayer3
bIsFinishedEndAnime = this.actEnd.On進行描画() == 1 ? true : false; bIsFinishedEndAnime = this.actEnd.On進行描画() == 1 ? true : false;
bIsFinishedFadeout = this.t進行描画_フェードイン_アウト(); bIsFinishedFadeout = this.t進行描画_フェードイン_アウト();
bIsFinishedPlaying = true;
for (int i = 0; i < TJAPlayer3.ConfigIni.nPlayerCount; i++)
{
if (!ifp[i]) bIsFinishedPlaying = false;
}
//演奏終了→演出表示→フェードアウト //演奏終了→演出表示→フェードアウト
if( bIsFinishedPlaying && base.eフェーズID == CStage.Eフェーズ._通常状態 ) if ( bIsFinishedPlaying && base.eフェーズID == CStage.Eフェーズ._通常状態 )
{ {
if (TJAPlayer3.ConfigIni.bTokkunMode) if (TJAPlayer3.ConfigIni.bTokkunMode)
{ {
@ -648,9 +648,7 @@ namespace TJAPlayer3
public char ch; public char ch;
public Point pt; public Point pt;
} }
public CAct演奏DrumsチップファイアD actChipFireD; public CAct演奏DrumsチップファイアD actChipFireD;
private bool[] ifp = { false, false, false, false, false };
private CAct演奏Drumsグラフ actGraph; // #24074 2011.01.23 add ikanick private CAct演奏Drumsグラフ actGraph; // #24074 2011.01.23 add ikanick
private CAct演奏Drumsパッド actPad; private CAct演奏Drumsパッド actPad;
@ -2462,7 +2460,7 @@ namespace TJAPlayer3
TJAPlayer3.act文字コンソール.tPrint(x + 8, y - 26, C文字コンソール.Eフォント種別., nowMeasure.ToString()); TJAPlayer3.act文字コンソール.tPrint(x + 8, y - 26, C文字コンソール.Eフォント種別., nowMeasure.ToString());
} }
} }
if ( ( pChip.b可視 ) && (TJAPlayer3.Tx.Bar != null ) ) if ( (pChip.b可視 && !pChip.bHideBarLine) && (TJAPlayer3.Tx.Bar != null ) )
{ {
if( x >= 0 ) if( x >= 0 )
{ {

View File

@ -84,7 +84,7 @@ namespace TJAPlayer3
TJAPlayer3.stage演奏ドラム画面.ReSetScore(TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].ScoreInit, TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].ScoreDiff); TJAPlayer3.stage演奏ドラム画面.ReSetScore(TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].ScoreInit, TJAPlayer3.DTX.List_DanSongs[NowShowingNumber].ScoreDiff);
TJAPlayer3.stage演奏ドラム画面.ftDanReSetScoreNiji(TJAPlayer3.DTX.nDan_NotesCount[NowShowingNumber], 0); TJAPlayer3.stage演奏ドラム画面.ftDanReSetScoreNiji(TJAPlayer3.DTX.nDan_NotesCount[NowShowingNumber], TJAPlayer3.DTX.nDan_BalloonCount[NowShowingNumber]);
TJAPlayer3.stage演奏ドラム画面.ftDanReSetBranches(TJAPlayer3.DTX.bHasBranchDan[NowShowingNumber]); TJAPlayer3.stage演奏ドラム画面.ftDanReSetBranches(TJAPlayer3.DTX.bHasBranchDan[NowShowingNumber]);
IsAnimating = true; IsAnimating = true;