Skip to content

Commit

Permalink
CSTATUSの削除
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Ojii committed Dec 29, 2023
1 parent 5f95f5e commit 15b6a15
Showing 1 changed file with 11 additions and 28 deletions.
39 changes: 11 additions & 28 deletions TJAPlayer3-f/src/Stages/07.Game/CAct演奏Combo共通.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public int this[int index]

protected enum EEvent { 非表示, 数値更新, 同一数値, ミス通知 }
protected enum EMode { 非表示中, 進行表示中, 残像表示中 }
protected CSTATUS status;
protected CSTAT[] status;
public CCounter[] ctコンボ加算;
public CCounter ctコンボラメ;

Expand Down Expand Up @@ -83,35 +83,18 @@ protected enum EMode { 非表示中, 進行表示中, 残像表示中 }
};
// 内部クラス

protected class CSTATUS
protected class CSTAT
{
private CSTAT[] status = new CSTAT[4] { new(), new(), new(), new() };
public CSTAT this[int index]
{
get
{
return this.status[index];
}
set
{
this.status[index] = value;
}
}

public class CSTAT
{
public CAct演奏Combo共通.EMode e現在のモード;
public int nCOMBO値;
public long nコンボが切れた時刻;
public int nジャンプインデックス値;
public int n現在表示中のCOMBO値;
public int n最高COMBO値;
public int n残像表示中のCOMBO値;
public long n前回の時刻_ジャンプ用;
}
public CAct演奏Combo共通.EMode e現在のモード;
public int nCOMBO値;
public long nコンボが切れた時刻;
public int nジャンプインデックス値;
public int n現在表示中のCOMBO値;
public int n最高COMBO値;
public int n残像表示中のCOMBO値;
public long n前回の時刻_ジャンプ用;
}


// コンストラクタ

public CAct演奏Combo共通()
Expand Down Expand Up @@ -350,7 +333,7 @@ protected virtual void tコンボ表示_太鼓(int nCombo値, int nジャンプ
public override void On活性化()
{
this.n現在のコンボ数 = new STCOMBO() { act = this };
this.status = new CSTATUS();
this.status = new CSTAT[4] { new(), new(), new(), new() };
this.ctコンボ加算 = new CCounter[4];
for (int i = 0; i < 4; i++)
{
Expand Down

0 comments on commit 15b6a15

Please sign in to comment.