summary refs log tree commit diff stats
path: root/titlestate.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 /titlestate.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 'titlestate.cpp')
-rw-r--r--titlestate.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/titlestate.cpp b/titlestate.cpp index 144148a..425e4ca 100644 --- a/titlestate.cpp +++ b/titlestate.cpp
@@ -5,6 +5,8 @@ TitleState::TitleState()
5 background = SDL_LoadBMP("title.bmp"); 5 background = SDL_LoadBMP("title.bmp");
6 pointer = SDL_LoadBMP("pointer.bmp"); 6 pointer = SDL_LoadBMP("pointer.bmp");
7 selection = 0; 7 selection = 0;
8
9 SDL_WM_SetCaption("Maze Of Life", NULL);
8} 10}
9 11
10void TitleState::input(SDLKey key) 12void TitleState::input(SDLKey key)