cleanup of saving high score files for single/multi-user installations
[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 ClearEventQueue(void);
22 void ClearPlayerAction(void);
23 void SleepWhileUnmapped(void);
24
25 void HandleExposeEvent(ExposeEvent *);
26 void HandleButtonEvent(ButtonEvent *);
27 void HandleMotionEvent(MotionEvent *);
28 #if defined(TARGET_SDL2)
29 void HandleWheelEvent(WheelEvent *);
30 void HandleWindowEvent(WindowEvent *);
31 void HandleFingerEvent(FingerEvent *);
32 void HandleTextEvent(TextEvent *);
33 void HandlePauseResumeEvent(PauseResumeEvent *);
34 #endif
35 void HandleKeysDebug(Key);
36 void HandleKeyEvent(KeyEvent *);
37 void HandleFocusEvent(FocusChangeEvent *);
38 void HandleClientMessageEvent(ClientMessageEvent *);
39 void HandleWindowManagerEvent(Event *);
40
41 void HandleNoEvent(void);
42 void HandleToonAnimations(void);
43
44 void HandleButton(int, int, int, int);
45 void HandleKey(Key, int);
46 void HandleJoystick();
47
48 #endif