diff options
| author | Starla Insigna <starla4444@gmail.com> | 2013-08-28 20:00:58 -0400 |
|---|---|---|
| committer | Starla Insigna <starla4444@gmail.com> | 2013-08-28 20:00:58 -0400 |
| commit | 157457f94783d712e6af1a3e29268ab6bcfb8f99 (patch) | |
| tree | 849e58e6f35e3c3ce5c521211f8107e2070cb0b7 /hslist.h | |
| parent | 887056394ce576cc2fa919f6074dda0943ff195d (diff) | |
| download | mazeoflife-157457f94783d712e6af1a3e29268ab6bcfb8f99.tar.gz mazeoflife-157457f94783d712e6af1a3e29268ab6bcfb8f99.tar.bz2 mazeoflife-157457f94783d712e6af1a3e29268ab6bcfb8f99.zip | |
Title of window changes to match level
Diffstat (limited to 'hslist.h')
| -rw-r--r-- | hslist.h | 12 |
1 files changed, 6 insertions, 6 deletions
| diff --git a/hslist.h b/hslist.h index c1db137..8d450af 100644 --- a/hslist.h +++ b/hslist.h | |||
| @@ -43,22 +43,22 @@ class GlobalHighscoreList : public HighscoreList { | |||
| 43 | 43 | ||
| 44 | class ChooseHighscoreListState : public State { | 44 | class ChooseHighscoreListState : public State { |
| 45 | public: | 45 | public: |
| 46 | State* operator() (SDL_Renderer* renderer); | 46 | State* operator() (SDL_Window* window, SDL_Renderer* renderer); |
| 47 | }; | 47 | }; |
| 48 | 48 | ||
| 49 | class DisplayLocalHighscoreListState : public State { | 49 | class DisplayLocalHighscoreListState : public State { |
| 50 | public: | 50 | public: |
| 51 | State* operator() (SDL_Renderer* renderer); | 51 | State* operator() (SDL_Window* window, SDL_Renderer* renderer); |
| 52 | }; | 52 | }; |
| 53 | 53 | ||
| 54 | class DisplayAndReturnLocalHighscoreListState : public State { | 54 | class DisplayAndReturnLocalHighscoreListState : public State { |
| 55 | public: | 55 | public: |
| 56 | State* operator() (SDL_Renderer* renderer); | 56 | State* operator() (SDL_Window* window, SDL_Renderer* renderer); |
| 57 | }; | 57 | }; |
| 58 | 58 | ||
| 59 | class DisplayGlobalHighscoreListState : public State { | 59 | class DisplayGlobalHighscoreListState : public State { |
| 60 | public: | 60 | public: |
| 61 | State* operator() (SDL_Renderer* renderer); | 61 | State* operator() (SDL_Window* window, SDL_Renderer* renderer); |
| 62 | 62 | ||
| 63 | protected: | 63 | protected: |
| 64 | SDL_Surface* list_s; | 64 | SDL_Surface* list_s; |
| @@ -73,7 +73,7 @@ class DisplayGlobalHighscoreListState : public State { | |||
| 73 | class EnterHighscoreState : public State { | 73 | class EnterHighscoreState : public State { |
| 74 | public: | 74 | public: |
| 75 | EnterHighscoreState(int level); | 75 | EnterHighscoreState(int level); |
| 76 | State* operator() (SDL_Renderer* renderer); | 76 | State* operator() (SDL_Window* window, SDL_Renderer* renderer); |
| 77 | 77 | ||
| 78 | private: | 78 | private: |
| 79 | int level; | 79 | int level; |
| @@ -85,7 +85,7 @@ class EnterHighscoreState : public State { | |||
| 85 | class NewHighscoreState : public State { | 85 | class NewHighscoreState : public State { |
| 86 | public: | 86 | public: |
| 87 | NewHighscoreState(Highscore* h); | 87 | NewHighscoreState(Highscore* h); |
| 88 | State* operator() (SDL_Renderer* renderer); | 88 | State* operator() (SDL_Window* window, SDL_Renderer* renderer); |
| 89 | 89 | ||
| 90 | private: | 90 | private: |
| 91 | Highscore* h; | 91 | Highscore* h; |
