added generic support for handling user events
[rocksndiamonds.git] / src / libgame / system.h
index 51357bcea1fb338324e4ef8a46ec5955c00fdef1..cf49d86f8a935ef24ab42728517e29206bbc57b3 100644 (file)
@@ -1111,6 +1111,7 @@ struct GfxInfo
   void (*draw_tile_cursor_function)(int);
 
   int cursor_mode;
+  int mouse_x, mouse_y;
 };
 
 struct TileCursorInfo
@@ -1853,7 +1854,7 @@ KeyMod GetKeyModState(void);
 KeyMod GetKeyModStateFromEvents(void);
 void StartTextInput(int, int, int, int);
 void StopTextInput(void);
-boolean CheckCloseWindowEvent(ClientMessageEvent *);
+void PushUserEvent(int, int, int);
 
 void InitJoysticks(void);
 boolean ReadJoystick(int, int *, int *, boolean *, boolean *);