hedgewars/uLandTemplates.pas
changeset 3137 d8b968a543df
parent 2671 7e0f88013fe8
child 3144 f1ba655a6941
equal deleted inserted replaced
3136:326a8cb7d9b7 3137:d8b968a543df
  1452       );
  1452       );
  1453       Template40FPoints: array[0..0] of TPoint =
  1453       Template40FPoints: array[0..0] of TPoint =
  1454       (
  1454       (
  1455        (x: 512; y:    0)
  1455        (x: 512; y:    0)
  1456       );
  1456       );
       
  1457 // Many islands
       
  1458 const Template41Points: array[0..86] of TSDL_Rect =
       
  1459       (
       
  1460        (x:   95; y: 500; w:   1; h:   1),
       
  1461        (x:  100; y: 275; w:  25; h: 100),
       
  1462        (x:  325; y: 275; w:  25; h: 100),
       
  1463        (x:  330; y: 500; w:   1; h:   1),
       
  1464        (x: NTPX; y:   0; w:   1; h:   1),
       
  1465        (x:  725; y: 125; w:   1; h:   1),
       
  1466        (x:  725; y:  25; w:   5; h:  25),
       
  1467        (x:  825; y:  35; w:   5; h:  10),
       
  1468        (x:  825; y: 135; w:   1; h:   1),
       
  1469        (x: NTPX; y:   0; w:   1; h:   1),
       
  1470        (x: 1150; y: 550; w:  25; h:  50),
       
  1471        (x: 1250; y: 300; w:  25; h:  50),
       
  1472        (x: 1350; y: 300; w:  25; h:  50),
       
  1473        (x: 1400; y: 575; w:  25; h:  50),
       
  1474        (x: NTPX; y:   0; w:   1; h:   1),
       
  1475        (x:  525; y:1050; w:  50; h:  50),
       
  1476        (x:  700; y: 800; w: 100; h: 150),
       
  1477        (x:  950; y: 900; w: 100; h: 150),
       
  1478        (x: 1100; y:1100; w:  50; h:  50),
       
  1479        (x: NTPX; y:   0; w:   1; h:   1),
       
  1480        (x:  175; y:1500; w:   1; h:   1),
       
  1481        (x:  210; y:1400; w:   5; h:  25),
       
  1482        (x:  240; y:1400; w:   5; h:  25),
       
  1483        (x:  275; y:1510; w:   1; h:   1),
       
  1484        (x: NTPX; y:   0; w:   1; h:   1),
       
  1485        (x:  450; y:1850; w: 100; h: 100),
       
  1486        (x:  600; y:1750; w: 100; h: 100),
       
  1487        (x:  750; y:1750; w: 100; h: 100),
       
  1488        (x:  950; y:1950; w: 100; h: 100),
       
  1489        (x: NTPX; y:   0; w:   1; h:   1),
       
  1490        (x: 1075; y:1450; w:   1; h:   1),
       
  1491        (x: 1110; y:1300; w:   5; h:  25),
       
  1492        (x: 1140; y:1300; w:   5; h:  25),
       
  1493        (x: 1175; y:1430; w:   1; h:   1),
       
  1494        (x: NTPX; y:   0; w:   1; h:   1),
       
  1495        (x: 1600; y:1250; w:  25; h: 100),
       
  1496        (x: 1700; y:1150; w:  25; h: 100),
       
  1497        (x: 1850; y: 500; w:  50; h: 100),
       
  1498        (x: 1950; y: 550; w:  50; h: 150),
       
  1499        (x: 2250; y:1150; w:  25; h: 100),
       
  1500        (x: 2350; y:1250; w:  25; h: 100),
       
  1501        (x: NTPX; y:   0; w:   1; h:   1),
       
  1502        (x: 1750; y:2047; w:   1; h:   1),
       
  1503        (x: 1900; y:1870; w:  50; h:  50),
       
  1504        (x: 2050; y:1870; w:  50; h:  50),
       
  1505        (x: 2175; y:2047; w:   1; h:   1),
       
  1506        (x: NTPX; y:   0; w:   1; h:   1),
       
  1507        (x: 2500; y:1700; w:   1; h:   1),
       
  1508        (x: 2575; y:1500; w:  10; h:  50),
       
  1509        (x: 2650; y:1500; w:  10; h:  50),
       
  1510        (x: 2700; y:1690; w:   1; h:   1),
       
  1511        (x: NTPX; y:   0; w:   1; h:   1),
       
  1512        (x: 2000; y: 125; w:   1; h:   1),
       
  1513        (x: 2050; y:  50; w:  25; h:  25),
       
  1514        (x: 2100; y:  50; w:  25; h:  25),
       
  1515        (x: 2150; y: 150; w:   1; h:   1),
       
  1516        (x: NTPX; y:   0; w:   1; h:   1),
       
  1517        (x: 2600; y: 250; w:  25; h: 100),
       
  1518        (x: 2750; y: 400; w:  50; h:  50),
       
  1519        (x: 2900; y: 525; w:  50; h:  50),
       
  1520        (x: 3150; y: 550; w:  50; h: 100),
       
  1521        (x: NTPX; y:   0; w:   1; h:   1),
       
  1522        (x: 2800; y:1150; w:   1; h:   1),
       
  1523        (x: 2840; y: 950; w:  25; h:  25),
       
  1524        (x: 2880; y: 950; w:  25; h:  25),
       
  1525        (x: 2900; y:1150; w:   1; h:   1),
       
  1526        (x: NTPX; y:   0; w:   1; h:   1),
       
  1527        (x: 3075; y:2047; w:   1; h:   1),
       
  1528        (x: 3325; y:1700; w:  50; h: 100),
       
  1529        (x: 3475; y:1700; w:  50; h: 100),
       
  1530        (x: 3625; y:2047; w:   1; h:   1),
       
  1531        (x: NTPX; y:   0; w:   1; h:   1),
       
  1532        (x: 3200; y:1450; w:   1; h:   1),
       
  1533        (x: 3240; y:1350; w:  25; h:  25),
       
  1534        (x: 3280; y:1350; w:  25; h:  25),
       
  1535        (x: 3300; y:1450; w:   1; h:   1),
       
  1536        (x: NTPX; y:   0; w:   1; h:   1),
       
  1537        (x: 3500; y:1050; w:  25; h:  50),
       
  1538        (x: 3650; y: 600; w:  50; h: 100),
       
  1539        (x: 3800; y: 600; w:  50; h: 100),
       
  1540        (x: 3900; y:1000; w:  25; h:  50),
       
  1541        (x: NTPX; y:   0; w:   1; h:   1),
       
  1542        (x: 3800; y: 200; w:  25; h:  50),
       
  1543        (x: 3875; y: 100; w:  50; h:  50),
       
  1544        (x: 3925; y:  50; w:  50; h:  25),
       
  1545        (x: 4050; y: 125; w:  25; h:  50),
       
  1546        (x: NTPX; y:   0; w:   1; h:   1)
       
  1547       );
       
  1548       Template41FPoints: array[0..0] of TPoint =
       
  1549       (
       
  1550        (x: 2047; y:    0)
       
  1551       );
  1457 
  1552 
  1458 ////////////////////////////////////////////////////////////////////////
  1553 ////////////////////////////////////////////////////////////////////////
  1459 const EdgeTemplates: array[0..40] of TEdgeTemplate =
  1554 const EdgeTemplates: array[0..41] of TEdgeTemplate =
  1460       (
  1555       (
  1461        (BasePoints: @Template0Points;
  1556        (BasePoints: @Template0Points;
  1462         BasePointsCount: Succ(High(Template0Points));
  1557         BasePointsCount: Succ(High(Template0Points));
  1463         FillPoints: @Template0FPoints;
  1558         FillPoints: @Template0FPoints;
  1464         FillPointsCount: Succ(High(Template0FPoints));
  1559         FillPointsCount: Succ(High(Template0FPoints));
  1906         RandPassesCount: 3;
  2001         RandPassesCount: 3;
  1907         TemplateHeight: 1024; TemplateWidth: 1024;
  2002         TemplateHeight: 1024; TemplateWidth: 1024;
  1908         canMirror: true; canFlip: false; isNegative: false; canInvert: false;
  2003         canMirror: true; canFlip: false; isNegative: false; canInvert: false;
  1909         hasGirders: false;
  2004         hasGirders: false;
  1910         MaxHedgehogs: 8;
  2005         MaxHedgehogs: 8;
       
  2006        ),
       
  2007        (BasePoints: @Template41Points;
       
  2008         BasePointsCount: Succ(High(Template41Points));
       
  2009         FillPoints: @Template40FPoints;
       
  2010         FillPointsCount: Succ(High(Template41FPoints));
       
  2011         BezierizeCount: 3;
       
  2012         RandPassesCount: 3;
       
  2013         TemplateHeight: 2048; TemplateWidth: 4096;
       
  2014         canMirror: true; canFlip: true; isNegative: false; canInvert: false;
       
  2015         hasGirders: true;
       
  2016         MaxHedgehogs: 48;
  1911        )
  2017        )
  1912       );
  2018       );
  1913 const SmallTemplates: array[0..1] of Longword = ( 39, 40 );
  2019 const SmallTemplates: array[0..1] of Longword = ( 39, 40 );
  1914 const MediumTemplates: array[0..17] of Longword =
  2020 const MediumTemplates: array[0..17] of Longword =
  1915       ( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 );
  2021       ( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 );
  1917       (
  2023       (
  1918         18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
  2024         18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
  1919         28, 29, 30, 31, 32, 33, 34, 35, 37, 38
  2025         28, 29, 30, 31, 32, 33, 34, 35, 37, 38
  1920       );
  2026       );
  1921 const CavernTemplates: array[0..4] of Longword = (36, 2, 3, 21, 29);
  2027 const CavernTemplates: array[0..4] of Longword = (36, 2, 3, 21, 29);
  1922 const WackyTemplates: array[0..3] of Longword = (37, 38, 39, 40);
  2028 const WackyTemplates: array[0..4] of Longword = (37, 38, 39, 40, 41);
  1923 
  2029 
  1924 implementation
  2030 implementation
  1925 
  2031 
  1926 end.
  2032 end.