hedgewars/SDLh.pas
changeset 3701 8c449776ebe6
parent 3697 d5b30d6373fc
child 3748 daea2650a5aa
equal deleted inserted replaced
3699:e5e2cbc90891 3701:8c449776ebe6
   716 
   716 
   717 function  SDL_SelectMouse(index: LongInt): LongInt; cdecl; external SDLLibName;
   717 function  SDL_SelectMouse(index: LongInt): LongInt; cdecl; external SDLLibName;
   718 function  SDL_GetRelativeMouseState(x, y: PLongInt): Byte; cdecl; external SDLLibName;
   718 function  SDL_GetRelativeMouseState(x, y: PLongInt): Byte; cdecl; external SDLLibName;
   719 function  SDL_GetNumMice: LongInt; cdecl; external SDLLibName;
   719 function  SDL_GetNumMice: LongInt; cdecl; external SDLLibName;
   720 function  SDL_PixelFormatEnumToMasks(format: TSDL_ArrayByteOrder; bpp: PLongInt; Rmask, Gmask, Bmask, Amask: PLongInt): boolean; cdecl; external SDLLibName;
   720 function  SDL_PixelFormatEnumToMasks(format: TSDL_ArrayByteOrder; bpp: PLongInt; Rmask, Gmask, Bmask, Amask: PLongInt): boolean; cdecl; external SDLLibName;
       
   721 function  SDL_RenderReadPixels(rect: PSDL_Rect; format: LongInt; pixels: pointer; pitch: LongInt): LongInt; cdecl; external SDLLibName;
   721 {$ENDIF}
   722 {$ENDIF}
   722 
   723 
   723 function  SDL_GetKeyState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName {$IFDEF SDL13} name 'SDL_GetKeyboardState'{$ENDIF};
   724 function  SDL_GetKeyState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName {$IFDEF SDL13} name 'SDL_GetKeyboardState'{$ENDIF};
   724 function  SDL_GetMouseState(x, y: PLongInt): Byte; cdecl; external SDLLibName;
   725 function  SDL_GetMouseState(x, y: PLongInt): Byte; cdecl; external SDLLibName;
   725 function  SDL_GetKeyName(key: Longword): PChar; cdecl; external SDLLibName;
   726 function  SDL_GetKeyName(key: Longword): PChar; cdecl; external SDLLibName;