6 by Bill Kendrick & Tobias Glaesser <tobi.web@gmx.de>
7 bill@newbreedsoftware.com
8 http://www.newbreedsoftware.com/supertux/
10 April 11, 2000 - March 15, 2004
13 #ifndef SUPERTUX_GAMELOOP_H
14 #define SUPERTUX_GAMELOOP_H
24 #define ST_GL_LOAD_GAME 2
25 #define ST_GL_LOAD_LEVEL_FILE 3
27 extern int game_started;
28 extern st_level current_level;
30 /* Function prototypes: */
32 int gameloop(const char * subset, int levelnb, int mode);
33 void savegame(int slot);
34 void loadgame(int slot);
35 void slotinfo(char **pinfo, int slot);
36 bool issolid(float x, float y);
37 bool isbrick(float x, float y);
38 bool isice(float x, float y);
39 bool isfullbox(float x, float y);
40 bool rectcollision(base_type* one, base_type* two);
41 void drawshape(float x, float y, unsigned char c);
42 unsigned char shape(float x, float y);
43 void bumpbrick(float x, float y);
44 void trygrabdistro(float x, float y, int bounciness);
45 void trybreakbrick(float x, float y);
46 void tryemptybox(float x, float y, int col_side);
47 void trybumpbadguy(float x, float y);
49 #endif /*SUPERTUX_GAMELOOP_H*/