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 /titlestate.cpp | |
| parent | 4c0b84a69ff30c4aa91490ea1c16300f1017f845 (diff) | |
| download | mazeoflife-992f4eb1e6d711c1be097ffb1684df9a23e08d54.tar.gz mazeoflife-992f4eb1e6d711c1be097ffb1684df9a23e08d54.tar.bz2 mazeoflife-992f4eb1e6d711c1be097ffb1684df9a23e08d54.zip | |
Added highscore list viewing
Diffstat (limited to 'titlestate.cpp')
| -rw-r--r-- | titlestate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
| diff --git a/titlestate.cpp b/titlestate.cpp index 87a1faf..177a4c8 100644 --- a/titlestate.cpp +++ b/titlestate.cpp | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | #include "titlestate.h" | 1 | #include "titlestate.h" |
| 2 | #include "util.h" | 2 | #include "util.h" |
| 3 | #include "gamestate.h" | 3 | #include "gamestate.h" |
| 4 | #include "hslist.h" | ||
| 4 | 5 | ||
| 5 | State* TitleState::operator() (SDL_Renderer* renderer) | 6 | State* TitleState::operator() (SDL_Renderer* renderer) |
| 6 | { | 7 | { |
| @@ -35,7 +36,7 @@ State* TitleState::operator() (SDL_Renderer* renderer) | |||
| 35 | { | 36 | { |
| 36 | case 0: return new GameState(); | 37 | case 0: return new GameState(); |
| 37 | //case 1: return new HowToPlayState(); | 38 | //case 1: return new HowToPlayState(); |
| 38 | //case 2: return new ChooseHighscoreListState(); | 39 | case 2: return new ChooseHighscoreListState(); |
| 39 | case 3: return NULL; | 40 | case 3: return NULL; |
| 40 | } | 41 | } |
| 41 | } | 42 | } |
