int levelnb;
public:
+ timer_type time_left;
+
GameSession();
GameSession(const std::string& filename);
GameSession(const std::string& subset, int levelnb, int mode);
/* ---- DONE HANDLING TUX! --- */
/* Handle invincibility timer: */
-
-
if (get_current_music() == HERRING_MUSIC && !timer_check(&invincible_timer))
{
/*
but are we in hurry ?
*/
-
- if (timer_get_left(&time_left) < TIME_WARNING)
+ // FIXME: Move this to gamesession
+ if (timer_get_left(&GameSession::current()->time_left) < TIME_WARNING)
{
/* yes, we are in hurry
stop the herring_song, prepare to play the correct
extern float scroll_x;
extern unsigned int global_frame_counter;
-extern timer_type time_left;
-
#endif /*SUPERTUX_SCENE_H*/