1 // ============================================================================
2 // Rocks'n'Diamonds - McDuffin Strikes Back!
3 // ----------------------------------------------------------------------------
4 // (c) 1995-2014 by Artsoft Entertainment
7 // http://www.artsoft.org/
8 // ----------------------------------------------------------------------------
10 // ============================================================================
18 #define USEREVENT_NONE 0
19 #define USEREVENT_ANIM_EVENT_ACTION 1
22 boolean NextValidEvent(Event *);
25 void HandleOtherEvents(Event *);
26 void ClearAutoRepeatKeyEvents(void);
27 void ClearEventQueue(void);
28 void ClearPlayerAction(void);
30 void HandleButtonEvent(ButtonEvent *);
31 void HandleMotionEvent(MotionEvent *);
32 void HandleWheelEvent(WheelEvent *);
33 void HandleWindowEvent(WindowEvent *);
34 void HandleFingerEvent(FingerEvent *);
35 void HandleTextEvent(TextEvent *);
36 void HandlePauseResumeEvent(PauseResumeEvent *);
37 boolean HandleKeysDebug(Key, int);
38 void HandleKeyEvent(KeyEvent *);
39 void HandleDropEvent(Event *);
40 void HandleUserEvent(UserEvent *);
42 void HandleToonAnimations(void);
44 void HandleButton(int, int, int, int);
45 void HandleKey(Key, int);
46 void HandleJoystick(void);
47 void HandleSpecialGameControllerButtons(Event *);
48 void HandleSpecialGameControllerKeys(Key, int);
50 boolean DoKeysymAction(int);