summary refs log tree commit diff stats
path: root/htpstate.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2009-06-19 22:46:29 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2009-06-19 22:46:29 -0400
commit150a240098c3b45799ff04411715866b9dc58f4f (patch)
treea2ce9296ec53f0bdcce7eaeddc3a6292edf5bcf7 /htpstate.cpp
parent1941186fa99ce9a9e333d9ab0deb928937e1ea61 (diff)
downloadmazeoflife-150a240098c3b45799ff04411715866b9dc58f4f.tar.gz
mazeoflife-150a240098c3b45799ff04411715866b9dc58f4f.tar.bz2
mazeoflife-150a240098c3b45799ff04411715866b9dc58f4f.zip
Fixed solver wrapping issue
Previously, the generated mazes didn't wrap and it would be very difficult to wrap. This has been fixed. Plus, titles have been added to all states and the "gameSleep" variable has been removed due to it's not-usefulness.
Diffstat (limited to 'htpstate.cpp')
-rw-r--r--htpstate.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/htpstate.cpp b/htpstate.cpp index 273392e..ad830da 100644 --- a/htpstate.cpp +++ b/htpstate.cpp
@@ -7,6 +7,8 @@ HowToPlayState::HowToPlayState()
7 pointer = SDL_LoadBMP("pointer.bmp"); 7 pointer = SDL_LoadBMP("pointer.bmp");
8 secondPage = false; 8 secondPage = false;
9 selection = 0; 9 selection = 0;
10
11 SDL_WM_SetCaption("Maze Of Life - How To Play", NULL);
10} 12}
11 13
12void HowToPlayState::input(SDLKey key) 14void HowToPlayState::input(SDLKey key)