added SDL event filter to track mouse position from mouse motion events
[rocksndiamonds.git] / src / libgame / sdl.h
index e4b2b68418c8cafbf4156e9d2be5d85380718016..35d6a2411c3c7af8edd90677d04cf1630c550f15 100644 (file)
@@ -65,6 +65,8 @@ typedef SDL_Event             PauseResumeEvent;
 typedef SDL_WindowEvent                WindowEvent;
 typedef SDL_KeyboardEvent      KeyEvent;
 
+typedef SDL_EventFilter                EventFilter;
+
 
 // structure definitions
 
@@ -421,6 +423,7 @@ void SDLOpenAudio(void);
 void SDLCloseAudio(void);
 
 void SDLWaitEvent(Event *);
+void SDLCorrectMouseEventXY(int *, int *);
 
 void HandleJoystickEvent(Event *);
 void SDLInitJoysticks(void);