add grade counts, screenshots to stats.html
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user