hedgewars/uLandTemplates.pas
branchhedgeroid
changeset 7857 2bc61f8841a1
parent 7820 c1b491e03362
parent 7613 ce6ead3327b2
child 7976 e1029baf2483
--- a/hedgewars/uLandTemplates.pas	Sun Oct 28 13:28:23 2012 +0100
+++ b/hedgewars/uLandTemplates.pas	Sun Oct 28 15:12:37 2012 +0100
@@ -24,10 +24,12 @@
 
 const NTPX = Low(SmallInt);
 
-type TPointArray = array[0..64] of TSDL_Rect;
+type TRectArray = array[0..64] of TSDL_Rect;
+     PRectArray = ^TRectArray;
+     TPointArray = array[0..64] of TPoint;
      PPointArray = ^TPointArray;
      TEdgeTemplate = record
-                     BasePoints: PPointArray;
+                     BasePoints: PRectArray;
                      BasePointsCount: Longword;
                      FillPoints: PPointArray;
                      FillPointsCount: Longword;