applied leveleditor and multiline-drawtext patches from Ricardo Cruz <rick2@aeiou...
[supertux.git] / src / level.h
1 //
2 // C Interface: level
3 //
4 // Description: 
5 //
6 //
7 // Author: Tobias Glaesser <tobi.web@gmx.de>, (C) 2003
8 //
9 // Copyright: See COPYING file that comes with this distribution
10 //
11 //
12
13 typedef struct st_level /*It is easier to read the sources IMHO, if we don't write something like int a,b,c; */
14   {
15     char name[100];
16     char theme[100];
17     char song_title[100];
18     unsigned char* tiles[15];
19     int time_left;
20     int bkgd_red;
21     int bkgd_green;
22     int bkgd_blue;
23     int width;
24   } st_level;
25
26 void loadlevel(st_level* plevel, char * subset, int level);
27 SDL_Surface * load_level_image(char* theme, char * file, int use_alpha);
28
29