From c027f1b9cd6c9deb60931a7f9f75bb4ee130291b Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 18 Oct 2009 15:24:07 -0400 Subject: Added local highscore list You can now view and add to a local highscore list. A change to State was necessary due to how the user's name would be entered into the highscore list and thus all states have been modified. Refs #104 --- hslist.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 hslist.h (limited to 'hslist.h') diff --git a/hslist.h b/hslist.h new file mode 100644 index 0000000..88c47c4 --- /dev/null +++ b/hslist.h @@ -0,0 +1,21 @@ +#ifndef HSLIST_H +#define HSLIST_H + +class HighscoreList +{ + public: + SDL_Surface* render(); + + protected: + std::vector getLocalHighscores(); + std::vector getGlobalHighscores(); + + std::vector hslist; +}; + +class LocalHighscoreList : public HighscoreList { + public: + LocalHighscoreList(); +}; + +#endif -- cgit 1.4.1