hedgewars/uLandTemplates.pas
changeset 6553 91365db8b82c
parent 6552 91adc9ee7b8c
child 6554 a262ef09c7e6
equal deleted inserted replaced
6552:91adc9ee7b8c 6553:91365db8b82c
    20 
    20 
    21 unit uLandTemplates;
    21 unit uLandTemplates;
    22 interface
    22 interface
    23 uses SDLh;
    23 uses SDLh;
    24 
    24 
       
    25 {$IFDEF SDL13}
    25 const NTPX = Low(LongInt);
    26 const NTPX = Low(LongInt);
       
    27 {$ELSE}
       
    28 const NTPX = Low(SmallInt);
       
    29 {$ENDIF}
       
    30 
    26 
    31 
    27 type PPointArray = ^TPointArray;
    32 type PPointArray = ^TPointArray;
    28      TPointArray = array[0..64] of TSDL_Rect;
    33      TPointArray = array[0..64] of TSDL_Rect;
    29      TEdgeTemplate = record
    34      TEdgeTemplate = record
    30                      BasePoints: PPointArray;
    35                      BasePoints: PPointArray;