summaryrefslogtreecommitdiff
path: root/include/engine.h
diff options
context:
space:
mode:
authorpixel <pixel>2003-03-13 00:58:29 +0000
committerpixel <pixel>2003-03-13 00:58:29 +0000
commit97ec70da939ace8fa7a076fa31f0d1548e489ba1 (patch)
tree9e73702332cc808653e7ee863d88626334095015 /include/engine.h
parented435a3042573e039b2db62fef337211d582a37c (diff)
lock mouse effect
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();
};
};