summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--mazeoflife.cpp4
-rw-r--r--resources.h1
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
12DEFIMAGE(icon)
12DEFIMAGE(title) 13DEFIMAGE(title)
13DEFIMAGE(pointer) 14DEFIMAGE(pointer)
14DEFIMAGE(htp1) 15DEFIMAGE(htp1)