19 void AddScoreInternal(TapNoteScore score);
20 auto CalcNextToastyAt(
int level) -> int;
22 int m_iScoreRemainder;
23 int m_iMaxPossiblePoints;
26 int m_iNumTapsAndHolds;
29 int m_cur_toasty_combo;
30 int m_cur_toasty_level;
32 bool m_bIsLastSongInCourse;
35 int m_iNumNotesHitThisRow;
47 std::vector<Steps*> m_apSteps;
49 virtual void AddTapScore(TapNoteScore tns);
50 virtual void AddHoldScore(HoldNoteScore hns);
51 virtual void AddTapRowScore(TapNoteScore tns,
const NoteData& nd,
int iRow);
57 int m_ComboBonusFactor[NUM_TapNoteScore];
63 void Load(
const std::vector<Song*>& apSongs,
64 const std::vector<Steps*>& apSteps)
override;
67 void OnNextSong(
int iSongInCourseIndex,
71 void HandleTapScore(
const TapNote& tn)
override;
72 void HandleTapRowScore(
const NoteData& nd,
int iRow)
override;
73 void HandleHoldScore(
const TapNote& tn)
override;
74 void HandleHoldActiveSeconds(
float )
override{};
75 void HandleHoldCheckpointScore(
const NoteData& nd,
77 int iNumHoldsHeldThisRow,
78 int iNumHoldsMissedThisRow)
override;
79 void HandleTapScoreNone()
override;
83 static auto GetPossibleDancePoints(
NoteData* nd,
85 static auto GetPossibleDancePoints(
NoteData* ndPre,
88 static auto GetPossibleGradePoints(
NoteData* nd,
90 static auto GetPossibleGradePoints(
NoteData* ndPre,
94 auto TapNoteScoreToDancePoints(TapNoteScore tns)
const -> int;
95 auto HoldNoteScoreToDancePoints(HoldNoteScore hns)
const -> int;
96 auto TapNoteScoreToGradePoints(TapNoteScore tns)
const -> int;
97 auto HoldNoteScoreToGradePoints(HoldNoteScore hns)
const -> int;
98 static auto TapNoteScoreToDancePoints(TapNoteScore tns,
bool bBeginner)
100 static auto HoldNoteScoreToDancePoints(HoldNoteScore hns,
bool bBeginner)
102 static auto TapNoteScoreToGradePoints(TapNoteScore tns,
bool bBeginner)
104 static auto HoldNoteScoreToGradePoints(HoldNoteScore hns,
bool bBeginner)
114 void HandleTapNoteScoreInternal(
const NoteData& nd,
116 TapNoteScore maximum,
119 void HandleComboInternal(
int iNumHitContinueCombo,
120 int iNumHitMaintainCombo,
123 void HandleRowComboInternal(TapNoteScore tns,
126 void GetRowCounts(
const NoteData& nd,
128 int& iNumHitContinueCombo,
129 int& iNumHitMaintainCombo,
130 int& iNumBreakCombo);
Abstract class to handle scorekeeping, stat-taking, etc.
Definition ScoreKeeper.h:20