Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
ScoreKeeperNormal Class Reference

The default ScoreKeeper implementation. More...

#include <ScoreKeeperNormal.h>

Inheritance diagram for ScoreKeeperNormal:
Inheritance graph
[legend]
Collaboration diagram for ScoreKeeperNormal:
Collaboration graph
[legend]

Public Member Functions

 ScoreKeeperNormal (PlayerState *pPlayerState, PlayerStageStats *pPlayerStageStats)
 
void Load (const std::vector< Song * > &apSongs, const std::vector< Steps * > &apSteps) override
 
void OnNextSong (int iSongInCourseIndex, const Steps *pSteps, const NoteData *pNoteData) override
 
void HandleTapScore (const TapNote &tn) override
 
void HandleTapRowScore (const NoteData &nd, int iRow) override
 
void HandleHoldScore (const TapNote &tn) override
 
void HandleHoldActiveSeconds (float) override
 
void HandleHoldCheckpointScore (const NoteData &nd, int iRow, int iNumHoldsHeldThisRow, int iNumHoldsMissedThisRow) override
 
void HandleTapScoreNone () override
 
auto TapNoteScoreToDancePoints (TapNoteScore tns) const -> int
 
auto HoldNoteScoreToDancePoints (HoldNoteScore hns) const -> int
 
auto TapNoteScoreToGradePoints (TapNoteScore tns) const -> int
 
auto HoldNoteScoreToGradePoints (HoldNoteScore hns) const -> int
 
- Public Member Functions inherited from ScoreKeeper
 ScoreKeeper (PlayerState *pPlayerState, PlayerStageStats *pPlayerStageStats)
 
virtual void DrawPrimitives ()
 
virtual void Update (float)
 

Static Public Member Functions

static auto GetPossibleDancePoints (NoteData *nd, const TimingData *td) -> int
 
static auto GetPossibleDancePoints (NoteData *ndPre, NoteData *ndPost, const TimingData *td) -> int
 
static auto GetPossibleGradePoints (NoteData *nd, const TimingData *td) -> int
 
static auto GetPossibleGradePoints (NoteData *ndPre, NoteData *ndPost, const TimingData *td) -> int
 
static auto TapNoteScoreToDancePoints (TapNoteScore tns, bool bBeginner) -> int
 
static auto HoldNoteScoreToDancePoints (HoldNoteScore hns, bool bBeginner) -> int
 
static auto TapNoteScoreToGradePoints (TapNoteScore tns, bool bBeginner) -> int
 
static auto HoldNoteScoreToGradePoints (HoldNoteScore hns, bool bBeginner) -> int
 
- Static Public Member Functions inherited from ScoreKeeper
static auto MakeScoreKeeper (const std::string &sClassName, PlayerState *pPlayerState, PlayerStageStats *pPlayerStageStats) -> ScoreKeeper *
 

Additional Inherited Members

- Protected Member Functions inherited from ScoreKeeper
void GetScoreOfLastTapInRow (const NoteData &nd, int iRow, TapNoteScore &tnsOut, int &iNumTapsInRowOut)
 
- Protected Attributes inherited from ScoreKeeper
PlayerStatem_pPlayerState
 
PlayerStageStatsm_pPlayerStageStats
 

Detailed Description

The default ScoreKeeper implementation.

Member Function Documentation

◆ HandleHoldActiveSeconds()

void ScoreKeeperNormal::HandleHoldActiveSeconds ( float  )
inlineoverridevirtual

Reimplemented from ScoreKeeper.

◆ HandleHoldCheckpointScore()

void ScoreKeeperNormal::HandleHoldCheckpointScore ( const NoteData nd,
int  iRow,
int  iNumHoldsHeldThisRow,
int  iNumHoldsMissedThisRow 
)
overridevirtual

Reimplemented from ScoreKeeper.

◆ HandleHoldScore()

void ScoreKeeperNormal::HandleHoldScore ( const TapNote tn)
overridevirtual

Reimplemented from ScoreKeeper.

◆ HandleTapRowScore()

void ScoreKeeperNormal::HandleTapRowScore ( const NoteData nd,
int  iRow 
)
overridevirtual

Reimplemented from ScoreKeeper.

◆ HandleTapScore()

void ScoreKeeperNormal::HandleTapScore ( const TapNote tn)
overridevirtual

Reimplemented from ScoreKeeper.

◆ HandleTapScoreNone()

void ScoreKeeperNormal::HandleTapScoreNone ( )
overridevirtual

Reimplemented from ScoreKeeper.

◆ Load()

void ScoreKeeperNormal::Load ( const std::vector< Song * > &  apSongs,
const std::vector< Steps * > &  apSteps 
)
overridevirtual

Reimplemented from ScoreKeeper.

◆ OnNextSong()

void ScoreKeeperNormal::OnNextSong ( int  iSongInCourseIndex,
const Steps pSteps,
const NoteData pNoteData 
)
overridevirtual

Reimplemented from ScoreKeeper.


The documentation for this class was generated from the following files: