X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fstatistics.hpp;h=c1fc04005f976f6967da77de1cfc691a26a6a34c;hb=24dee16ba721c757b53c3cca08951c867b49c6a7;hp=4aca2ad96778b44562ea97e2e58aab397e368aa2;hpb=4a308ce51f1300ad7c9c041272521f6df71036de;p=supertux.git diff --git a/src/statistics.hpp b/src/statistics.hpp index 4aca2ad96..c1fc04005 100644 --- a/src/statistics.hpp +++ b/src/statistics.hpp @@ -23,7 +23,6 @@ #define SUPERTUX_STATISTICS_H #include -#include "timer.hpp" namespace lisp { class Writer; } namespace lisp { class Lisp; } @@ -76,8 +75,11 @@ public: 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 */ + + 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*/