add grade counts, screenshots to stats.html

This commit is contained in:
Chris Danford
2004-02-17 01:16:57 +00:00
parent ec6039769c
commit d1a3f1fbde
9 changed files with 202 additions and 21 deletions
+18
View File
@@ -106,6 +106,19 @@ public:
void IncrementCategoryPlayCount( StepsType st, RankingCategory rc );
//
// Screenshot Data
//
struct Screenshot
{
CString sFileName; // no directory part - just the file name
CString sSignature; // sFile signed with the machine's private key
HighScore highScore; // high score that the screenshot is taken of
};
vector<Screenshot> m_vScreenshots;
void AddScreenshot( Screenshot screenshot );
//
// Init'ing
//
@@ -115,11 +128,13 @@ public:
InitSongScores();
InitCourseScores();
InitCategoryScores();
InitScreenshotData();
}
void InitGeneralData();
void InitSongScores();
void InitCourseScores();
void InitCategoryScores();
void InitScreenshotData();
//
// Loading and saving
@@ -145,6 +160,9 @@ public:
void SaveCategoryScoresToDir( CString sDir ) const;
void DeleteCategoryScoresFromDirSM390a12( CString sDir ) const;
void LoadScreenshotDataFromDir( CString sDir );
void SaveScreenshotDataToDir( CString sDir ) const;
void SaveStatsWebPageToDir( CString sDir ) const;
void SaveMachinePublicKeyToDir( CString sDir ) const;