doubled file
[supertux.git] / src / statistics.h
index 9f15332..430e216 100644 (file)
 #define SUPERTUX_STATISTICS_H
 
 #include "timer.h"
+#include "lisp/lisp.h"
+#include "lisp/writer.h"
 
-using namespace SuperTux;
-
-namespace SuperTux {
-class LispReader;
-class LispWriter;
 class DrawingContext;
-}
 
 #define SPLAYER 0
 #define STOTAL  1
@@ -53,9 +49,9 @@ public:
   ~Statistics();
 
   /// read statistics from lisp file
-  void parse(LispReader& reader);
+  void parse(const lisp::Lisp& lisp);
   /// write statistics to lisp file
-  void write(LispWriter& writer);
+  void write(lisp::Writer& writer);
 
   /* Draw to the worldmap or a game message */
   // TODO: make this functions working
@@ -81,7 +77,7 @@ public:
 private:
   int stats[NUM_STATS][2];
 
-  Timer2 timer;
+  Timer timer;
   int display_stat;
 };