--- a/hedgewars/SDLh.pas Fri Sep 02 19:06:05 2011 -0400
+++ b/hedgewars/SDLh.pas Sat Sep 03 12:35:49 2011 +0200
@@ -618,6 +618,8 @@
{$ENDIF}
end;
+ TSDL_EventFilter = function( event : PSDL_Event ): Integer; cdecl;
+
PByteArray = ^TByteArray;
TByteArray = array[0..65535] of Byte;
PLongWordArray = ^TLongWordArray;
@@ -811,6 +813,7 @@
procedure SDL_PumpEvents; cdecl; external SDLLibName;
function SDL_PollEvent(event: PSDL_Event): LongInt; cdecl; external SDLLibName;
function SDL_WaitEvent(event: PSDL_Event): LongInt; cdecl; external SDLLibName;
+procedure SDL_SetEventFilter( filter : TSDL_EventFilter ); cdecl; external SDLLibName;
function SDL_ShowCursor(toggle: LongInt): LongInt; cdecl; external SDLLibName;