diff options
Diffstat (limited to 'hslist.h')
| -rw-r--r-- | hslist.h | 16 |
1 files changed, 8 insertions, 8 deletions
| diff --git a/hslist.h b/hslist.h index 844bf37..291a526 100644 --- a/hslist.h +++ b/hslist.h | |||
| @@ -61,13 +61,13 @@ class DisplayAndReturnLocalHighscoreListState : public State { | |||
| 61 | class DisplayGlobalHighscoreListState : public State { | 61 | class DisplayGlobalHighscoreListState : public State { |
| 62 | public: | 62 | public: |
| 63 | State* operator() (SDL_Window* window, SDL_Renderer* renderer); | 63 | State* operator() (SDL_Window* window, SDL_Renderer* renderer); |
| 64 | 64 | ||
| 65 | protected: | 65 | protected: |
| 66 | SDL_Surface* list_s; | 66 | SDL_Surface* list_s; |
| 67 | SDL_Texture* list; | 67 | SDL_Texture* list; |
| 68 | GlobalHighscoreList* lhl; | 68 | GlobalHighscoreList* lhl; |
| 69 | SDL_mutex* m; | 69 | SDL_mutex* m; |
| 70 | 70 | ||
| 71 | private: | 71 | private: |
| 72 | static int LoadHighscoreList(void* pParam); | 72 | static int LoadHighscoreList(void* pParam); |
| 73 | }; | 73 | }; |
| @@ -76,7 +76,7 @@ class EnterHighscoreState : public State { | |||
| 76 | public: | 76 | public: |
| 77 | EnterHighscoreState(int level); | 77 | EnterHighscoreState(int level); |
| 78 | State* operator() (SDL_Window* window, SDL_Renderer* renderer); | 78 | State* operator() (SDL_Window* window, SDL_Renderer* renderer); |
| 79 | 79 | ||
| 80 | private: | 80 | private: |
| 81 | int level; | 81 | int level; |
| 82 | int lp; | 82 | int lp; |
| @@ -88,7 +88,7 @@ class NewHighscoreState : public State { | |||
| 88 | public: | 88 | public: |
| 89 | NewHighscoreState(Highscore* h); | 89 | NewHighscoreState(Highscore* h); |
| 90 | State* operator() (SDL_Window* window, SDL_Renderer* renderer); | 90 | State* operator() (SDL_Window* window, SDL_Renderer* renderer); |
| 91 | 91 | ||
| 92 | private: | 92 | private: |
| 93 | Highscore* h; | 93 | Highscore* h; |
| 94 | }; | 94 | }; |
| @@ -97,12 +97,12 @@ class SubmitHighscoreState : public State { | |||
| 97 | public: | 97 | public: |
| 98 | SubmitHighscoreState(Highscore* h); | 98 | SubmitHighscoreState(Highscore* h); |
| 99 | State* operator() (SDL_Window* window, SDL_Renderer* renderer); | 99 | State* operator() (SDL_Window* window, SDL_Renderer* renderer); |
| 100 | 100 | ||
| 101 | protected: | 101 | protected: |
| 102 | Highscore* h; | 102 | Highscore* h; |
| 103 | SDL_mutex* m; | 103 | SDL_mutex* m; |
| 104 | GlobalHighscoreList* lhl; | 104 | GlobalHighscoreList* lhl; |
| 105 | 105 | ||
| 106 | private: | 106 | private: |
| 107 | static int SubmitHighscore(void* pParam); | 107 | static int SubmitHighscore(void* pParam); |
| 108 | }; | 108 | }; |
| @@ -111,7 +111,7 @@ class FailedSubmittingHighscoreState : public State { | |||
| 111 | public: | 111 | public: |
| 112 | FailedSubmittingHighscoreState(Highscore* h); | 112 | FailedSubmittingHighscoreState(Highscore* h); |
| 113 | State* operator() (SDL_Window* window, SDL_Renderer* renderer); | 113 | State* operator() (SDL_Window* window, SDL_Renderer* renderer); |
| 114 | 114 | ||
| 115 | private: | 115 | private: |
| 116 | Highscore* h; | 116 | Highscore* h; |
| 117 | }; | 117 | }; |
| @@ -120,7 +120,7 @@ class SubmittedHighscoreState : public State { | |||
| 120 | public: | 120 | public: |
| 121 | SubmittedHighscoreState(GlobalHighscoreList* lhl, Highscore* h); | 121 | SubmittedHighscoreState(GlobalHighscoreList* lhl, Highscore* h); |
| 122 | State* operator() (SDL_Window* window, SDL_Renderer* renderer); | 122 | State* operator() (SDL_Window* window, SDL_Renderer* renderer); |
| 123 | 123 | ||
| 124 | private: | 124 | private: |
| 125 | GlobalHighscoreList* lhl; | 125 | GlobalHighscoreList* lhl; |
| 126 | Highscore* h; | 126 | Highscore* h; |
