summaryrefslogtreecommitdiff
path: root/include/engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/engine.h')
-rw-r--r--include/engine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/engine.h b/include/engine.h
index f950314..56c9279 100644
--- a/include/engine.h
+++ b/include/engine.h
@@ -22,6 +22,8 @@ namespace mogltk {
static int mouseY();
static int mousebuttons();
static double FPS();
+ static void lockmouse();
+ static void unlockmouse();
private:
static bool inited;
static bool postsetuped;
@@ -34,6 +36,7 @@ namespace mogltk {
static int frames;
static double curfps;
static Uint32 curticks;
+ static int locked;
static void updatemouse();
};
};