cleanup of obsolete client message event from SDL 1.2
[rocksndiamonds.git] / src / events.h
index 83d869adc14e334c02f627a8021ce569da4ed9f2..1294689fe413128d32eb20d69840261f993aaed8 100644 (file)
@@ -18,32 +18,29 @@ boolean NextValidEvent(Event *);
 
 void EventLoop(void);
 void HandleOtherEvents(Event *);
+void ClearAutoRepeatKeyEvents(void);
 void ClearEventQueue(void);
 void ClearPlayerAction(void);
-void SleepWhileUnmapped(void);
 
-void HandleExposeEvent(ExposeEvent *);
 void HandleButtonEvent(ButtonEvent *);
 void HandleMotionEvent(MotionEvent *);
-#if defined(TARGET_SDL2)
 void HandleWheelEvent(WheelEvent *);
 void HandleWindowEvent(WindowEvent *);
 void HandleFingerEvent(FingerEvent *);
 void HandleTextEvent(TextEvent *);
 void HandlePauseResumeEvent(PauseResumeEvent *);
-#endif
-void HandleKeysDebug(Key);
+boolean HandleKeysDebug(Key, int);
 void HandleKeyEvent(KeyEvent *);
-void HandleFocusEvent(FocusChangeEvent *);
-void HandleClientMessageEvent(ClientMessageEvent *);
-void HandleWindowManagerEvent(Event *);
+void HandleDropEvent(Event *);
 
 void HandleToonAnimations(void);
 
 void HandleButton(int, int, int, int);
 void HandleKey(Key, int);
-void HandleJoystick();
+void HandleJoystick(void);
 void HandleSpecialGameControllerButtons(Event *);
 void HandleSpecialGameControllerKeys(Key, int);
 
+boolean DoKeysymAction(int);
+
 #endif