diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-18 20:44:19 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-18 20:44:19 -0400 |
commit | 36c808d619f742c97a949662e0fc6144a37d16d1 (patch) | |
tree | 7038122e1f7be32b2caef5dbc5bd1be654b5f5ea /mazeoflife.cpp | |
parent | 8c1f08f2133de108fd354dd07c65e0c24ecc1d38 (diff) | |
download | mazeoflife-36c808d619f742c97a949662e0fc6144a37d16d1.tar.gz mazeoflife-36c808d619f742c97a949662e0fc6144a37d16d1.tar.bz2 mazeoflife-36c808d619f742c97a949662e0fc6144a37d16d1.zip |
Added levels
Diffstat (limited to 'mazeoflife.cpp')
-rw-r--r-- | mazeoflife.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mazeoflife.cpp b/mazeoflife.cpp index 62551c7..7819ffd 100644 --- a/mazeoflife.cpp +++ b/mazeoflife.cpp | |||
@@ -16,6 +16,8 @@ int main(int argc, char *argv[]) | |||
16 | /* Clean up on exit */ | 16 | /* Clean up on exit */ |
17 | atexit(SDL_Quit); | 17 | atexit(SDL_Quit); |
18 | 18 | ||
19 | SDL_WM_SetCaption("Maze Of Life", NULL); | ||
20 | |||
19 | /* | 21 | /* |
20 | * Initialize the display in a 640x480 8-bit palettized mode, | 22 | * Initialize the display in a 640x480 8-bit palettized mode, |
21 | * requesting a software surface | 23 | * requesting a software surface |
@@ -26,7 +28,6 @@ int main(int argc, char *argv[]) | |||
26 | exit(1); | 28 | exit(1); |
27 | } | 29 | } |
28 | 30 | ||
29 | SDL_WM_SetCaption("Maze Of Life", NULL); | ||
30 | SDL_EnableKeyRepeat(100, 50); | 31 | SDL_EnableKeyRepeat(100, 50); |
31 | 32 | ||
32 | State* state = new GameState(); | 33 | State* state = new GameState(); |