diff options
author | Starla Insigna <starla4444@gmail.com> | 2013-08-25 14:41:26 -0400 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2013-08-25 14:41:26 -0400 |
commit | 387685d34e6c4ebee776a700a01fed4df05446be (patch) | |
tree | 1ce4f92037f77fbaee93225b44199cefa215f8f1 /resources.h | |
parent | 8ac5ac0365569cd8fab1ba6360a09e748a4fa299 (diff) | |
download | mazeoflife-387685d34e6c4ebee776a700a01fed4df05446be.tar.gz mazeoflife-387685d34e6c4ebee776a700a01fed4df05446be.tar.bz2 mazeoflife-387685d34e6c4ebee776a700a01fed4df05446be.zip |
Replaced internal resources with external ones for compatibility
Diffstat (limited to 'resources.h')
-rw-r--r-- | resources.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/resources.h b/resources.h deleted file mode 100644 index 4743950..0000000 --- a/resources.h +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | #ifndef RESOURCES_H | ||
2 | #define RESOURCES_H | ||
3 | |||
4 | #ifdef WINDOWS | ||
5 | #define RESNAME(title,part) binary_resources_ ## title ## _ ## part | ||
6 | #else | ||
7 | #define RESNAME(title,part) _binary_resources_ ## title ## _ ## part | ||
8 | #endif | ||
9 | |||
10 | #define DEFRES(title) extern int* RESNAME(title,start); extern int* RESNAME(title,size); | ||
11 | #define LOADIMAGE(var,title) SDL_RWops * title ## _rw = SDL_RWFromMem(&RESNAME(title ## _bmp,start), (int) &RESNAME(title ## _bmp,size)); var = SDL_LoadBMP_RW( title ## _rw, 1); | ||
12 | |||
13 | DEFRES(icon_bmp) | ||
14 | DEFRES(title_bmp) | ||
15 | DEFRES(pointer_bmp) | ||
16 | DEFRES(htp1_bmp) | ||
17 | DEFRES(htp2_bmp) | ||
18 | DEFRES(chl_bmp) | ||
19 | DEFRES(hlo_rtm_bmp) | ||
20 | DEFRES(hlo_paartm_bmp) | ||
21 | DEFRES(hlo_passartm_bmp) | ||
22 | DEFRES(mono_ttf) | ||
23 | |||
24 | #endif | ||