2 #ifndef SUPERTUX_GAMEOBJS_H
3 #define SUPERTUX_GAMEOBJS_H
10 /* Bounciness of distros: */
14 class bouncy_distro_type
20 extern texture_type img_distro[4];
22 void bouncy_distro_init(bouncy_distro_type* pbouncy_distro, float x, float y);
23 void bouncy_distro_action(bouncy_distro_type* pbouncy_distro);
24 void bouncy_distro_draw(bouncy_distro_type* pbouncy_distro);
25 void bouncy_distro_collision(bouncy_distro_type* pbouncy_distro, int c_object);
27 #define BOUNCY_BRICK_MAX_OFFSET 8
28 #define BOUNCY_BRICK_SPEED 0.9
32 class broken_brick_type
40 void broken_brick_init(broken_brick_type* pbroken_brick, Tile* tile,
41 float x, float y, float xm, float ym);
42 void broken_brick_action(broken_brick_type* pbroken_brick);
43 void broken_brick_draw(broken_brick_type* pbroken_brick);
45 class bouncy_brick_type
54 void bouncy_brick_init(bouncy_brick_type* pbouncy_brick, float x, float y);
55 void bouncy_brick_action(bouncy_brick_type* pbouncy_brick);
56 void bouncy_brick_draw(bouncy_brick_type* pbouncy_brick);
58 class floating_score_type
66 void floating_score_init(floating_score_type* pfloating_score, float x, float y, int s);
67 void floating_score_action(floating_score_type* pfloating_score);
68 void floating_score_draw(floating_score_type* pfloating_score);
72 /* Local Variables: */