hedgewars/SDLh.pas
changeset 3153 adfe8a91658f
parent 2948 3f21a9dc93d0
child 3341 3de60a5986e9
equal deleted inserted replaced
3152:4d6bf54a2973 3153:adfe8a91658f
   681 function  SDL_JoystickGetBall(joy: PSDL_Joystick; ball: LongInt; dx: PInteger; dy: PInteger): Word; cdecl; external SDLLibName;
   681 function  SDL_JoystickGetBall(joy: PSDL_Joystick; ball: LongInt; dx: PInteger; dy: PInteger): Word; cdecl; external SDLLibName;
   682 function  SDL_JoystickGetHat(joy: PSDL_Joystick; hat: LongInt): Byte; cdecl; external SDLLibName;
   682 function  SDL_JoystickGetHat(joy: PSDL_Joystick; hat: LongInt): Byte; cdecl; external SDLLibName;
   683 function  SDL_JoystickGetButton(joy: PSDL_Joystick; button: LongInt): Byte; cdecl; external SDLLibName;
   683 function  SDL_JoystickGetButton(joy: PSDL_Joystick; button: LongInt): Byte; cdecl; external SDLLibName;
   684 procedure SDL_JoystickClose(joy: PSDL_Joystick); cdecl; external SDLLibName;
   684 procedure SDL_JoystickClose(joy: PSDL_Joystick); cdecl; external SDLLibName;
   685 
   685 
       
   686 function SDL_putenv(const text: PChar): LongInt; cdecl; external SDLLibName;
       
   687 function SDL_getenv(const text: PChar): PChar; cdecl; external SDLLibName;
       
   688 
   686 (*  SDL_TTF  *)
   689 (*  SDL_TTF  *)
   687 function  TTF_Init: LongInt; cdecl; external SDL_TTFLibName;
   690 function  TTF_Init: LongInt; cdecl; external SDL_TTFLibName;
   688 procedure TTF_Quit; cdecl; external SDL_TTFLibName;
   691 procedure TTF_Quit; cdecl; external SDL_TTFLibName;
   689 
   692 
   690 function  TTF_SizeUTF8(font: PTTF_Font; const text: PChar; var w, h: LongInt): LongInt; cdecl; external SDL_TTFLibName;
   693 function  TTF_SizeUTF8(font: PTTF_Font; const text: PChar; var w, h: LongInt): LongInt; cdecl; external SDL_TTFLibName;