hedgewars/SDLh.pas
changeset 7237 1bbe31e0d707
parent 7193 65a022bf6bde
child 7278 000e4543f204
child 7546 b50556f2a0e8
equal deleted inserted replaced
7233:225179f64fd8 7237:1bbe31e0d707
   979 {$IFDEF WIN32}
   979 {$IFDEF WIN32}
   980 function SDL_putenv(const text: PChar): LongInt; cdecl; external SDLLibName;
   980 function SDL_putenv(const text: PChar): LongInt; cdecl; external SDLLibName;
   981 function SDL_getenv(const text: PChar): PChar; cdecl; external SDLLibName;
   981 function SDL_getenv(const text: PChar): PChar; cdecl; external SDLLibName;
   982 {$ENDIF}
   982 {$ENDIF}
   983 
   983 
   984 {$IFDEF ANDROID}
       
   985 function Android_JNI_getDensity(): Single; cdecl; external SDLLibName;
       
   986 {$ENDIF}
       
   987 
   984 
   988 {* Compatibility between SDL-1.2 and SDL-1.3 *}
   985 {* Compatibility between SDL-1.2 and SDL-1.3 *}
   989 procedure SDL_WarpMouse(x, y: Word); {$IFDEF SDL13}inline{$ELSE}cdecl; external SDLLibName{$ENDIF};
   986 procedure SDL_WarpMouse(x, y: Word); {$IFDEF SDL13}inline{$ELSE}cdecl; external SDLLibName{$ENDIF};
   990 function  SDL_GetKeyState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName {$IFDEF SDL13} name 'SDL_GetKeyboardState'{$ENDIF};
   987 function  SDL_GetKeyState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName {$IFDEF SDL13} name 'SDL_GetKeyboardState'{$ENDIF};
   991 function  SDL_AllocFormat(format: LongWord): PSDL_PixelFormat; {$IFDEF SDL13}cdecl; external SDLLibName;{$ENDIF}
   988 function  SDL_AllocFormat(format: LongWord): PSDL_PixelFormat; {$IFDEF SDL13}cdecl; external SDLLibName;{$ENDIF}