Use field width of 9 on sscanf (fixes cppcheck portability issues)
[supertux.git] / src / supertux / title_screen.hpp
index a749791..65f68ea 100644 (file)
@@ -27,6 +27,7 @@ class ContribWorldMenu;
 class Menu;
 class PlayerStatus;
 class World;
+class Savegame;
 
 /**
  * Screen that displays the SuperTux logo, lets players start a new game, etc.
@@ -34,7 +35,7 @@ class World;
 class TitleScreen : public Screen
 {
 public:
-  TitleScreen(PlayerStatus* player_status);
+  TitleScreen(Savegame& savegame);
   virtual ~TitleScreen();
 
   virtual void setup();
@@ -46,7 +47,7 @@ public:
 
 private:
   void make_tux_jump();
-  
+
 private:
   SurfacePtr frame;
   std::unique_ptr<CodeController> controller;