hedgewars/uLandTemplates.pas
changeset 1774 3627ba6099ca
parent 1773 bc6ad6136675
child 1775 c7dc2f191347
equal deleted inserted replaced
1773:bc6ad6136675 1774:3627ba6099ca
    40 /////////////////// MIRRORED FOUR TIMES //////////////////////////////////////
    40 /////////////////// MIRRORED FOUR TIMES //////////////////////////////////////
    41 //////////////////////////////////////////////////////////////////////////////
    41 //////////////////////////////////////////////////////////////////////////////
    42 // Hi unC0Rr.  Yeah, I know this is kind of lame.  Real templates should probably
    42 // Hi unC0Rr.  Yeah, I know this is kind of lame.  Real templates should probably
    43 // be made from scratch for taller/wider area.  But hey, for testing.
    43 // be made from scratch for taller/wider area.  But hey, for testing.
    44 // The first 18 are in all 4 quadrants, the last 18 are in only the bottom 2
    44 // The first 18 are in all 4 quadrants, the last 18 are in only the bottom 2
    45 const Template0Points: array[0..37] of TSDL_Rect =
    45 const Template0Points: array[0..18] of TSDL_Rect =
    46       (
    46       (
    47        (x:  410; y: 1024; w:    1; h:    1),
    47        (x:  324; y: 1656; w:  196; h:  204),
    48        (x:  160; y:  760; w:  130; h:  170),
    48        (x:  224; y: 1496; w:  404; h:   60),
    49        (x:  342; y:  706; w:  316; h:  150),
    49        (x:  240; y: 1168; w:  464; h:  152),
    50        (x:  238; y:  386; w:  270; h:  180),
    50        (x:  876; y: 1136; w:  168; h:  348),
    51        (x:  246; y:  176; w:  242; h:  156),
    51        (x: 1204; y:  956; w:  148; h:  700),
    52        (x:  552; y:  128; w:  610; h:  300),
    52        (x: 1516; y:  952; w:  192; h:  664),
    53        (x:  750; y:  468; w:  352; h:  324),
    53        (x: 1808; y:  960; w:  328; h:  496),
    54        (x:  650; y: 1024; w:  500; h:    1),
    54        (x: 2292; y:  992; w:  184; h:  492),
    55        (x: 1250; y: 1100; w:    1; h:    1),
    55        (x: 2664; y: 1116; w:  196; h:  340),
    56        (x: 1490; y: 1024; w:    1; h:    1),
    56        (x: 3004; y: 1008; w:  176; h:  480),
    57        (x: 1452; y:  904; w:   74; h:   12),
    57        (x: 3260; y: 1268; w:  120; h:  348),
    58        (x: 1248; y:  575; w:   68; h:  425),
    58        (x: 3476; y: 1360; w:  208; h:  448),
    59        (x: 1426; y:  592; w:  140; h:  142),
    59        (x: 3268; y: 1856; w:  192; h:   96),
    60        (x: 1310; y:  192; w:  150; h:  350),
    60        (x: 2876; y: 1564; w:  204; h:  380),
    61        (x: 1588; y:  194; w:  148; h:  242),
    61        (x: 2240; y: 1648; w:  344; h:  324),
    62        (x: 1618; y:  472; w:  276; h:  314),
    62        (x: 1584; y: 1696; w:  440; h:  300),
    63        (x: 1710; y:  850; w:  130; h:   86),
    63        (x:  892; y: 1752; w:  324; h:  184),
    64        (x: 1734; y: 1024; w:    1; h:    1),
    64        (x:  576; y: 1876; w:   16; h:   28),
    65        (x: NTPX; y:    0; w:    1; h:    1),
       
    66        (x: 2458; y: 1024; w:    1; h:    1), // X + 2048
       
    67        (x: 2208; y:  760; w:  130; h:  170),
       
    68        (x: 2390; y:  706; w:  316; h:  150),
       
    69        (x: 2286; y:  386; w:  270; h:  180),
       
    70        (x: 2294; y:  176; w:  242; h:  156),
       
    71        (x: 2600; y:  128; w:  610; h:  300),
       
    72        (x: 2798; y:  468; w:  352; h:  324),
       
    73        (x: 2698; y: 1024; w:  500; h:    1),
       
    74        (x: 3298; y: 1100; w:    1; h:    1),
       
    75        (x: 3538; y: 1024; w:    1; h:    1),
       
    76        (x: 3500; y:  904; w:   74; h:   12),
       
    77        (x: 3296; y:  575; w:   68; h:  425),
       
    78        (x: 3474; y:  592; w:  140; h:  142),
       
    79        (x: 3358; y:  192; w:  150; h:  350),
       
    80        (x: 3636; y:  194; w:  148; h:  242),
       
    81        (x: 3666; y:  472; w:  276; h:  314),
       
    82        (x: 3758; y:  850; w:  130; h:   86),
       
    83        (x: 3782; y: 1024; w:    1; h:    1),
       
    84        (x: NTPX; y:    0; w:    1; h:    1)
    65        (x: NTPX; y:    0; w:    1; h:    1)
    85       );
    66       );
    86       Template0FPoints: array[0..0] of TPoint =
    67       Template0FPoints: array[0..0] of TPoint =
    87       (
       
    88        (x: 2047; y:    0)
       
    89       );
       
    90 const Template1Points: array[0..4] of TSDL_Rect =
       
    91       (
       
    92        (x:  100; y:  100; w:    1; h:    1),
       
    93        (x:  100; y:  100; w: 3000; h: 1500),
       
    94        (x:  500; y:  500; w: 2000; h: 1000),
       
    95        (x: 4000; y: 2000; w:    1; h:    1),
       
    96        (x: NTPX; y:    0; w:    1; h:    1)
       
    97       );
       
    98       Template1FPoints: array[0..0] of TPoint =
       
    99       (
    68       (
   100        (x: 2047; y:    0)
    69        (x: 2047; y:    0)
   101       );
    70       );
   102 
    71 
   103 //////////////////////////////////////////////////////////////////////////////
    72 //////////////////////////////////////////////////////////////////////////////
   104 /////////////////// END MIRRORED TWO TIMES ///////////////////////////////////
    73 /////////////////// END MIRRORED TWO TIMES ///////////////////////////////////
   105 //////////////////////////////////////////////////////////////////////////////
    74 //////////////////////////////////////////////////////////////////////////////
   106 
    75 
   107 const EdgeTemplates: array[0..1] of TEdgeTemplate =
    76 const EdgeTemplates: array[0..0] of TEdgeTemplate =
   108       (
    77       (
   109        (BasePoints: @Template0Points;
    78        (BasePoints: @Template0Points;
   110         BasePointsCount: Succ(High(Template0Points));
    79         BasePointsCount: Succ(High(Template0Points));
   111         FillPoints: @Template0FPoints;
    80         FillPoints: @Template0FPoints;
   112         FillPointsCount: Succ(High(Template0FPoints));
    81         FillPointsCount: Succ(High(Template0FPoints));
   113         BezierizeCount: 3;
    82         BezierizeCount: 2;
   114         RandPassesCount: 8;
    83         RandPassesCount: 10;
   115         TemplateHeight: 1024; TemplateWidth: 4096;
    84         TemplateHeight: 1024; TemplateWidth: 4096;
   116         canMirror: true; canFlip: false; isNegative: false; canInvert: true;
       
   117 // Yes. I know this isn't a good map to invert, just testing
       
   118        ),
       
   119        (BasePoints: @Template1Points;
       
   120         BasePointsCount: Succ(High(Template1Points));
       
   121         FillPoints: @Template0FPoints;
       
   122         FillPointsCount: Succ(High(Template1FPoints));
       
   123         BezierizeCount: 6;
       
   124         RandPassesCount: 8;
       
   125         TemplateHeight: 2048; TemplateWidth: 4096;
       
   126         canMirror: true; canFlip: false; isNegative: true; canInvert: false;
    85         canMirror: true; canFlip: false; isNegative: true; canInvert: false;
   127 // make a decent cave about one time in, oh, 5 or 6 :-/
       
   128        )
    86        )
   129       );
    87       );
   130 
    88 
   131 
    89 
   132 
    90