hedgewars/uLandTemplates.pas
changeset 3278 39eacae90580
parent 3236 4ab3917d7d44
child 4976 088d40d8aba2
equal deleted inserted replaced
3277:70d4265871ff 3278:39eacae90580
  1547       );
  1547       );
  1548       Template41FPoints: array[0..0] of TPoint =
  1548       Template41FPoints: array[0..0] of TPoint =
  1549       (
  1549       (
  1550        (x: 2047; y:    0)
  1550        (x: 2047; y:    0)
  1551       );
  1551       );
       
  1552 // 2 tiny islands
       
  1553 const Template42Points: array[0..13] of TSDL_Rect =
       
  1554       (
       
  1555        (x:   90; y: 520; w:   1; h:   1),
       
  1556        (x:   90; y:  50; w:  10; h:  50),
       
  1557        (x:  170; y: 200; w:  10; h:  50),
       
  1558        (x:  270; y: 350; w:  10; h:  50),
       
  1559        (x:  350; y: 150; w:  10; h:  50),
       
  1560        (x:  350; y: 520; w:   1; h:   1),
       
  1561        (x: NTPX; y:   0; w:   1; h:   1),
       
  1562        (x: 1170; y: 520; w:   1; h:   1),
       
  1563        (x: 1170; y: 150; w:  10; h:  50),
       
  1564        (x: 1250; y: 350; w:  10; h:  50),
       
  1565        (x: 1350; y: 200; w:  10; h:  50),
       
  1566        (x: 1430; y:  50; w:  10; h:  50),
       
  1567        (x: 1430; y: 520; w:   1; h:   1),
       
  1568        (x: NTPX; y:   0; w:   1; h:   1)
       
  1569       );
       
  1570       Template42FPoints: array[0..0] of TPoint =
       
  1571       (
       
  1572        (x: 512; y:    0)
       
  1573       );
  1552 
  1574 
  1553 ////////////////////////////////////////////////////////////////////////
  1575 ////////////////////////////////////////////////////////////////////////
  1554 const EdgeTemplates: array[0..41] of TEdgeTemplate =
  1576 const EdgeTemplates: array[0..42] of TEdgeTemplate =
  1555       (
  1577       (
  1556        (BasePoints: @Template0Points;
  1578        (BasePoints: @Template0Points;
  1557         BasePointsCount: Succ(High(Template0Points));
  1579         BasePointsCount: Succ(High(Template0Points));
  1558         FillPoints: @Template0FPoints;
  1580         FillPoints: @Template0FPoints;
  1559         FillPointsCount: Succ(High(Template0FPoints));
  1581         FillPointsCount: Succ(High(Template0FPoints));
  2012         RandPassesCount: 5;
  2034         RandPassesCount: 5;
  2013         TemplateHeight: 2048; TemplateWidth: 4096;
  2035         TemplateHeight: 2048; TemplateWidth: 4096;
  2014         canMirror: true; canFlip: true; isNegative: false; canInvert: false;
  2036         canMirror: true; canFlip: true; isNegative: false; canInvert: false;
  2015         hasGirders: true;
  2037         hasGirders: true;
  2016         MaxHedgehogs: 48;
  2038         MaxHedgehogs: 48;
       
  2039        ),
       
  2040        (BasePoints: @Template42Points;
       
  2041         BasePointsCount: Succ(High(Template42Points));
       
  2042         FillPoints: @Template42FPoints;
       
  2043         FillPointsCount: Succ(High(Template42FPoints));
       
  2044         BezierizeCount: 3;
       
  2045         RandPassesCount: 3;
       
  2046         TemplateHeight: 512; TemplateWidth: 1536;
       
  2047         canMirror: true; canFlip: false; isNegative: false; canInvert: false;
       
  2048         hasGirders: false;
       
  2049         MaxHedgehogs: 8;
  2017        )
  2050        )
  2018       );
  2051       );
  2019 const SmallTemplates: array[0..1] of Longword = ( 39, 40 );
  2052 const SmallTemplates: array[0..2] of Longword = ( 39, 40, 42 );
  2020 const MediumTemplates: array[0..17] of Longword =
  2053 const MediumTemplates: array[0..17] of Longword =
  2021       ( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 );
  2054       ( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 );
  2022 const LargeTemplates: array[0..19] of Longword =
  2055 const LargeTemplates: array[0..19] of Longword =
  2023       (
  2056       (
  2024         18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
  2057         18, 19, 20, 21, 22, 23, 24, 25, 26, 27,