summaryrefslogtreecommitdiff
path: root/include/engine.h
diff options
context:
space:
mode:
authorpixel <pixel>2003-05-20 01:53:24 +0000
committerpixel <pixel>2003-05-20 01:53:24 +0000
commite0f0cfd81fbec4fc20a591409f1bef67e16d62e7 (patch)
tree141b2742806249e1746d92b79b392022c95cfb2a /include/engine.h
parente7595adabac15fd3a523327bf8c42655f989f9c2 (diff)
Bugfixes
Diffstat (limited to 'include/engine.h')
-rw-r--r--include/engine.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/engine.h b/include/engine.h
index 66f2f3c..b39841d 100644
--- a/include/engine.h
+++ b/include/engine.h
@@ -10,6 +10,11 @@
namespace mogltk {
class engine : public Base {
public:
+ class keyevent : public Base {
+ public:
+ virtual void down(SDL_keysym);
+ virtual void up(SDL_keysym);
+ };
static int setup() throw(GeneralException);
static int postsetup() throw(GeneralException);
static int GetInited();
@@ -26,6 +31,7 @@ namespace mogltk {
static double FPS();
static void lockmouse();
static void unlockmouse();
+ static void setkeyevent(keyevent *);
static glbase * glbase_o;
static base * base_o;
private:
@@ -41,6 +47,7 @@ namespace mogltk {
static double curfps;
static Uint32 curticks;
static int locked;
+ static keyevent * keyevent_h;
static void updatemouse();
};
};