Clean up, move code out of the header.

This commit is contained in:
Steve Checkoway
2006-10-01 01:48:41 +00:00
parent 09d26bc908
commit 15dd5a69e5
2 changed files with 11 additions and 5 deletions
+6
View File
@@ -4,6 +4,12 @@
#include "PlayerState.h" #include "PlayerState.h"
#include "NoteDataWithScoring.h" #include "NoteDataWithScoring.h"
ScoreKeeper::ScoreKeeper( PlayerState *pPlayerState, PlayerStageStats *pPlayerStageStats )
{
m_pPlayerState = pPlayerState;
m_pPlayerStageStats = pPlayerStageStats;
}
void ScoreKeeper::GetScoreOfLastTapInRow( const NoteData &nd, int iRow, void ScoreKeeper::GetScoreOfLastTapInRow( const NoteData &nd, int iRow,
TapNoteScore &tnsOut, int &iNumTapsInRowOut ) TapNoteScore &tnsOut, int &iNumTapsInRowOut )
{ {
+1 -1
View File
@@ -35,7 +35,7 @@ protected:
// bool Stats_DoublesCount; // bool Stats_DoublesCount;
public: public:
ScoreKeeper(PlayerState* pPlayerState,PlayerStageStats* pPlayerStageStats) { m_pPlayerState=pPlayerState; m_pPlayerStageStats=pPlayerStageStats; } ScoreKeeper( PlayerState *pPlayerState, PlayerStageStats *pPlayerStageStats );
virtual ~ScoreKeeper() { } virtual ~ScoreKeeper() { }
virtual void Load( virtual void Load(
const vector<Song*> &apSongs, const vector<Song*> &apSongs,