equal
deleted
inserted
replaced
49 {$linklib SDLmain} |
49 {$linklib SDLmain} |
50 {$linklib gcc} |
50 {$linklib gcc} |
51 {$ENDIF} |
51 {$ENDIF} |
52 {$ENDIF} |
52 {$ENDIF} |
53 |
53 |
54 (* SDL *) |
54 (* SDL *) |
55 const {$IFDEF WIN32} |
55 const {$IFDEF WIN32} |
56 SDLLibName = 'SDL.dll'; |
56 SDLLibName = 'SDL.dll'; |
57 {$ENDIF} |
57 {$ENDIF} |
58 {$IFDEF UNIX} |
58 {$IFDEF UNIX} |
59 {$IFDEF DARWIN} |
59 {$IFDEF DARWIN} |
313 function TTF_RenderUTF8_Shaded(font: PTTF_Font; const text: PChar; fg, bg: Longword): PSDL_Surface; cdecl; external SDL_TTFLibName; |
313 function TTF_RenderUTF8_Shaded(font: PTTF_Font; const text: PChar; fg, bg: Longword): PSDL_Surface; cdecl; external SDL_TTFLibName; |
314 |
314 |
315 function TTF_OpenFont(const filename: PChar; size: LongInt): PTTF_Font; cdecl; external SDL_TTFLibName; |
315 function TTF_OpenFont(const filename: PChar; size: LongInt): PTTF_Font; cdecl; external SDL_TTFLibName; |
316 procedure TTF_SetFontStyle(font: PTTF_Font; style: LongInt); cdecl; external SDL_TTFLibName; |
316 procedure TTF_SetFontStyle(font: PTTF_Font; style: LongInt); cdecl; external SDL_TTFLibName; |
317 |
317 |
318 (* SDL_mixer *) |
318 (* SDL_mixer *) |
319 |
319 |
320 const {$IFDEF WIN32} |
320 const {$IFDEF WIN32} |
321 SDL_MixerLibName = 'SDL_mixer.dll'; |
321 SDL_MixerLibName = 'SDL_mixer.dll'; |
322 {$ENDIF} |
322 {$ENDIF} |
323 {$IFDEF UNIX} |
323 {$IFDEF UNIX} |
378 function Mix_PausedMusic(music: PMixMusic): LongInt; cdecl; external SDL_MixerLibName; |
378 function Mix_PausedMusic(music: PMixMusic): LongInt; cdecl; external SDL_MixerLibName; |
379 function Mix_PauseMusic(music: PMixMusic): LongInt; cdecl; external SDL_MixerLibName; |
379 function Mix_PauseMusic(music: PMixMusic): LongInt; cdecl; external SDL_MixerLibName; |
380 function Mix_ResumeMusic(music: PMixMusic): LongInt; cdecl; external SDL_MixerLibName; |
380 function Mix_ResumeMusic(music: PMixMusic): LongInt; cdecl; external SDL_MixerLibName; |
381 function Mix_HaltChannel(channel: LongInt): LongInt; cdecl; external SDL_MixerLibName; |
381 function Mix_HaltChannel(channel: LongInt): LongInt; cdecl; external SDL_MixerLibName; |
382 |
382 |
383 (* SDL_image *) |
383 (* SDL_image *) |
384 |
384 |
385 const {$IFDEF WIN32} |
385 const {$IFDEF WIN32} |
386 SDL_ImageLibName = 'SDL_image.dll'; |
386 SDL_ImageLibName = 'SDL_image.dll'; |
387 {$ENDIF} |
387 {$ENDIF} |
388 {$IFDEF UNIX} |
388 {$IFDEF UNIX} |
393 {$ENDIF} |
393 {$ENDIF} |
394 {$ENDIF} |
394 {$ENDIF} |
395 |
395 |
396 function IMG_Load(const _file: PChar): PSDL_Surface; cdecl; external SDL_ImageLibName; |
396 function IMG_Load(const _file: PChar): PSDL_Surface; cdecl; external SDL_ImageLibName; |
397 |
397 |
398 (* SDL_net *) |
398 (* SDL_net *) |
399 |
399 |
400 const {$IFDEF WIN32} |
400 const {$IFDEF WIN32} |
401 SDL_NetLibName = 'SDL_net.dll'; |
401 SDL_NetLibName = 'SDL_net.dll'; |
402 {$ENDIF} |
402 {$ENDIF} |
403 {$IFDEF UNIX} |
403 {$IFDEF UNIX} |