diff options
author | pixel <pixel> | 2003-03-09 21:19:43 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-03-09 21:19:43 +0000 |
commit | ca8754a3a2296ff2842c781d1936dd47cecb3c9f (patch) | |
tree | e2039b132e2797d26cd3c035f357ce0f9a5a3b39 /include | |
parent | 4270ce9ebc2bf9e0f2da695ec9b02857d62f5c13 (diff) |
FPS
Diffstat (limited to 'include')
-rw-r--r-- | include/engine.h | 4 |
1 files changed, 4 insertions, 0 deletions
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(); }; }; |