hedgewars/SDLh.pas
branchqmlfrontend
changeset 11071 3851ce4f2061
parent 10886 99273b7afbff
parent 11046 47a8c19ecb60
child 11403 b894922d58cc
equal deleted inserted replaced
11050:9b7c8c5a94e0 11071:3851ce4f2061
     1 (*
     1 (*
     2  * Hedgewars, a free turn based strategy game
     2  * Hedgewars, a free turn based strategy game
     3  * Copyright (c) 2004-2014 Andrey Korotaev <unC0Rr@gmail.com>
     3  * Copyright (c) 2004-2015 Andrey Korotaev <unC0Rr@gmail.com>
     4  *
     4  *
     5  * This program is free software; you can redistribute it and/or modify
     5  * This program is free software; you can redistribute it and/or modify
     6  * it under the terms of the GNU General Public License as published by
     6  * it under the terms of the GNU General Public License as published by
     7  * the Free Software Foundation; version 2 of the License
     7  * the Free Software Foundation; version 2 of the License
     8  *
     8  *
    49 {$ELSE}
    49 {$ELSE}
    50     {$DEFINE cdecl attribute(cdecl)}
    50     {$DEFINE cdecl attribute(cdecl)}
    51     type PByte = ^Byte;
    51     type PByte = ^Byte;
    52     type PInteger = ^Integer;
    52     type PInteger = ^Integer;
    53     type PLongInt = ^LongInt;
    53     type PLongInt = ^LongInt;
    54 {$ENDIF}
       
    55 
       
    56 {$IFDEF DARWIN}
       
    57     {$IFNDEF HWLIBRARY}
       
    58         {$linklib SDLmain}
       
    59         {$PASCALMAINNAME SDL_main}
       
    60         {$linkframework Cocoa}
       
    61         {$linkframework SDL}
       
    62         {$linkframework SDL_net}
       
    63         {$linkframework SDL_image}
       
    64         {$linkframework SDL_ttf}
       
    65         {$linkframework SDL_mixer}
       
    66         {$linkframework OpenGL}
       
    67     {$ENDIF}
       
    68 {$ENDIF}
    54 {$ENDIF}
    69 
    55 
    70 
    56 
    71 (*  SDL  *)
    57 (*  SDL  *)
    72 const
    58 const