X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fstatistics.h;h=2bd87745e151579a6425f27b3a83ad0203f69e05;hb=db7e44a2f93bd7c0e7477690e7cc30b6d5273b06;hp=9f1533236406b2e0cdc2aedb9e068e6ba4210cff;hpb=d46c78c842ab4090a3f46e560c891234167f124b;p=supertux.git diff --git a/src/statistics.h b/src/statistics.h index 9f1533236..2bd87745e 100644 --- a/src/statistics.h +++ b/src/statistics.h @@ -21,12 +21,12 @@ #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; } @@ -53,9 +53,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