- fixed problem with last_menu not being able to handle menues deeper than two submenues
[supertux.git] / src / scene.cpp
index 82826d5..681500f 100644 (file)
 #include <stdlib.h>
 #include "scene.h"
 
-int score;
-int distros;
-int next_level;
-int score_multiplier;
-timer_type  super_bkgd_timer;
+PlayerStatus player_status;
+
+PlayerStatus::PlayerStatus()
+  : score(0),
+    distros(0),
+    lives(3)
+{
+}
 
 // FIXME: Move this into a view class
 float scroll_x;
 
 unsigned int global_frame_counter;
 
-timer_type time_left;
-double frame_ratio;
-
 // EOF //