diff options
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 |
