hedgewars/SDLh.pas
changeset 5050 8eb096ee828e
parent 5046 fc6639d56799
child 5052 74a81c276d67
equal deleted inserted replaced
5049:96e51a62fb7f 5050:8eb096ee828e
   787 procedure SDL_WarpMouse(x, y: Word);
   787 procedure SDL_WarpMouse(x, y: Word);
   788 {$ELSE}
   788 {$ELSE}
   789 procedure SDL_WarpMouse(x, y: Word); cdecl; external SDLLibName;
   789 procedure SDL_WarpMouse(x, y: Word); cdecl; external SDLLibName;
   790 
   790 
   791 function  SDL_AllocFormat(format: Longword): PSDL_PixelFormat;
   791 function  SDL_AllocFormat(format: Longword): PSDL_PixelFormat;
   792 procedure SDL_FreeFormat(pixelformat: PSDL_PixelFormat);
   792 //procedure SDL_FreeFormat(pixelformat: PSDL_PixelFormat);
   793 {$ENDIF}
   793 {$ENDIF}
   794 
   794 
   795 function  SDL_GetKeyState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName {$IFDEF SDL13} name 'SDL_GetKeyboardState'{$ENDIF};
   795 function  SDL_GetKeyState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName {$IFDEF SDL13} name 'SDL_GetKeyboardState'{$ENDIF};
   796 function  SDL_GetMouseState(x, y: PLongInt): Byte; cdecl; external SDLLibName;
   796 function  SDL_GetMouseState(x, y: PLongInt): Byte; cdecl; external SDLLibName;
   797 function  SDL_GetKeyName(key: Longword): PChar; cdecl; external SDLLibName;
   797 function  SDL_GetKeyName(key: Longword): PChar; cdecl; external SDLLibName;