projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reworked miniswig a bit to support virtual functions and to only emit constructors...
[supertux.git]
/
src
/
statistics.h
diff --git
a/src/statistics.h
b/src/statistics.h
index
bb12373
..
2030b28
100644
(file)
--- a/
src/statistics.h
+++ b/
src/statistics.h
@@
-20,15
+20,11
@@
#ifndef SUPERTUX_STATISTICS_H
#define SUPERTUX_STATISTICS_H
#ifndef SUPERTUX_STATISTICS_H
#define SUPERTUX_STATISTICS_H
-#include "special/timer.h"
+#include "timer.h"
+#include "lisp/lisp.h"
+#include "lisp/writer.h"
-using namespace SuperTux;
-
-namespace SuperTux {
-class LispReader;
-class LispWriter;
class DrawingContext;
class DrawingContext;
-}
#define SPLAYER 0
#define STOTAL 1
#define SPLAYER 0
#define STOTAL 1
@@
-53,9
+49,9
@@
public:
~Statistics();
/// read statistics from lisp file
~Statistics();
/// read statistics from lisp file
- void parse(
LispReader& reader
);
+ void parse(
const lisp::Lisp& lisp
);
/// write statistics to lisp file
/// write statistics to lisp file
- void write(
Lisp
Writer& writer);
+ void write(
lisp::
Writer& writer);
/* Draw to the worldmap or a game message */
// TODO: make this functions working
/* Draw to the worldmap or a game message */
// TODO: make this functions working
@@
-81,7
+77,7
@@
public:
private:
int stats[NUM_STATS][2];
private:
int stats[NUM_STATS][2];
- Timer timer;
+ Timer
2
timer;
int display_stat;
};
int display_stat;
};