7 // Author: Tobias Glaesser <tobi.web@gmx.de>, (C) 2003
9 // Copyright: See COPYING file that comes with this distribution
13 #ifndef SUPERTUX_LEVEL_H
14 #define SUPERTUX_LEVEL_H
18 #define LEVEL_NAME_MAX 20
20 typedef struct st_level /*It is easier to read the sources IMHO, if we don't write something like int a,b,c; */
22 char name[LEVEL_NAME_MAX];
25 unsigned char* tiles[15];
33 texture_type img_bkgd[2][4], img_solid[4], img_brick[2];
35 void loadlevel(st_level* plevel, char * subset, int level);
36 void loadlevelgfx(st_level* plevel);
37 void unloadlevelgfx();
38 void load_level_image(texture_type* ptexture, char* theme, char * file, int use_alpha);
39 void level_change(st_level* plevel, float x, float y, unsigned char c);
41 #endif /*SUPERTUX_LEVEL_H*/