cleanup of obsolete client message event from SDL 1.2
[rocksndiamonds.git] / src / events.h
1 // ============================================================================
2 // Rocks'n'Diamonds - McDuffin Strikes Back!
3 // ----------------------------------------------------------------------------
4 // (c) 1995-2014 by Artsoft Entertainment
5 //                  Holger Schemel
6 //                  info@artsoft.org
7 //                  http://www.artsoft.org/
8 // ----------------------------------------------------------------------------
9 // events.h
10 // ============================================================================
11
12 #ifndef EVENTS_H
13 #define EVENTS_H
14
15 #include "main.h"
16
17 boolean NextValidEvent(Event *);
18
19 void EventLoop(void);
20 void HandleOtherEvents(Event *);
21 void ClearAutoRepeatKeyEvents(void);
22 void ClearEventQueue(void);
23 void ClearPlayerAction(void);
24
25 void HandleButtonEvent(ButtonEvent *);
26 void HandleMotionEvent(MotionEvent *);
27 void HandleWheelEvent(WheelEvent *);
28 void HandleWindowEvent(WindowEvent *);
29 void HandleFingerEvent(FingerEvent *);
30 void HandleTextEvent(TextEvent *);
31 void HandlePauseResumeEvent(PauseResumeEvent *);
32 boolean HandleKeysDebug(Key, int);
33 void HandleKeyEvent(KeyEvent *);
34 void HandleDropEvent(Event *);
35
36 void HandleToonAnimations(void);
37
38 void HandleButton(int, int, int, int);
39 void HandleKey(Key, int);
40 void HandleJoystick(void);
41 void HandleSpecialGameControllerButtons(Event *);
42 void HandleSpecialGameControllerKeys(Key, int);
43
44 boolean DoKeysymAction(int);
45
46 #endif