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 "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 )
{
+5 -5
View File
@@ -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<Song*>& apSongs,
const vector<Steps*>& apSteps,
const vector<Song*> &apSongs,
const vector<Steps*> &apSteps,
const vector<AttackArray> &asModifiers ) { }
virtual void DrawPrimitives() { }