updated contact info in source file headers
[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 #if defined(TARGET_SDL2)
18 int FilterEvents(void *, Event *);
19 #else
20 int FilterEvents(const Event *);
21 #endif
22
23 void EventLoop(void);
24 void HandleOtherEvents(Event *);
25 void ClearEventQueue(void);
26 void ClearPlayerAction(void);
27 void SleepWhileUnmapped(void);
28
29 void HandleExposeEvent(ExposeEvent *);
30 void HandleButtonEvent(ButtonEvent *);
31 void HandleMotionEvent(MotionEvent *);
32 #if defined(TARGET_SDL2)
33 void HandleWindowEvent(WindowEvent *);
34 void HandleFingerEvent(FingerEvent *);
35 void HandleTextEvent(TextEvent *);
36 void HandlePauseResumeEvent(PauseResumeEvent *);
37 #endif
38 void HandleKeyEvent(KeyEvent *);
39 void HandleFocusEvent(FocusChangeEvent *);
40 void HandleClientMessageEvent(ClientMessageEvent *);
41 void HandleWindowManagerEvent(Event *);
42
43 void HandleNoEvent(void);
44 void HandleToonAnimations(void);
45
46 void HandleButton(int, int, int, int);
47 void HandleKey(Key, int);
48 void HandleJoystick();
49
50 #endif