keep track of last judgment(for XML Judgment

This commit is contained in:
Chris Danford
2006-04-21 00:33:55 +00:00
parent a6272ec9ca
commit e8cbdd860b
2 changed files with 6 additions and 1 deletions
+3 -1
View File
@@ -31,9 +31,11 @@ void PlayerStageStats::Init()
iCurCombo = iMaxCombo = iCurMissCombo = iScore = iBonus = iMaxScore = iCurMaxScore = 0;
iSongsPassed = iSongsPlayed = 0;
iTotalError = 0;
fCaloriesBurned = 0;
iTotalError = 0;
fLifeRemainingSeconds = 0;
fCaloriesBurned = 0;
tnsLast = TNS_INVALID;
hnsLast = HNS_INVALID;
ZERO( iTapNoteScores );
ZERO( iHoldNoteScores );
+3
View File
@@ -62,6 +62,9 @@ public:
// workout
float fCaloriesBurned;
TapNoteScore tnsLast;
HoldNoteScore hnsLast;
map<float,float> fLifeRecord;
void SetLifeRecordAt( float fLife, float fStepsSecond );
void GetLifeRecord( float *fLifeOut, int iNumSamples, float fStepsEndSecond ) const;