diff options
author | pixel <pixel> | 2003-05-20 01:53:24 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-05-20 01:53:24 +0000 |
commit | e0f0cfd81fbec4fc20a591409f1bef67e16d62e7 (patch) | |
tree | 141b2742806249e1746d92b79b392022c95cfb2a /include/engine.h | |
parent | e7595adabac15fd3a523327bf8c42655f989f9c2 (diff) |
Bugfixes
Diffstat (limited to 'include/engine.h')
-rw-r--r-- | include/engine.h | 7 |
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(); }; }; |