#ifndef HIGHSCORESLIST_H #define HIGHSCORESLIST_H #include #include "HighScoreRecord.h" extern void unload(); class HighScoresList { HighScoreRecord content[10]; const char *problem; public: HighScoresList() { content[0] = HighScoreRecord("Avery Musbach", 1000000, "01/29/1989", false); content[1] = HighScoreRecord("Ray Larabie", 750000, "?\?/?\?/1970", false); content[2] = HighScoreRecord("Neale Davidson", 500000, "09/26/1971", false); content[3] = HighScoreRecord("Toru Iwatani", 250000, "01/25/1955", false); content[4] = HighScoreRecord("Larry \"The Chomper\" Stone", 100000, "05/30/1964", false); content[5] = HighScoreRecord("DANNY IS KING OF ALL!!!!!!!!!", 75000, "12/09/1966", false); content[6] = HighScoreRecord("Blinky", 50000, "10/10/1979", false); content[7] = HighScoreRecord("Pinky", 25000, "10/10/1979", false); content[8] = HighScoreRecord("Inky", 10000, "10/10/1979", false); content[9] = HighScoreRecord("Clyde", 7500, "10/10/1979", false); } const char* getProblem(); bool load(); bool save(); void drawHighScores(BITMAP *canvas); void judge(BITMAP *canvas, int layerDonation, bool blinking); }; #endif