Moved some console commands' implementations nearer to target classes
[supertux.git] / src / statistics.hpp
index 7ae61c4..02c0a5c 100644 (file)
@@ -1,6 +1,8 @@
+//  $Id$
 //
-//  SuperTux -  A Jump'n Run
+//  SuperTux (Statistics module)
 //  Copyright (C) 2004 Ricardo Cruz <rick2@aeiou.pt>
+//  Copyright (C) 2006 Ondrej Hosek <white.timberwolf@aon.at>
 //
 //  This program is free software; you can redistribute it and/or
 //  modify it under the terms of the GNU General Public License
@@ -14,8 +16,7 @@
 // 
 //  You should have received a copy of the GNU General Public License
 //  along with this program; if not, write to the Free Software
-//  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-//  02111-1307, USA.
+//  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 #ifndef SUPERTUX_STATISTICS_H
 #define SUPERTUX_STATISTICS_H
 #include "timer.hpp"
 #include "lisp/lisp.hpp"
 #include "lisp/writer.hpp"
-
-class DrawingContext;
+#include "video/surface.hpp"
+#include "video/drawing_context.hpp"
 
 #define SPLAYER 0
 #define STOTAL  1
 
 enum {
-  SCORE_STAT,
+//  SCORE_STAT,
   COINS_COLLECTED_STAT,
   BADGUYS_KILLED_STAT,
   TIME_NEEDED_STAT,
@@ -57,6 +58,7 @@ public:
   // TODO: make this functions working
   void draw_worldmap_info(DrawingContext& context);
   void draw_message_info(DrawingContext& context, std::string title);
+  void draw_endseq_panel(DrawingContext& context, Statistics* best_stats, Surface* backdrop); /**< draw panel shown during level's end sequence */
 
   /* Add / Set / Get points to/from one of the stats this can keep track of */
   void add_points(int stat, int points);