summary refs log tree commit diff stats
path: root/resources.h
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2013-08-25 14:41:26 -0400
committerStarla Insigna <starla4444@gmail.com>2013-08-25 14:41:26 -0400
commit387685d34e6c4ebee776a700a01fed4df05446be (patch)
tree1ce4f92037f77fbaee93225b44199cefa215f8f1 /resources.h
parent8ac5ac0365569cd8fab1ba6360a09e748a4fa299 (diff)
downloadmazeoflife-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.h24
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
13DEFRES(icon_bmp)
14DEFRES(title_bmp)
15DEFRES(pointer_bmp)
16DEFRES(htp1_bmp)
17DEFRES(htp2_bmp)
18DEFRES(chl_bmp)
19DEFRES(hlo_rtm_bmp)
20DEFRES(hlo_paartm_bmp)
21DEFRES(hlo_passartm_bmp)
22DEFRES(mono_ttf)
23
24#endif