diff --git a/stepmania/src/ScoreKeeper.cpp b/stepmania/src/ScoreKeeper.cpp index ba1feaab2a..63e3949cd4 100644 --- a/stepmania/src/ScoreKeeper.cpp +++ b/stepmania/src/ScoreKeeper.cpp @@ -4,6 +4,12 @@ #include "PlayerState.h" #include "NoteDataWithScoring.h" +ScoreKeeper::ScoreKeeper( PlayerState *pPlayerState, PlayerStageStats *pPlayerStageStats ) +{ + m_pPlayerState = pPlayerState; + m_pPlayerStageStats = pPlayerStageStats; +} + void ScoreKeeper::GetScoreOfLastTapInRow( const NoteData &nd, int iRow, TapNoteScore &tnsOut, int &iNumTapsInRowOut ) { diff --git a/stepmania/src/ScoreKeeper.h b/stepmania/src/ScoreKeeper.h index 21a854718c..72c98d3eed 100644 --- a/stepmania/src/ScoreKeeper.h +++ b/stepmania/src/ScoreKeeper.h @@ -25,8 +25,8 @@ struct AttackArray; class ScoreKeeper { protected: - PlayerState* m_pPlayerState; - PlayerStageStats* m_pPlayerStageStats; + PlayerState *m_pPlayerState; + PlayerStageStats *m_pPlayerStageStats; /* Common toggles that this class handles directly: */ @@ -35,11 +35,11 @@ protected: // bool Stats_DoublesCount; public: - ScoreKeeper(PlayerState* pPlayerState,PlayerStageStats* pPlayerStageStats) { m_pPlayerState=pPlayerState; m_pPlayerStageStats=pPlayerStageStats; } + ScoreKeeper( PlayerState *pPlayerState, PlayerStageStats *pPlayerStageStats ); virtual ~ScoreKeeper() { } virtual void Load( - const vector& apSongs, - const vector& apSteps, + const vector &apSongs, + const vector &apSteps, const vector &asModifiers ) { } virtual void DrawPrimitives() { }