diff options
-rw-r--r-- | mazeoflife.cpp | 4 | ||||
-rw-r--r-- | resources.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/mazeoflife.cpp b/mazeoflife.cpp index 4ec9250..ba5faa9 100644 --- a/mazeoflife.cpp +++ b/mazeoflife.cpp | |||
@@ -18,6 +18,10 @@ int main(int argc, char *argv[]) | |||
18 | 18 | ||
19 | SDL_WM_SetCaption("Maze Of Life", NULL); | 19 | SDL_WM_SetCaption("Maze Of Life", NULL); |
20 | 20 | ||
21 | SDL_Surface* icon; | ||
22 | LOADIMAGE(icon,icon) | ||
23 | SDL_WM_SetIcon(icon, NULL); | ||
24 | |||
21 | /* | 25 | /* |
22 | * Initialize the display in a 640x480 8-bit palettized mode, | 26 | * Initialize the display in a 640x480 8-bit palettized mode, |
23 | * requesting a software surface | 27 | * requesting a software surface |
diff --git a/resources.h b/resources.h index ced40b0..dd18ffe 100644 --- a/resources.h +++ b/resources.h | |||
@@ -9,6 +9,7 @@ | |||
9 | #define DEFIMAGE(title) extern int* _binary_ ## title ## _bmp_start; extern int* _binary_ ## title ## _bmp_size; | 9 | #define DEFIMAGE(title) extern int* _binary_ ## title ## _bmp_start; extern int* _binary_ ## title ## _bmp_size; |
10 | #endif | 10 | #endif |
11 | 11 | ||
12 | DEFIMAGE(icon) | ||
12 | DEFIMAGE(title) | 13 | DEFIMAGE(title) |
13 | DEFIMAGE(pointer) | 14 | DEFIMAGE(pointer) |
14 | DEFIMAGE(htp1) | 15 | DEFIMAGE(htp1) |