Included supertux.h stuff into it.
[supertux.git] / src / scene.cpp
index b2a2421..2ed15f4 100644 (file)
 #include <stdlib.h>
 #include "scene.h"
 
-int score;
-int distros;
-int level;
-int next_level;
-int game_pause;
-bool quit;
-int score_multiplier;
-int endpos;
-bool counting_distros;
-int distro_counter;
-timer_type  super_bkgd_timer;
-float scroll_x;
-unsigned int global_frame_counter;
-
-Player tux;
-texture_type img_box_full;
-texture_type img_box_empty;
-texture_type img_mints;
-texture_type img_coffee;
-texture_type img_super_bkgd;
-texture_type img_red_glow;
-timer_type time_left;
-double frame_ratio;
-
-void set_defaults(void)
-{
-  // Set defaults: 
-  scroll_x = 0;
+PlayerStatus player_status;
 
-  score_multiplier = 1;
-  timer_init(&super_bkgd_timer, true);
-
-  counting_distros = false;
-  distro_counter = 0;
-
-  endpos = 0;
+// FIXME: Move this into a view class
+float scroll_x;
 
-  /* set current song/music */
-  set_current_music(LEVEL_MUSIC);
-}
+unsigned int global_frame_counter;
 
 // EOF //