diff options
author | Starla Insigna <starla4444@gmail.com> | 2013-08-28 11:44:12 -0400 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2013-08-28 11:44:12 -0400 |
commit | 992f4eb1e6d711c1be097ffb1684df9a23e08d54 (patch) | |
tree | ec8ade2dca35fb42f179e21a54cf9a64608011f1 /hslist.h | |
parent | 4c0b84a69ff30c4aa91490ea1c16300f1017f845 (diff) | |
download | mazeoflife-992f4eb1e6d711c1be097ffb1684df9a23e08d54.tar.gz mazeoflife-992f4eb1e6d711c1be097ffb1684df9a23e08d54.tar.bz2 mazeoflife-992f4eb1e6d711c1be097ffb1684df9a23e08d54.zip |
Added highscore list viewing
Diffstat (limited to 'hslist.h')
-rw-r--r-- | hslist.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/hslist.h b/hslist.h index 80e1c31..f043336 100644 --- a/hslist.h +++ b/hslist.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #include <SDL.h> | 1 | #include <SDL.h> |
2 | #include <vector> | 2 | #include <vector> |
3 | #include "highscore.h" | 3 | #include "highscore.h" |
4 | #include "state.h" | ||
4 | 5 | ||
5 | #ifndef HSLIST_H | 6 | #ifndef HSLIST_H |
6 | #define HSLIST_H | 7 | #define HSLIST_H |
@@ -34,4 +35,28 @@ class GlobalHighscoreList : public HighscoreList { | |||
34 | bool fail; | 35 | bool fail; |
35 | }; | 36 | }; |
36 | 37 | ||
38 | class ChooseHighscoreListState : public State { | ||
39 | public: | ||
40 | State* operator() (SDL_Renderer* renderer); | ||
41 | }; | ||
42 | |||
43 | class DisplayLocalHighscoreListState : public State { | ||
44 | public: | ||
45 | State* operator() (SDL_Renderer* renderer); | ||
46 | }; | ||
47 | |||
48 | class DisplayGlobalHighscoreListState : public State { | ||
49 | public: | ||
50 | State* operator() (SDL_Renderer* renderer); | ||
51 | |||
52 | protected: | ||
53 | SDL_Surface* list_s; | ||
54 | SDL_Texture* list; | ||
55 | GlobalHighscoreList* lhl; | ||
56 | SDL_mutex* m; | ||
57 | |||
58 | private: | ||
59 | static int LoadHighscoreList(void* pParam); | ||
60 | }; | ||
61 | |||
37 | #endif | 62 | #endif |