]>
Commit | Line | Data |
---|---|---|
3f6030cb | 1 | diff -Nur 54321.orig/code/main.cpp 54321.SDL_main/code/main.cpp |
2 | --- 54321.orig/code/main.cpp 2001-11-16 04:14:04.000000000 +0000 | |
3 | +++ 54321.SDL_main/code/main.cpp 2006-11-06 00:30:27.000000000 +0000 | |
4 | @@ -2,6 +2,7 @@ | |
5 | #include <stdlib.h> | |
6 | #include <unistd.h> | |
7 | #include <SDL.h> | |
8 | + #include <SDL_main.h> | |
9 | #include <SDL_keysym.h> | |
10 | #include "cube.h" | |
11 | #include "font.h" | |
12 | @@ -29,7 +30,7 @@ | |
13 | #include "life.h" | |
14 | #include "lifeController.h" | |
15 | extern "C" int | |
16 | - SDL_main( int argc, char** argv ) | |
17 | + main( int argc, char** argv ) | |
18 | { | |
19 | unsigned int initFlags = 0; | |
20 | initFlags |= SDL_INIT_VIDEO; |