hedgewars/SDLh.pas
changeset 5745 71e69623be39
parent 5724 3064ed85a5bd
child 5824 2e5835130d9a
child 6013 4c24f064851e
--- 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;