Huge code merge. This reflects the current status of my rewrite/restructuring. A...
[supertux.git] / src / scene.h
1 //
2 // C Interface: scene
3 //
4 // Description: 
5 //
6 //
7 // Author: Tobias Glaesser <tobi.web@gmx.de>, (C) 2004
8 //
9 // Copyright: See COPYING file that comes with this distribution
10 //
11 //
12
13 #ifndef SUPERTUX_SCENE_H
14 #define SUPERTUX_SCENE_H
15
16 #include "defines.h"
17 #include "gameloop.h"
18 #include "player.h"
19 #include "badguy.h"
20 #include "world.h"
21 #include "special.h"
22 #include "level.h"
23
24 #define FRAME_RATE 10 // 100 Frames per second (10ms)
25 int score, highscore, distros, level, next_level, game_pause,
26 done, quit, score_multiplier, super_bkgd_time, endpos,
27 counting_distros, distro_counter;
28 float scroll_x;
29 int frame;
30 bouncy_distro_type bouncy_distros[NUM_BOUNCY_DISTROS];
31 broken_brick_type broken_bricks[NUM_BROKEN_BRICKS];
32 bouncy_brick_type bouncy_bricks[NUM_BOUNCY_BRICKS];
33 bad_guy_type bad_guys[NUM_BAD_GUYS];
34 floating_score_type floating_scores[NUM_FLOATING_SCORES];
35 upgrade_type upgrades[NUM_UPGRADES];
36 bullet_type bullets[NUM_BULLETS];
37 player_type tux;
38 SDL_Rect src, dest;
39 texture_type img_box_full, img_box_empty, img_mints, img_coffee, img_super_bkgd, img_red_glow;
40 st_level current_level;
41
42 void add_score(int x, int y, int s);
43 void set_defaults(void);
44
45 #endif /*SUPERTUX_SCENE_H*/