hedgewars/SDLh.pas
branchios-revival
changeset 11098 0032a00d915b
parent 10973 36b84888934c
child 11151 5c40c65b619d
equal deleted inserted replaced
11097:fd536d99a760 11098:0032a00d915b
    61     SDL_TTFLibName = 'SDL_ttf.dll';
    61     SDL_TTFLibName = 'SDL_ttf.dll';
    62     SDL_MixerLibName = 'SDL_mixer.dll';
    62     SDL_MixerLibName = 'SDL_mixer.dll';
    63     SDL_ImageLibName = 'SDL_image.dll';
    63     SDL_ImageLibName = 'SDL_image.dll';
    64     SDL_NetLibName = 'SDL_net.dll';
    64     SDL_NetLibName = 'SDL_net.dll';
    65 {$ELSE}
    65 {$ELSE}
    66     SDLLibName = 'libSDL';
    66     {$IFDEF SDL2}
    67     SDL_TTFLibName = 'libSDL_ttf';
    67         SDLLibName = 'libSDL2';
    68     SDL_MixerLibName = 'libSDL_mixer';
    68         SDL_TTFLibName = 'libSDL2_ttf';
    69     SDL_ImageLibName = 'libSDL_image';
    69         SDL_MixerLibName = 'libSDL2_mixer';
    70     SDL_NetLibName = 'libSDL_net';
    70         SDL_ImageLibName = 'libSDL2_image';
       
    71         SDL_NetLibName = 'libSDL2_net';
       
    72     {$ELSE}
       
    73         SDLLibName = 'libSDL';
       
    74         SDL_TTFLibName = 'libSDL_ttf';
       
    75         SDL_MixerLibName = 'libSDL_mixer';
       
    76         SDL_ImageLibName = 'libSDL_image';
       
    77         SDL_NetLibName = 'libSDL_net';
       
    78     {$ENDIF}
    71 {$ENDIF}
    79 {$ENDIF}
    72 
    80 
    73 /////////////////////////////////////////////////////////////////
    81 /////////////////////////////////////////////////////////////////
    74 /////////////////////  CONSTANT DEFINITIONS /////////////////////
    82 /////////////////////  CONSTANT DEFINITIONS /////////////////////
    75 /////////////////////////////////////////////////////////////////
    83 /////////////////////////////////////////////////////////////////