diff -r 2bce91404d49 -r 12730f5e79b9 hedgewars/uConsts.pas --- a/hedgewars/uConsts.pas Sat Jun 13 15:39:26 2009 +0000 +++ b/hedgewars/uConsts.pas Sun Jun 14 13:20:28 2009 +0000 @@ -163,14 +163,25 @@ MAXNAMELEN = 192; +{$IFDEF IPHONEOS} +//gotta rework this for compatibility; is it really needed anyway? + LAND_WIDTH = 1024; + LAND_HEIGHT = 512; + LAND_WIDTH_MASK = $FFFFFC00; + LAND_HEIGHT_MASK = $FFFFFE00; +{$ELSE} LAND_WIDTH = 4096; LAND_HEIGHT = 2048; LAND_WIDTH_MASK = $FFFFF000; LAND_HEIGHT_MASK = $FFFFF800; - +{$ENDIF} + COLOR_LAND = $FFFFFFFF; // white COLOR_INDESTRUCTIBLE = $FF0000FF; // red + GL_BGR = $80E0; // some opengl headers do not have these macros + GL_BGRA = $80E1; + cifRandomize = $00000001; cifTheme = $00000002; cifMap = $00000002; // either theme or map (or map+theme)