hedgewars/SDLh.pas
branchwebgl
changeset 8833 c13ebed437cb
parent 8096 453917e94e55
parent 8777 cce79a042cfc
child 9127 e350500c4edb
equal deleted inserted replaced
8450:404ddce27b23 8833:c13ebed437cb
    34     {$DEFINE UNIX}
    34     {$DEFINE UNIX}
    35 {$ENDIF}
    35 {$ENDIF}
    36 
    36 
    37 {$IFDEF UNIX}
    37 {$IFDEF UNIX}
    38     {$IFNDEF DARWIN}
    38     {$IFNDEF DARWIN}
    39         {$linklib c}
    39         {necessary for statically linking physfs (divdi3 undefined on 32 bit)}
       
    40         {$IFDEF CPU32}
       
    41             {$linklib stdc++}
       
    42         {$ENDIF}
    40     {$ENDIF}
    43     {$ENDIF}
    41     {$IFDEF HAIKU}
    44     {$IFDEF HAIKU}
    42         {$linklib root}
    45         {$linklib root}
    43     {$ELSE}
    46     {$ELSE}
    44         {$IFNDEF ANDROID}
    47         {$IFNDEF ANDROID}
   313     {* SDL_image *}
   316     {* SDL_image *}
   314     IMG_INIT_JPG = $00000001;
   317     IMG_INIT_JPG = $00000001;
   315     IMG_INIT_PNG = $00000002;
   318     IMG_INIT_PNG = $00000002;
   316     IMG_INIT_TIF = $00000004;
   319     IMG_INIT_TIF = $00000004;
   317 
   320 
       
   321     {* SDL_keysym *}
       
   322     SDLK_BACKSPACE = 8;
       
   323     SDLK_RETURN    = 13;
       
   324     SDLK_ESCAPE    = 27;
       
   325     SDLK_q         = 113;
       
   326     SDLK_w         = 119;
       
   327     SDLK_DELETE    = 127;
       
   328     SDLK_UP        = 273;
       
   329     SDLK_DOWN      = 274;
       
   330     SDLK_RIGHT     = 275;
       
   331     SDLK_LEFT      = 276;
       
   332     SDLK_HOME      = 278;
       
   333     SDLK_END       = 279;
       
   334     SDLK_PAGEUP    = 280;
       
   335     SDLK_PAGEDOWN  = 281;
       
   336 
   318 
   337 
   319 /////////////////////////////////////////////////////////////////
   338 /////////////////////////////////////////////////////////////////
   320 ///////////////////////  TYPE DEFINITIONS ///////////////////////
   339 ///////////////////////  TYPE DEFINITIONS ///////////////////////
   321 /////////////////////////////////////////////////////////////////
   340 /////////////////////////////////////////////////////////////////
   322 
   341