equal
deleted
inserted
replaced
966 {$IFDEF WIN32} |
966 {$IFDEF WIN32} |
967 function SDL_putenv(const text: PChar): LongInt; cdecl; external SDLLibName; |
967 function SDL_putenv(const text: PChar): LongInt; cdecl; external SDLLibName; |
968 function SDL_getenv(const text: PChar): PChar; cdecl; external SDLLibName; |
968 function SDL_getenv(const text: PChar): PChar; cdecl; external SDLLibName; |
969 {$ENDIF} |
969 {$ENDIF} |
970 |
970 |
|
971 {$IFDEF ANDROID} |
|
972 function Android_JNI_getDensity(): Single; cdecl; external SDLLibName; |
|
973 {$ENDIF} |
|
974 |
971 {* Compatibility between SDL-1.2 and SDL-1.3 *} |
975 {* Compatibility between SDL-1.2 and SDL-1.3 *} |
972 procedure SDL_WarpMouse(x, y: Word); {$IFDEF SDL13}inline{$ELSE}cdecl; external SDLLibName{$ENDIF}; |
976 procedure SDL_WarpMouse(x, y: Word); {$IFDEF SDL13}inline{$ELSE}cdecl; external SDLLibName{$ENDIF}; |
973 function SDL_GetKeyState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName {$IFDEF SDL13} name 'SDL_GetKeyboardState'{$ENDIF}; |
977 function SDL_GetKeyState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName {$IFDEF SDL13} name 'SDL_GetKeyboardState'{$ENDIF}; |
974 function SDL_AllocFormat(format: LongWord): PSDL_PixelFormat; {$IFDEF SDL13}cdecl; external SDLLibName;{$ENDIF} |
978 function SDL_AllocFormat(format: LongWord): PSDL_PixelFormat; {$IFDEF SDL13}cdecl; external SDLLibName;{$ENDIF} |
975 procedure SDL_FreeFormat(pixelformat: PSDL_PixelFormat); {$IFDEF SDL13}cdecl; external SDLLibName;{$ENDIF} |
979 procedure SDL_FreeFormat(pixelformat: PSDL_PixelFormat); {$IFDEF SDL13}cdecl; external SDLLibName;{$ENDIF} |