hedgewars/uStore.pas
changeset 3169 c8c6ac44f51b
parent 3165 3ec07a7d8456
child 3185 19d84448835f
--- a/hedgewars/uStore.pas	Mon Mar 29 23:47:38 2010 +0000
+++ b/hedgewars/uStore.pas	Tue Mar 30 00:02:40 2010 +0000
@@ -64,7 +64,7 @@
 procedure flipSurface(Surface: PSDL_Surface; Vertical: Boolean);
 //procedure rotateSurface(Surface: PSDL_Surface);
 procedure copyRotatedSurface(src, dest: PSDL_Surface); // this is necessary since width/height are read only in SDL
-procedure copyToXY(src, dest: PSDL_Surface; destX, destY: Integer);
+procedure copyToXY(src, dest: PSDL_Surface; destX, destY: LongInt);
 procedure RenderHealth(var Hedgehog: THedgehog);
 procedure AddProgress;
 procedure FinishProgress;
@@ -83,7 +83,7 @@
 type TGPUVendor = (gvUnknown, gvNVIDIA, gvATI, gvIntel, gvApple);
 
 var HHTexture: PTexture;
-    MaxTextureSize: Integer;
+    MaxTextureSize: LongInt;
     cGPUVendor: TGPUVendor;
 
 procedure Tint(r, g, b, a: Single);
@@ -1304,7 +1304,7 @@
            end;
 end;
 
-procedure copyToXY(src, dest: PSDL_Surface; destX, destY: Integer);
+procedure copyToXY(src, dest: PSDL_Surface; destX, destY: LongInt);
 var srcX, srcY, i, j, maxDest: LongInt;
     srcPixels, destPixels: PLongWordArray;
 begin