From cd49b75f54ea6ff226f9684b83bf12d4ddc853b1 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 17 Dec 2002 23:12:37 +0000 Subject: [PATCH] private data --- stepmania/src/NoteDataWithScoring.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/stepmania/src/NoteDataWithScoring.h b/stepmania/src/NoteDataWithScoring.h index ff7ac7df23..1f526ac106 100644 --- a/stepmania/src/NoteDataWithScoring.h +++ b/stepmania/src/NoteDataWithScoring.h @@ -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 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 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