Forgot to make this translatable.
[supertux.git] / src / statistics.h
index 37567ed..72250c3 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef SUPERTUX_STATISTICS_H
 #define SUPERTUX_STATISTICS_H
 
+#include "special/timer.h"
+
 using namespace SuperTux;
 
 namespace SuperTux {
@@ -55,13 +57,14 @@ public:
   /* Draw to the worldmap or a game message */
   // TODO: make this functions working
   void draw_worldmap_info(DrawingContext& context);
-  void draw_message_info(DrawingContext& context);
+  void draw_message_info(DrawingContext& context, std::string title);
 
+  /* Add / Set / Get points to/from one of the stats this can keep track of */
   void add_points(int stat, int points);
-  int get_points(int stat);
-
   void set_points(int stat, int points);
+  int get_points(int stat);
 
+  /* Reset statistics */
   void reset();
 
   /* Give another Statistics object, find the best of each one */
@@ -72,6 +75,9 @@ public:
 
 private:
   int stats[NUM_STATS];
+
+  Timer timer;
+  int display_stat;
 };
 
 extern Statistics global_stats;