added fields to graphics info structure to store current mouse position
[rocksndiamonds.git] / src / libgame / system.h
index 8bcafb8269c1517ecaf30a8734f9db2668059351..40f4b4771d001e7bd365dc9cada4d1de13de02a2 100644 (file)
 #define ANIM_EVENT_START       (1 << 20)
 #define ANIM_EVENT_END         (1 << 21)
 #define ANIM_EVENT_POST                (1 << 22)
+#define ANIM_EVENT_UNCLICK_ANY (1 << 23)
 
 // anim number: bits 0-7
 // part number: bits 8-15
@@ -1110,6 +1111,7 @@ struct GfxInfo
   void (*draw_tile_cursor_function)(int);
 
   int cursor_mode;
+  int mouse_x, mouse_y;
 };
 
 struct TileCursorInfo