summary refs log tree commit diff stats
path: root/mazeoflife.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2009-06-18 20:44:19 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2009-06-18 20:44:19 -0400
commit36c808d619f742c97a949662e0fc6144a37d16d1 (patch)
tree7038122e1f7be32b2caef5dbc5bd1be654b5f5ea /mazeoflife.cpp
parent8c1f08f2133de108fd354dd07c65e0c24ecc1d38 (diff)
downloadmazeoflife-36c808d619f742c97a949662e0fc6144a37d16d1.tar.gz
mazeoflife-36c808d619f742c97a949662e0fc6144a37d16d1.tar.bz2
mazeoflife-36c808d619f742c97a949662e0fc6144a37d16d1.zip
Added levels
Diffstat (limited to 'mazeoflife.cpp')
-rw-r--r--mazeoflife.cpp3
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();