Fixed time/badguy errors in statistics, still needs some testing
[supertux.git] / src / mainloop.hpp
index 20d2107..dfb2f9e 100644 (file)
@@ -1,5 +1,5 @@
-//  $Id: worldmap.hpp 2800 2005-10-02 22:57:31Z matzebraun $
-// 
+//  $Id$
+//
 //  SuperTux
 //  Copyright (C) 2006 Matthias Braun <matze@braunis.de>
 //
@@ -12,7 +12,7 @@
 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 //  GNU General Public License for more details.
-// 
+//
 //  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.
@@ -24,6 +24,7 @@
 
 class Screen;
 class Console;
+class DrawingContext;
 
 class MainLoop
 {
@@ -40,6 +41,8 @@ public:
   void push_screen(Screen* screen);
 
 private:
+  void draw_fps(DrawingContext& context, float fps);
+  
   bool running;
   float speed;
   bool nextpush;