hedgewars/uConsts.pas
changeset 2163 12730f5e79b9
parent 2153 e41fdfaa8edd
child 2168 5ffb01c3b176
equal deleted inserted replaced
2162:2bce91404d49 2163:12730f5e79b9
   161 	cMaxAngle     = 2048;
   161 	cMaxAngle     = 2048;
   162 	cPowerDivisor = 1500;
   162 	cPowerDivisor = 1500;
   163 
   163 
   164 	MAXNAMELEN = 192;
   164 	MAXNAMELEN = 192;
   165 
   165 
       
   166 {$IFDEF IPHONEOS}
       
   167 //gotta rework this for compatibility; is it really needed anyway?
       
   168 	LAND_WIDTH = 1024;
       
   169     LAND_HEIGHT = 512;
       
   170     LAND_WIDTH_MASK  = $FFFFFC00;
       
   171     LAND_HEIGHT_MASK = $FFFFFE00;
       
   172 {$ELSE}
   166     LAND_WIDTH = 4096;
   173     LAND_WIDTH = 4096;
   167     LAND_HEIGHT = 2048;
   174     LAND_HEIGHT = 2048;
   168     LAND_WIDTH_MASK  = $FFFFF000;
   175     LAND_WIDTH_MASK  = $FFFFF000;
   169     LAND_HEIGHT_MASK = $FFFFF800;
   176     LAND_HEIGHT_MASK = $FFFFF800;
   170 	
   177 {$ENDIF}
       
   178 
   171 	COLOR_LAND           = $FFFFFFFF;  // white
   179 	COLOR_LAND           = $FFFFFFFF;  // white
   172 	COLOR_INDESTRUCTIBLE = $FF0000FF;  // red
   180 	COLOR_INDESTRUCTIBLE = $FF0000FF;  // red
       
   181 
       
   182     GL_BGR = $80E0; // some opengl headers do not have these macros
       
   183 	GL_BGRA = $80E1;
   173 
   184 
   174 	cifRandomize = $00000001;
   185 	cifRandomize = $00000001;
   175 	cifTheme     = $00000002;
   186 	cifTheme     = $00000002;
   176 	cifMap       = $00000002; // either theme or map (or map+theme)
   187 	cifMap       = $00000002; // either theme or map (or map+theme)
   177 	cifAllInited = cifRandomize or
   188 	cifAllInited = cifRandomize or