#303: Typo fixes from mathnerd314
[supertux.git] / src / statistics.hpp
index 4aca2ad..e2a2195 100644 (file)
@@ -23,7 +23,6 @@
 #define SUPERTUX_STATISTICS_H
 
 #include <squirrel.h>
-#include "timer.hpp"
 
 namespace lisp { class Writer; }
 namespace lisp { class Lisp; }
@@ -75,9 +74,12 @@ public:
   void declare_invalid(); /**< marks statistics as invalid for their entire lifetime (e.g. after cheating). Invalid statistics will not be merged or drawn. */
 
 private:
-  bool valid; /**< stores whether this statistics can be trusted */
-  Timer timer; /**< for draw_worldmap_info: time until switching to next stat */
-  int display_stat; /**< for draw_worldmap_info: which stat is currently displayed */
+  bool valid; /**< stores whether these statistics can be trusted */
+
+  std::string coins_to_string(int coins, int total_coins) const;
+  std::string frags_to_string(int badguys, int total_badguys) const;
+  std::string time_to_string(float time) const;
+  std::string secrets_to_string(int secrets, int total_secrets) const;
 };
 
 #endif /*SUPERTUX_STATISTICS_H*/