hedgewars/uLandTemplates.pas
changeset 7753 dda33caa609d
parent 7591 d9ff60e0a390
child 7820 c1b491e03362
equal deleted inserted replaced
7752:65bacd3ba69e 7753:dda33caa609d
  1752       Template43FPoints: array[0..0] of TPoint =
  1752       Template43FPoints: array[0..0] of TPoint =
  1753       (
  1753       (
  1754        (X: 4095; Y:    0)
  1754        (X: 4095; Y:    0)
  1755       );
  1755       );
  1756 
  1756 
       
  1757 // 3 large caverns
       
  1758 const Template44Points: array[0..14] of TSDL_Rect =
       
  1759       (
       
  1760        (x:    0; y: 100; w:   1; h:  50),
       
  1761        (x: 4096; y: 100; w:   1; h:  50),
       
  1762        (x: 4096; y: 400; w:   1; h:  50),
       
  1763        (x:    0; y: 360; w:   1; h:  50),
       
  1764        (x: NTPX; y:   0; w:   1; h:   1),
       
  1765        (x:    0; y: 750; w:   1; h:  50),
       
  1766        (x: 4096; y: 750; w:   1; h:  50),
       
  1767        (x: 4096; y:1100; w:   1; h:  50),
       
  1768        (x:    0; y:1100; w:   1; h:  50),
       
  1769        (x: NTPX; y:   0; w:   1; h:   1),
       
  1770        (x:    0; y:1300; w:   1; h: 250),
       
  1771        (x: 4096; y:1300; w:   1; h: 250),
       
  1772        (x: 4096; y:1800; w:   1; h: 200),
       
  1773        (x:    0; y:1800; w:   1; h: 200),
       
  1774        (x: NTPX; y:   0; w:   1; h:   1)
       
  1775       );
       
  1776       Template44FPoints: array[0..5] of TSDL_Rect =
       
  1777       (
       
  1778        (X:   1; Y:  90; w:   0; h:   0),
       
  1779        (X:   1; Y: 500; w:   0; h:   0),
       
  1780        (X:4096; Y: 500; w:   0; h:   0),
       
  1781        (X:   1; Y:1200; w:   0; h:   0),
       
  1782        (X:4096; Y:1200; w:   0; h:   0),
       
  1783        (X:   1; Y:2010; w:   0; h:   0)
       
  1784       );
       
  1785 
       
  1786 // large caverns with an island
       
  1787 const Template45Points: array[0..11] of TSDL_Rect =
       
  1788       (
       
  1789        (x:  500; y: 100; w:   1; h: 300),
       
  1790        (x: 3700; y: 100; w:   1; h: 300),
       
  1791        (x: 3700; y: 900; w: 200; h: 300),
       
  1792        (x: 3700; y:1700; w:   1; h: 250),
       
  1793        (x:  500; y:1700; w:   1; h: 250),
       
  1794        (x:  300; y: 900; w: 200; h: 250),
       
  1795        (x: NTPX; y:   0; w:   1; h:   1),
       
  1796        (x: 1000; y: 800; w:   1; h:   1),
       
  1797        (x: 2700; y: 800; w: 600; h: 100),
       
  1798        (x: 2700; y:1200; w: 600; h: 200),
       
  1799        (x: 1000; y:1200; w: 200; h: 200),
       
  1800        (x: NTPX; y:   0; w:   1; h:   1)
       
  1801       );
       
  1802       Template45FPoints: array[0..2] of TSDL_Rect =
       
  1803       (
       
  1804        (X:   1; Y:   1; w:   0; h:   0),
       
  1805        (X:   1; Y:2047; w:   0; h:   0),
       
  1806        (X:1005; Y: 805; w:   0; h:   0)
       
  1807       );
       
  1808 
  1757 ////////////////////////////////////////////////////////////////////////
  1809 ////////////////////////////////////////////////////////////////////////
  1758 var EdgeTemplates: array[0..43] of TEdgeTemplate =
  1810 var EdgeTemplates: array[0..45] of TEdgeTemplate =
  1759       (
  1811       (
  1760        (BasePoints: @Template0Points;
  1812        (BasePoints: @Template0Points;
  1761         BasePointsCount: Succ(High(Template0Points));
  1813         BasePointsCount: Succ(High(Template0Points));
  1762         FillPoints: @Template0FPoints;
  1814         FillPoints: @Template0FPoints;
  1763         FillPointsCount: Succ(High(Template0FPoints));
  1815         FillPointsCount: Succ(High(Template0FPoints));
  2238         RandPassesCount: 9;
  2290         RandPassesCount: 9;
  2239         TemplateHeight: 4096; TemplateWidth: 4096;
  2291         TemplateHeight: 4096; TemplateWidth: 4096;
  2240         canMirror: true; canFlip: true; isNegative: false; canInvert: false;
  2292         canMirror: true; canFlip: true; isNegative: false; canInvert: false;
  2241         hasGirders: true;
  2293         hasGirders: true;
  2242         MaxHedgeHogs: 48;
  2294         MaxHedgeHogs: 48;
       
  2295        ),
       
  2296        (BasePoints: @Template44Points;
       
  2297         BasePointsCount: Succ(High(Template44Points));
       
  2298         FillPoints: @Template44FPoints;
       
  2299         FillPointsCount: Succ(High(Template44FPoints));
       
  2300         BezierizeCount: 5;
       
  2301         RandPassesCount: 3;
       
  2302         TemplateHeight: 2048; TemplateWidth: 4096;
       
  2303         canMirror: false; canFlip: false; isNegative: true; canInvert: false;
       
  2304         hasGirders: false;
       
  2305         MaxHedgeHogs: 48;
       
  2306        ),
       
  2307        (BasePoints: @Template45Points;
       
  2308         BasePointsCount: Succ(High(Template45Points));
       
  2309         FillPoints: @Template45FPoints;
       
  2310         FillPointsCount: Succ(High(Template45FPoints));
       
  2311         BezierizeCount: 5;
       
  2312         RandPassesCount: 7;
       
  2313         TemplateHeight: 2048; TemplateWidth: 4096;
       
  2314         canMirror: false; canFlip: false; isNegative: true; canInvert: false;
       
  2315         hasGirders: false;
       
  2316         MaxHedgeHogs: 48;
  2243        )
  2317        )
  2244       );
  2318       );
  2245 const SmallTemplates: array[0..2] of Longword = ( 39, 40, 42 );
  2319 const SmallTemplates: array[0..2] of Longword = ( 39, 40, 42 );
  2246 const MediumTemplates: array[0..17] of Longword =
  2320 const MediumTemplates: array[0..17] of Longword =
  2247       ( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 );
  2321       ( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 );
  2248 const LargeTemplates: array[0..20] of Longword =
  2322 const LargeTemplates: array[0..20] of Longword =
  2249       (
  2323       (
  2250         18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
  2324         18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
  2251         28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 43
  2325         28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 43
  2252       );
  2326       );
  2253 const CavernTemplates: array[0..4] of Longword = (36, 2, 3, 21, 29);
  2327 const CavernTemplates: array[0..5] of Longword = (36, 2, 3, 21, 29, 45);
  2254 //const WackyTemplates: array[0..4] of Longword = (37, 38, 39, 40, 41);
  2328 //const WackyTemplates: array[0..4] of Longword = (37, 38, 39, 40, 41);
  2255 const WackyTemplates: array[0..3] of Longword = (37, 38, 41, 43);
  2329 const WackyTemplates: array[0..4] of Longword = (37, 38, 41, 43, 44);
  2256 
  2330 
  2257 implementation
  2331 implementation
  2258 
  2332 
  2259 end.
  2333 end.