added fields to graphics info structure to store current mouse position
[rocksndiamonds.git] / src / libgame / system.h
index d0584d4b922d331048d2cbea3ca265ccdb8fe928..40f4b4771d001e7bd365dc9cada4d1de13de02a2 100644 (file)
 #define ANIM_EVENT_SELF                (1 << 16)
 #define ANIM_EVENT_ANY         (1 << 17)
 #define ANIM_EVENT_CLICK       (1 << 18)
+#define ANIM_EVENT_INIT                (1 << 19)
+#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
@@ -1106,6 +1111,7 @@ struct GfxInfo
   void (*draw_tile_cursor_function)(int);
 
   int cursor_mode;
+  int mouse_x, mouse_y;
 };
 
 struct TileCursorInfo