From e0f0cfd81fbec4fc20a591409f1bef67e16d62e7 Mon Sep 17 00:00:00 2001 From: pixel Date: Tue, 20 May 2003 01:53:24 +0000 Subject: Bugfixes --- include/engine.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/engine.h') 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(); }; }; -- cgit v1.2.3