summaryrefslogtreecommitdiff
path: root/include/engine.h
diff options
context:
space:
mode:
authorpixel <pixel>2003-03-09 21:19:43 +0000
committerpixel <pixel>2003-03-09 21:19:43 +0000
commitca8754a3a2296ff2842c781d1936dd47cecb3c9f (patch)
treee2039b132e2797d26cd3c035f357ce0f9a5a3b39 /include/engine.h
parent4270ce9ebc2bf9e0f2da695ec9b02857d62f5c13 (diff)
FPS
Diffstat (limited to 'include/engine.h')
-rw-r--r--include/engine.h4
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();
};
};