hedgewars/uConsts.pas
changeset 2251 bf0b59d3536a
parent 2250 70f344c911ea
child 2258 3dd028604cfd
equal deleted inserted replaced
2250:70f344c911ea 2251:bf0b59d3536a
   175       4096 -> $FFFFF000
   175       4096 -> $FFFFF000
   176       2048 -> $FFFFF800
   176       2048 -> $FFFFF800
   177       1024 -> $FFFFFC00
   177       1024 -> $FFFFFC00
   178        512 -> $FFFFFE00  *}
   178        512 -> $FFFFFE00  *}
   179 
   179 
   180 {$IFDEF IPHONEOS or LOWRES}
   180 {$IFDEF IPHONEOS}
       
   181     LAND_WIDTH  = 2048;
       
   182     LAND_HEIGHT = 1024;
       
   183     LAND_WIDTH_MASK  = $FFFFF800;
       
   184     LAND_HEIGHT_MASK = $FFFFFC00;
       
   185 {$ELSE}
       
   186 {$IFDEF LOWRES}
   181     LAND_WIDTH  = 2048;
   187     LAND_WIDTH  = 2048;
   182     LAND_HEIGHT = 1024;
   188     LAND_HEIGHT = 1024;
   183     LAND_WIDTH_MASK  = $FFFFF800;
   189     LAND_WIDTH_MASK  = $FFFFF800;
   184     LAND_HEIGHT_MASK = $FFFFFC00;
   190     LAND_HEIGHT_MASK = $FFFFFC00;
   185 {$ELSE}
   191 {$ELSE}
   186     LAND_WIDTH  = 4096;
   192     LAND_WIDTH  = 4096;
   187     LAND_HEIGHT = 2048;
   193     LAND_HEIGHT = 2048;
   188     LAND_WIDTH_MASK  = $FFFFF000;
   194     LAND_WIDTH_MASK  = $FFFFF000;
   189     LAND_HEIGHT_MASK = $FFFFF800;
   195     LAND_HEIGHT_MASK = $FFFFF800;
       
   196 {$ENDIF}
   190 {$ENDIF}
   197 {$ENDIF}
   191 
   198 
   192     COLOR_LAND           = $FFFF;  // white
   199     COLOR_LAND           = $FFFF;  // white
   193     COLOR_INDESTRUCTIBLE = $88FF;  // red
   200     COLOR_INDESTRUCTIBLE = $88FF;  // red
   194 
   201