170 std::vector<int> mScores;
171 std::vector<float> mRatios;
172 std::vector<int> mTallies;
void SetRatio(int nPlayer, float flRatio)
int mPlayerCount
The number of players the session records.
Definition gamestats.h:132
int GetTally(int nPlayer)
void SetTally(int nPlayer, int nTally)
int GetScore(int nPlayer)
int mRemixEdited
Non-zero once the jam's phrases or remix effects changed.
Definition gamestats.h:167
int mCheated
Non-zero when a cheat ran during the solo game, copied from Gamer::mCheated.
Definition gamestats.h:149
float GetRatio(int nPlayer)
virtual ~GameStats()
Release the three vectors.
int mCompleted
Non-zero when the solo song was completed.
Definition gamestats.h:140
friend class GrooveWorld
Definition gamestats.h:29
void Reset(int nPlayers)
Clear the tally for a new game and give each player a zero entry in every vector.
void SetProgress(float flProgress)
GameStats()
Start with every counter clear and all three vectors empty.
void SetScore(int nPlayer, int nScore)