hedgewars/SDLh.pas
branchwebgl
changeset 9236 ddd675825672
parent 9127 e350500c4edb
parent 9224 bce8cf41d666
child 9521 8054d9d775fd
equal deleted inserted replaced
9201:bcf2f7798ebb 9236:ddd675825672
    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 /////////////////////////////////////////////////////////////////