hedgewars/uLandTexture.pas
changeset 1906 644f93d8f148
parent 1859 e071284b118e
child 2152 a2811690da1b
equal deleted inserted replaced
1905:b1ec8db513f2 1906:644f93d8f148
    23 procedure UpdateLandTexture(X, Width, Y, Height: LongInt);
    23 procedure UpdateLandTexture(X, Width, Y, Height: LongInt);
    24 procedure DrawLand(dX, dY: LongInt);
    24 procedure DrawLand(dX, dY: LongInt);
    25 procedure FreeLand;
    25 procedure FreeLand;
    26 
    26 
    27 implementation
    27 implementation
    28 uses uMisc, uLand, uStore, GL, uConsts;
    28 uses uMisc, uLand, uStore, 
       
    29 {$IFDEF IPHONE}
       
    30 	gles11,
       
    31 {$ELSE}
       
    32 	GL,
       
    33 {$ENDIF}
       
    34 	uConsts;
    29 
    35 
    30 const TEXSIZE = 256;
    36 const TEXSIZE = 256;
    31 	LANDTEXARW = LAND_WIDTH div TEXSIZE;
    37 	LANDTEXARW = LAND_WIDTH div TEXSIZE;
    32 	LANDTEXARH = LAND_HEIGHT div TEXSIZE;
    38 	LANDTEXARH = LAND_HEIGHT div TEXSIZE;
    33 
    39