summaryrefslogtreecommitdiff
path: root/include/engine.h
diff options
context:
space:
mode:
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();
};
};