hedgewars/SDLh.pas
changeset 5565 1a326ba319c9
parent 5505 a55aab592950
child 5577 272c82f82cee
child 5660 1647244b3ffe
equal deleted inserted replaced
5564:4f42009237df 5565:1a326ba319c9
   831 function  SDL_JoystickGetBall(joy: PSDL_Joystick; ball: LongInt; dx: PInteger; dy: PInteger): Word; cdecl; external SDLLibName;
   831 function  SDL_JoystickGetBall(joy: PSDL_Joystick; ball: LongInt; dx: PInteger; dy: PInteger): Word; cdecl; external SDLLibName;
   832 function  SDL_JoystickGetHat(joy: PSDL_Joystick; hat: LongInt): Byte; cdecl; external SDLLibName;
   832 function  SDL_JoystickGetHat(joy: PSDL_Joystick; hat: LongInt): Byte; cdecl; external SDLLibName;
   833 function  SDL_JoystickGetButton(joy: PSDL_Joystick; button: LongInt): Byte; cdecl; external SDLLibName;
   833 function  SDL_JoystickGetButton(joy: PSDL_Joystick; button: LongInt): Byte; cdecl; external SDLLibName;
   834 procedure SDL_JoystickClose(joy: PSDL_Joystick); cdecl; external SDLLibName;
   834 procedure SDL_JoystickClose(joy: PSDL_Joystick); cdecl; external SDLLibName;
   835 
   835 
       
   836 {$IFDEF WIN32}
   836 function SDL_putenv(const text: PChar): LongInt; cdecl; external SDLLibName;
   837 function SDL_putenv(const text: PChar): LongInt; cdecl; external SDLLibName;
   837 function SDL_getenv(const text: PChar): PChar; cdecl; external SDLLibName;
   838 function SDL_getenv(const text: PChar): PChar; cdecl; external SDLLibName;
       
   839 {$ENDIF}
   838 
   840 
   839 {* Compatibility between SDL-1.2 and SDL-1.3 *}
   841 {* Compatibility between SDL-1.2 and SDL-1.3 *}
   840 procedure SDL_WarpMouse(x, y: Word); {$IFNDEF SDL13}cdecl; external SDLLibName;{$ENDIF}
   842 procedure SDL_WarpMouse(x, y: Word); {$IFNDEF SDL13}cdecl; external SDLLibName;{$ENDIF}
   841 function  SDL_GetKeyState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName {$IFDEF SDL13} name 'SDL_GetKeyboardState'{$ENDIF};
   843 function  SDL_GetKeyState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName {$IFDEF SDL13} name 'SDL_GetKeyboardState'{$ENDIF};
   842 function  SDL_AllocFormat(format: Longword): PSDL_PixelFormat; {$IFDEF SDL13}cdecl; external SDLLibName;{$ENDIF}
   844 function  SDL_AllocFormat(format: Longword): PSDL_PixelFormat; {$IFDEF SDL13}cdecl; external SDLLibName;{$ENDIF}