keep track of last judgment(for XML Judgment
This commit is contained in:
@@ -31,9 +31,11 @@ void PlayerStageStats::Init()
|
|||||||
iCurCombo = iMaxCombo = iCurMissCombo = iScore = iBonus = iMaxScore = iCurMaxScore = 0;
|
iCurCombo = iMaxCombo = iCurMissCombo = iScore = iBonus = iMaxScore = iCurMaxScore = 0;
|
||||||
iSongsPassed = iSongsPlayed = 0;
|
iSongsPassed = iSongsPlayed = 0;
|
||||||
iTotalError = 0;
|
iTotalError = 0;
|
||||||
fCaloriesBurned = 0;
|
|
||||||
iTotalError = 0;
|
iTotalError = 0;
|
||||||
fLifeRemainingSeconds = 0;
|
fLifeRemainingSeconds = 0;
|
||||||
|
fCaloriesBurned = 0;
|
||||||
|
tnsLast = TNS_INVALID;
|
||||||
|
hnsLast = HNS_INVALID;
|
||||||
|
|
||||||
ZERO( iTapNoteScores );
|
ZERO( iTapNoteScores );
|
||||||
ZERO( iHoldNoteScores );
|
ZERO( iHoldNoteScores );
|
||||||
|
|||||||
@@ -62,6 +62,9 @@ public:
|
|||||||
// workout
|
// workout
|
||||||
float fCaloriesBurned;
|
float fCaloriesBurned;
|
||||||
|
|
||||||
|
TapNoteScore tnsLast;
|
||||||
|
HoldNoteScore hnsLast;
|
||||||
|
|
||||||
map<float,float> fLifeRecord;
|
map<float,float> fLifeRecord;
|
||||||
void SetLifeRecordAt( float fLife, float fStepsSecond );
|
void SetLifeRecordAt( float fLife, float fStepsSecond );
|
||||||
void GetLifeRecord( float *fLifeOut, int iNumSamples, float fStepsEndSecond ) const;
|
void GetLifeRecord( float *fLifeOut, int iNumSamples, float fStepsEndSecond ) const;
|
||||||
|
|||||||
Reference in New Issue
Block a user