From ca8754a3a2296ff2842c781d1936dd47cecb3c9f Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 9 Mar 2003 21:19:43 +0000 Subject: FPS --- include/engine.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/engine.h') diff --git a/include/engine.h b/include/engine.h index 64e823d..f950314 100644 --- a/include/engine.h +++ b/include/engine.h @@ -21,6 +21,7 @@ namespace mogltk { static int mouseX(); static int mouseY(); static int mousebuttons(); + static double FPS(); private: static bool inited; static bool postsetuped; @@ -30,6 +31,9 @@ namespace mogltk { static int mx; static int my; static int mbuttons; + static int frames; + static double curfps; + static Uint32 curticks; static void updatemouse(); }; }; -- cgit v1.2.3