added optional button to restart game (door, panel and touch variants)
[rocksndiamonds.git] / src / events.h
index 0c8828c3f15228e57849f94661c56f87a9e0fd7e..3887f3fdb5d1b4346fb13cb913d90ac325d94fc3 100644 (file)
@@ -4,7 +4,7 @@
 // (c) 1995-2014 by Artsoft Entertainment
 //                         Holger Schemel
 //                 info@artsoft.org
-//                 http://www.artsoft.org/
+//                 https://www.artsoft.org/
 // ----------------------------------------------------------------------------
 // events.h
 // ============================================================================
 
 #include "main.h"
 
+
+#define USEREVENT_NONE                 0
+#define USEREVENT_ANIM_DELAY_ACTION    1
+#define USEREVENT_ANIM_EVENT_ACTION    2
+#define USEREVENT_GADGET_PRESSED       3
+
+
+void SetPlayfieldMouseCursorEnabled(boolean);
+
+int FilterMouseMotionEvents(void *, Event *);
 boolean NextValidEvent(Event *);
+void StopProcessingEvents(void);
 
 void EventLoop(void);
 void HandleOtherEvents(Event *);
@@ -31,8 +42,8 @@ void HandleTextEvent(TextEvent *);
 void HandlePauseResumeEvent(PauseResumeEvent *);
 boolean HandleKeysDebug(Key, int);
 void HandleKeyEvent(KeyEvent *);
-void HandleClientMessageEvent(ClientMessageEvent *);
 void HandleDropEvent(Event *);
+void HandleUserEvent(UserEvent *);
 
 void HandleToonAnimations(void);