hedgewars/uLandTemplates.pas
changeset 10813 ba1a607a0c9a
parent 10208 f04fdb35fc33
child 11046 47a8c19ecb60
equal deleted inserted replaced
10812:38dc8445d7a7 10813:ba1a607a0c9a
  1803        (x:   1; y:   1; w:   0; h:   0),
  1803        (x:   1; y:   1; w:   0; h:   0),
  1804        (x:   1; y:2047; w:   0; h:   0),
  1804        (x:   1; y:2047; w:   0; h:   0),
  1805        (x:1005; y: 805; w:   0; h:   0)
  1805        (x:1005; y: 805; w:   0; h:   0)
  1806       );
  1806       );
  1807 
  1807 
       
  1808       
       
  1809 const Template46Points: array[0..19] of TSDL_Rect =
       
  1810       (
       
  1811        (x:  800; y: 1424; w:    1; h:    1),
       
  1812        (x:  800; y: 1224; w:    1; h:    1),
       
  1813        (x: 2200; y: 1224; w:    1; h:    1),
       
  1814        (x: 2200; y: 1424; w:    1; h:    1),
       
  1815        (x: NTPX; y:    0; w:    1; h:    1),
       
  1816        (x:  800; y: 1024; w:    1; h:    1),
       
  1817        (x:  800; y:  844; w:    1; h:    1),
       
  1818        (x: 2200; y:  844; w:    1; h:    1),
       
  1819        (x: 2200; y: 1024; w:    1; h:    1),
       
  1820        (x: NTPX; y:    0; w:    1; h:    1),
       
  1821        (x:  800; y:  664; w:    1; h:    1),
       
  1822        (x:  800; y:  484; w:    1; h:    1),
       
  1823        (x: 2200; y:  484; w:    1; h:    1),
       
  1824        (x: 2200; y:  664; w:    1; h:    1),
       
  1825        (x: NTPX; y:    0; w:    1; h:    1),
       
  1826        (x:  800; y:  304; w:    1; h:    1),
       
  1827        (x:  800; y:  104; w:    1; h:    1),
       
  1828        (x: 2200; y:  104; w:    1; h:    1),
       
  1829        (x: 2200; y:  304; w:    1; h:    1),
       
  1830        (x: NTPX; y:    0; w:    1; h:    1)
       
  1831 
       
  1832       );
       
  1833       Template46FPoints: array[0..0] of TPoint =
       
  1834       (
       
  1835        (x: 1023; y:    0)
       
  1836       );
       
  1837       
  1808 ////////////////////////////////////////////////////////////////////////
  1838 ////////////////////////////////////////////////////////////////////////
  1809 var EdgeTemplates: array[0..45] of TEdgeTemplate =
  1839 var EdgeTemplates: array[0..46] of TEdgeTemplate =
  1810       (
  1840       (
  1811        (BasePoints: PPointArray(@Template0Points);
  1841        (BasePoints: PPointArray(@Template0Points);
  1812         BasePointsCount: Succ(High(Template0Points));
  1842         BasePointsCount: Succ(High(Template0Points));
  1813         FillPoints: PPointArray(@Template0FPoints);
  1843         FillPoints: PPointArray(@Template0FPoints);
  1814         FillPointsCount: Succ(High(Template0FPoints));
  1844         FillPointsCount: Succ(High(Template0FPoints));
  2311         RandPassesCount: 7;
  2341         RandPassesCount: 7;
  2312         TemplateHeight: 2048; TemplateWidth: 4096;
  2342         TemplateHeight: 2048; TemplateWidth: 4096;
  2313         canMirror: false; canFlip: false; isNegative: true; canInvert: false;
  2343         canMirror: false; canFlip: false; isNegative: true; canInvert: false;
  2314         hasGirders: false;
  2344         hasGirders: false;
  2315         MaxHedgeHogs: 48;
  2345         MaxHedgeHogs: 48;
       
  2346        ),
       
  2347        (BasePoints: PPointArray(@Template46Points);
       
  2348         BasePointsCount: Succ(High(Template46Points));
       
  2349         FillPoints: PPointArray(@Template46FPoints);
       
  2350         FillPointsCount: Succ(High(Template46FPoints));
       
  2351         BezierizeCount: 2;
       
  2352         RandPassesCount: 8;
       
  2353         TemplateHeight: 1424; TemplateWidth: 3072;
       
  2354         canMirror: true; canFlip: false; isNegative: false; canInvert: false;
       
  2355         hasGirders: true;
       
  2356         MaxHedgeHogs: 18;
  2316        )
  2357        )
  2317       );
  2358       );
  2318 const SmallTemplates: array[0..2] of Longword = ( 39, 40, 42 );
  2359 const SmallTemplates: array[0..2] of Longword = ( 39, 40, 42 );
  2319 const MediumTemplates: array[0..17] of Longword =
  2360 const MediumTemplates: array[0..18] of Longword =
  2320       ( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 );
  2361       ( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 46 );
  2321 const LargeTemplates: array[0..20] of Longword =
  2362 const LargeTemplates: array[0..20] of Longword =
  2322       (
  2363       (
  2323         18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
  2364         18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
  2324         28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 43
  2365         28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 43
  2325       );
  2366       );