equal
deleted
inserted
replaced
264 function SDL_RWFromFile(filename, mode: PChar): PSDL_RWops; cdecl; external SDLLibName; |
264 function SDL_RWFromFile(filename, mode: PChar): PSDL_RWops; cdecl; external SDLLibName; |
265 function SDL_SaveBMP_RW(surface: PSDL_Surface; dst: PSDL_RWops; freedst: LongInt): LongInt; cdecl; external SDLLibName; |
265 function SDL_SaveBMP_RW(surface: PSDL_Surface; dst: PSDL_RWops; freedst: LongInt): LongInt; cdecl; external SDLLibName; |
266 |
266 |
267 {$IFDEF SDL13} |
267 {$IFDEF SDL13} |
268 function SDL_GetKeyboardState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName; |
268 function SDL_GetKeyboardState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName; |
|
269 function SDL_GetMouseState(index: LongInt; x, y: PInteger): Byte; cdecl; external SDLLibName; |
269 {$ELSE} |
270 {$ELSE} |
270 function SDL_GetKeyState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName; |
271 function SDL_GetKeyState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName; |
271 {$ENDIF} |
|
272 function SDL_GetMouseState(x, y: PInteger): Byte; cdecl; external SDLLibName; |
272 function SDL_GetMouseState(x, y: PInteger): Byte; cdecl; external SDLLibName; |
|
273 {$ENDIF} |
273 function SDL_GetKeyName(key: Longword): PChar; cdecl; external SDLLibName; |
274 function SDL_GetKeyName(key: Longword): PChar; cdecl; external SDLLibName; |
274 procedure SDL_WarpMouse(x, y: Word); cdecl; external SDLLibName; |
275 procedure SDL_WarpMouse(x, y: Word); cdecl; external SDLLibName; |
275 |
276 |
276 function SDL_PollEvent(event: PSDL_Event): LongInt; cdecl; external SDLLibName; |
277 function SDL_PollEvent(event: PSDL_Event): LongInt; cdecl; external SDLLibName; |
277 |
278 |