hedgewars/uConsts.pas
changeset 2163 12730f5e79b9
parent 2153 e41fdfaa8edd
child 2168 5ffb01c3b176
--- 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)