rnd-20030817-1-src
[rocksndiamonds.git] / src / events.h
1 /***********************************************************
2 * Rocks'n'Diamonds -- McDuffin Strikes Back!               *
3 *----------------------------------------------------------*
4 * (c) 1995-2002 Artsoft Entertainment                      *
5 *               Holger Schemel                             *
6 *               Detmolder Strasse 189                      *
7 *               33604 Bielefeld                            *
8 *               Germany                                    *
9 *               e-mail: info@artsoft.org                   *
10 *----------------------------------------------------------*
11 * events.h                                                 *
12 ***********************************************************/
13
14 #ifndef EVENTS_H
15 #define EVENTS_H
16
17 #include "main.h"
18
19 int FilterMouseMotionEvents(const Event *);
20 void EventLoop(void);
21 void HandleOtherEvents(Event *);
22 void ClearEventQueue(void);
23 void ClearPlayerAction(void);
24 void SleepWhileUnmapped(void);
25
26 void HandleExposeEvent(ExposeEvent *);
27 void HandleButtonEvent(ButtonEvent *);
28 void HandleMotionEvent(MotionEvent *);
29 void HandleKeyEvent(KeyEvent *);
30 void HandleFocusEvent(FocusChangeEvent *);
31 void HandleClientMessageEvent(ClientMessageEvent *event);
32
33 void HandleNoEvent(void);
34
35 void HandleButton(int, int, int);
36 void HandleKey(Key, int);
37 void HandleJoystick();
38
39 #endif