This commit is contained in:
Glenn Maynard
2002-12-17 21:52:38 +00:00
parent 4ad10a3b78
commit 54da02109e
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -19,11 +19,11 @@
*/ */
#include "Actor.h" #include "Actor.h"
#include "NoteData.h" #include "GameConstantsAndTypes.h"
class ScoreKeeper: public Actor { class ScoreKeeper: public Actor {
protected: protected:
int m_PlayerNumber; PlayerNumber m_PlayerNumber;
/* Common toggles that this class handles directly: */ /* Common toggles that this class handles directly: */
@@ -32,7 +32,7 @@ protected:
// bool Stats_DoublesCount; // bool Stats_DoublesCount;
public: public:
ScoreKeeper(int pn) { m_PlayerNumber=pn; } ScoreKeeper(PlayerNumber pn) { m_PlayerNumber=pn; }
virtual void DrawPrimitives() { } virtual void DrawPrimitives() { }
virtual void HandleNoteScore( TapNoteScore score, int iNumTapsInRow ) { } virtual void HandleNoteScore( TapNoteScore score, int iNumTapsInRow ) { }
+1 -1
View File
@@ -2,7 +2,7 @@
#include "ScoreKeeperMAX2.h" #include "ScoreKeeperMAX2.h"
#include "GameState.h" #include "GameState.h"
ScoreKeeperMAX2::ScoreKeeperMAX2(Notes *notes, NoteDataWithScoring &data, int pn_): ScoreKeeperMAX2::ScoreKeeperMAX2(Notes *notes, NoteDataWithScoring &data, PlayerNumber pn_):
ScoreKeeper(pn_) ScoreKeeper(pn_)
{ {
// Stats_DoublesCount = true; // Stats_DoublesCount = true;
+1 -1
View File
@@ -25,7 +25,7 @@ class ScoreKeeperMAX2: public ScoreKeeper
void AddScore( TapNoteScore score ); void AddScore( TapNoteScore score );
public: public:
ScoreKeeperMAX2(Notes *notes, NoteDataWithScoring &data, int pn); ScoreKeeperMAX2(Notes *notes, NoteDataWithScoring &data, PlayerNumber pn);
void HandleNoteScore( TapNoteScore score, int iNumTapsInRow ); void HandleNoteScore( TapNoteScore score, int iNumTapsInRow );
void HandleHoldNoteScore( HoldNoteScore score, TapNoteScore TapNoteScore ); void HandleHoldNoteScore( HoldNoteScore score, TapNoteScore TapNoteScore );