hedgewars/SDLh.pas
branchhedgeroid
changeset 5577 272c82f82cee
parent 5550 50650032c251
parent 5565 1a326ba319c9
child 5725 e27100a0e2d0
equal deleted inserted replaced
5550:50650032c251 5577:272c82f82cee
   868 function  SDL_JoystickGetBall(joy: PSDL_Joystick; ball: LongInt; dx: PInteger; dy: PInteger): Word; cdecl; external SDLLibName;
   868 function  SDL_JoystickGetBall(joy: PSDL_Joystick; ball: LongInt; dx: PInteger; dy: PInteger): Word; cdecl; external SDLLibName;
   869 function  SDL_JoystickGetHat(joy: PSDL_Joystick; hat: LongInt): Byte; cdecl; external SDLLibName;
   869 function  SDL_JoystickGetHat(joy: PSDL_Joystick; hat: LongInt): Byte; cdecl; external SDLLibName;
   870 function  SDL_JoystickGetButton(joy: PSDL_Joystick; button: LongInt): Byte; cdecl; external SDLLibName;
   870 function  SDL_JoystickGetButton(joy: PSDL_Joystick; button: LongInt): Byte; cdecl; external SDLLibName;
   871 procedure SDL_JoystickClose(joy: PSDL_Joystick); cdecl; external SDLLibName;
   871 procedure SDL_JoystickClose(joy: PSDL_Joystick); cdecl; external SDLLibName;
   872 
   872 
       
   873 {$IFDEF WIN32}
   873 function SDL_putenv(const text: PChar): LongInt; cdecl; external SDLLibName;
   874 function SDL_putenv(const text: PChar): LongInt; cdecl; external SDLLibName;
   874 function SDL_getenv(const text: PChar): PChar; cdecl; external SDLLibName;
   875 function SDL_getenv(const text: PChar): PChar; cdecl; external SDLLibName;
       
   876 {$ENDIF}
   875 
   877 
   876 {* Compatibility between SDL-1.2 and SDL-1.3 *}
   878 {* Compatibility between SDL-1.2 and SDL-1.3 *}
   877 procedure SDL_WarpMouse(x, y: Word); {$IFNDEF SDL13}cdecl; external SDLLibName;{$ENDIF}
   879 procedure SDL_WarpMouse(x, y: Word); {$IFNDEF SDL13}cdecl; external SDLLibName;{$ENDIF}
   878 function  SDL_GetKeyState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName {$IFDEF SDL13} name 'SDL_GetKeyboardState'{$ENDIF};
   880 function  SDL_GetKeyState(numkeys: PLongInt): PByteArray; cdecl; external SDLLibName {$IFDEF SDL13} name 'SDL_GetKeyboardState'{$ENDIF};
   879 function  SDL_AllocFormat(format: Longword): PSDL_PixelFormat; {$IFDEF SDL13}cdecl; external SDLLibName;{$ENDIF}
   881 function  SDL_AllocFormat(format: Longword): PSDL_PixelFormat; {$IFDEF SDL13}cdecl; external SDLLibName;{$ENDIF}