hedgewars/SDLh.pas
changeset 9224 bce8cf41d666
parent 9115 36561f3c5345
parent 8800 5e837e6d8f94
child 9236 ddd675825672
child 9311 5baf10a52f43
equal deleted inserted replaced
9223:71fc5893071c 9224:bce8cf41d666
    52     type PInteger = ^Integer;
    52     type PInteger = ^Integer;
    53     type PLongInt = ^LongInt;
    53     type PLongInt = ^LongInt;
    54 {$ENDIF}
    54 {$ENDIF}
    55 
    55 
    56 {$IFDEF DARWIN}
    56 {$IFDEF DARWIN}
    57     {$IFNDEF IPHONEOS}
    57     {$IFNDEF HWLIBRARY}
       
    58         {$linklib SDLmain}
    58         {$PASCALMAINNAME SDL_main}
    59         {$PASCALMAINNAME SDL_main}
    59         {$linkframework Cocoa}
    60         {$linkframework Cocoa}
    60         {$linkframework SDL}
    61         {$linkframework SDL}
    61         {$linkframework SDL_net}
    62         {$linkframework SDL_net}
    62         {$linkframework SDL_image}
    63         {$linkframework SDL_image}
    74     SDL_TTFLibName = 'SDL_ttf.dll';
    75     SDL_TTFLibName = 'SDL_ttf.dll';
    75     SDL_MixerLibName = 'SDL_mixer.dll';
    76     SDL_MixerLibName = 'SDL_mixer.dll';
    76     SDL_ImageLibName = 'SDL_image.dll';
    77     SDL_ImageLibName = 'SDL_image.dll';
    77     SDL_NetLibName = 'SDL_net.dll';
    78     SDL_NetLibName = 'SDL_net.dll';
    78 {$ELSE}
    79 {$ELSE}
    79     {$IFDEF DARWIN}
    80     SDLLibName = 'libSDL';
    80     SDLLibName = 'SDL';
    81     SDL_TTFLibName = 'libSDL_ttf';
    81     SDL_TTFLibName = 'SDL_ttf';
    82     SDL_MixerLibName = 'libSDL_mixer';
    82     SDL_MixerLibName = 'SDL_mixer';
    83     SDL_ImageLibName = 'libSDL_image';
    83     SDL_ImageLibName = 'SDL_image';
    84     SDL_NetLibName = 'libSDL_net';
    84     SDL_NetLibName = 'SDL_net';
       
    85     {$ELSE}
       
    86     SDLLibName = 'libSDL.so';
       
    87     SDL_TTFLibName = 'libSDL_ttf.so';
       
    88     SDL_MixerLibName = 'libSDL_mixer.so';
       
    89     SDL_ImageLibName = 'libSDL_image.so';
       
    90     SDL_NetLibName = 'libSDL_net.so';
       
    91     {$ENDIF}
       
    92 {$ENDIF}
    85 {$ENDIF}
    93 
    86 
    94 /////////////////////////////////////////////////////////////////
    87 /////////////////////////////////////////////////////////////////
    95 /////////////////////  CONSTANT DEFINITIONS /////////////////////
    88 /////////////////////  CONSTANT DEFINITIONS /////////////////////
    96 /////////////////////////////////////////////////////////////////
    89 /////////////////////////////////////////////////////////////////