private data

This commit is contained in:
Glenn Maynard
2002-12-17 23:12:37 +00:00
parent 43c50bda83
commit cd49b75f54
+6 -5
View File
@@ -16,20 +16,22 @@
class NoteDataWithScoring : public NoteData
{
public:
// maintain this extra data in addition to the NoteData
TapNoteScore m_TapNoteScores[MAX_NOTE_TRACKS][MAX_TAP_NOTE_ROWS];
NoteDataWithScoring();
void Init(int taps=0, int holds=0);
vector<HoldNoteScore> m_HoldNoteScores;
/* 1.0 means this HoldNote has full life.
* 0.0 means this HoldNote is dead
* When this value hits 0.0 for the first time, m_HoldScore becomes HSS_NG.
* If the life is > 0.0 when the HoldNote ends, then m_HoldScore becomes HSS_OK. */
vector<float> m_fHoldNoteLife;
public:
NoteDataWithScoring();
void Init(int taps=0, int holds=0);
// statistics
int GetNumTapNotesWithScore( TapNoteScore tns, const float fStartBeat = 0, const float fEndBeat = MAX_BEATS );
int GetNumDoublesWithScore( TapNoteScore tns, const float fStartBeat = 0, const float fEndBeat = MAX_BEATS );
@@ -70,5 +72,4 @@ public:
float GetActualChaosRadarValue( float fSongSeconds );
};
#endif