7 // Author: Tobias Glaesser <tobi.web@gmx.de>, (C) 2003
9 // Copyright: See COPYING file that comes with this distribution
13 #ifndef SUPERTUX_WORLD_H
14 #define SUPERTUX_WORLD_H
19 typedef struct bouncy_distro_type /*It is easier to read the sources IMHO, if we don't write something like int a,b,c; */
28 texture_type img_distro[4];
30 void bouncy_distro_init(bouncy_distro_type* pbouncy_distro);
31 void bouncy_distro_action(bouncy_distro_type* pbouncy_distro);
32 void bouncy_distro_draw(bouncy_distro_type* pbouncy_distro);
33 void bouncy_distro_collision(bouncy_distro_type* pbouncy_distro, int c_object);
35 #define BOUNCY_BRICK_MAX_OFFSET 8
36 #define BOUNCY_BRICK_SPEED 4
38 typedef struct broken_brick_type
48 void broken_brick_action(broken_brick_type* pbroken_brick);
49 void broken_brick_draw(broken_brick_type* pbroken_brick);
51 typedef struct bouncy_brick_type
62 void bouncy_brick_action(bouncy_brick_type* pbouncy_brick);
63 void bouncy_brick_draw(bouncy_brick_type* pbouncy_brick);
65 typedef struct floating_score_type
75 void floating_score_init(floating_score_type* pfloating_score, int x, int y, int s);
76 void floating_score_action(floating_score_type* pfloating_score);
77 void floating_score_draw(floating_score_type* pfloating_score);
79 #endif /*SUPERTUX_WORLD_H*/