1 // ============================================================================
2 // Rocks'n'Diamonds - McDuffin Strikes Back!
3 // ----------------------------------------------------------------------------
4 // (c) 1995-2014 by Artsoft Entertainment
7 // http://www.artsoft.org/
8 // ----------------------------------------------------------------------------
10 // ============================================================================
17 #if defined(TARGET_SDL2)
18 int FilterEvents(void *, Event *);
20 int FilterEvents(const Event *);
23 boolean NextValidEvent(Event *);
26 void HandleOtherEvents(Event *);
27 void ClearEventQueue(void);
28 void ClearPlayerAction(void);
29 void SleepWhileUnmapped(void);
31 void HandleExposeEvent(ExposeEvent *);
32 void HandleButtonEvent(ButtonEvent *);
33 void HandleMotionEvent(MotionEvent *);
34 #if defined(TARGET_SDL2)
35 void HandleWheelEvent(WheelEvent *);
36 void HandleWindowEvent(WindowEvent *);
37 void HandleFingerEvent(FingerEvent *);
38 void HandleTextEvent(TextEvent *);
39 void HandlePauseResumeEvent(PauseResumeEvent *);
41 void HandleKeysDebug(Key);
42 void HandleKeyEvent(KeyEvent *);
43 void HandleFocusEvent(FocusChangeEvent *);
44 void HandleClientMessageEvent(ClientMessageEvent *);
45 void HandleWindowManagerEvent(Event *);
47 void HandleNoEvent(void);
48 void HandleToonAnimations(void);
50 void HandleButton(int, int, int, int);
51 void HandleKey(Key, int);
52 void HandleJoystick();