7 // Author: Tobias Glaesser <tobi.web@gmx.de>, (C) 2004
9 // Copyright: See COPYING file that comes with this distribution
13 #ifndef SUPERTUX_SCENE_H
14 #define SUPERTUX_SCENE_H
24 #define FRAME_RATE 10 // 100 Frames per second (10ms)
25 extern int score, distros, level, next_level, game_pause, quit, score_multiplier, endpos, counting_distros, distro_counter;
26 extern timer_type super_bkgd_timer;
27 extern float scroll_x;
29 extern std::vector<bouncy_distro_type> bouncy_distros;
30 extern std::vector<broken_brick_type> broken_bricks;
31 extern std::vector<bouncy_brick_type> bouncy_bricks;
32 extern std::vector<bad_guy_type> bad_guys;
33 extern std::vector<floating_score_type> floating_scores;
34 extern std::vector<upgrade_type> upgrades;
35 extern std::vector<bullet_type> bullets;
36 extern player_type tux;
37 extern texture_type img_box_full, img_box_empty, img_mints, img_coffee, img_super_bkgd, img_red_glow;
38 extern timer_type time_left;
39 extern double frame_ratio;
41 void add_score(float x, float y, int s);
42 void set_defaults(void);
43 void arrays_init(void);
44 void arrays_free(void);
46 void add_bouncy_distro(float x, float y);
47 void add_broken_brick(float x, float y);
48 void add_broken_brick_piece(float x, float y, float xm, float ym);
49 void add_bouncy_brick(float x, float y);
50 void add_bad_guy(float x, float y, int kind);
51 void add_upgrade(float x, float y, int dir, int kind);
52 void add_bullet(float x, float y, float xm, int dir);
54 #endif /*SUPERTUX_SCENE_H*/