hedgewars/SDLh.pas
changeset 2171 8208946331ba
parent 2152 a2811690da1b
child 2191 20c62f787a4d
--- a/hedgewars/SDLh.pas	Thu Jun 18 17:35:34 2009 +0000
+++ b/hedgewars/SDLh.pas	Thu Jun 18 17:48:06 2009 +0000
@@ -266,10 +266,11 @@
 
 {$IFDEF SDL13}
 function  SDL_GetKeyboardState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName;
+function  SDL_GetMouseState(index: LongInt; x, y: PInteger): Byte; cdecl; external SDLLibName;
 {$ELSE}
 function  SDL_GetKeyState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName;
+function  SDL_GetMouseState(x, y: PInteger): Byte; cdecl; external SDLLibName;
 {$ENDIF}
-function  SDL_GetMouseState(x, y: PInteger): Byte; cdecl; external SDLLibName;
 function  SDL_GetKeyName(key: Longword): PChar; cdecl; external SDLLibName;
 procedure SDL_WarpMouse(x, y: Word); cdecl; external SDLLibName;