hedgewars/uLandTemplates.pas
changeset 30 794e98e11b66
parent 27 c374fe590272
child 35 9367f246fb5f
equal deleted inserted replaced
29:9311259d5242 30:794e98e11b66
    28       Template0FPoints: array[0..0] of TPoint =
    28       Template0FPoints: array[0..0] of TPoint =
    29       (
    29       (
    30        (x: 1023; y: 1023)
    30        (x: 1023; y: 1023)
    31       );
    31       );
    32 
    32 
    33 const Template1Points: array[0..6] of TPoint =
    33 const Template1Points: array[0..12] of TPoint =
    34       (
    34       (
    35        (x:  300; y: 1500),
    35        (x:  300; y: 1500),
    36        (x:  300; y: 1000),
    36        (x:  300; y: 1000),
    37        (x:  250; y:  750),
    37        (x:  250; y:  750),
       
    38        (x:  550; y:  480),
       
    39        (x:  650; y:  780),
       
    40        (x:  810; y:  780),
       
    41        (x:  800; y:  500),
    38        (x: 1200; y:  500),
    42        (x: 1200; y:  500),
       
    43        (x: 1300; y:  800),
       
    44        (x: 1500; y:  500),
    39        (x: 1800; y:  750),
    45        (x: 1800; y:  750),
    40        (x: 1750; y: 1000),
    46        (x: 1750; y: 1000),
    41        (x: 1750; y: 1500)
    47        (x: 1750; y: 1500)
    42       );
    48       );
    43       Template1FPoints: array[0..0] of TPoint =
    49       Template1FPoints: array[0..0] of TPoint =
    44       (
    50       (
    45        (x: 1023; y: 1023)
    51        (x: 1023; y: 1023)
    46       );
    52       );
    47 
    53 
    48 const Template2Points: array[0..21] of TPoint =
    54 const Template2Points: array[0..28] of TPoint =
    49       (
    55       (
    50        (x:  350; y: 1500),
    56        (x:  350; y: 1500),
    51        (x:  350; y: 1000),
    57        (x:  350; y: 1000),
    52        (x:  190; y:  850),
    58        (x:  190; y:  850),
    53        (x:  500; y:  750),
    59        (x:  500; y:  750),
    54        (x:  520; y:  450),
    60        (x:  520; y:  450),
    55        (x:  190; y:  600),
    61        (x:  190; y:  600),
    56        (x:  210; y:  260),
    62        (x:  210; y:  260),
    57        (x: 1650; y:  220),
    63        (x:  800; y:  310),
    58        (x: 1650; y:  460),
    64        (x: 1350; y:  220),
    59        (x:  900; y:  410),
    65        (x: 1250; y:  360),
       
    66        (x: 1550; y:  520),
       
    67        (x: 1100; y:  400),
       
    68        (x:  900; y:  470),
    60        (x:  650; y:  400),
    69        (x:  650; y:  400),
       
    70        (x:  900; y:  750),
       
    71        (x:  600; y:  750),
       
    72        (x:  600; y:  850),
       
    73        (x: 1100; y:  900),
    61        (x: 1200; y: 1000),
    74        (x: 1200; y: 1000),
    62        (x: 1200; y: 1200),
    75        (x: 1200; y: 1300),
    63        (x: 1400; y: 1200),
    76        (x: 1400; y: 1300),
    64        (x: 1400; y: 1000),
    77        (x: 1400; y: 1000),
    65        (x: 1280; y:  750),
    78        (x: 1280; y:  850),
    66        (x: 1150; y:  530),
    79        (x: 1150; y:  630),
    67        (x: 1700; y:  750),
    80        (x: 1600; y:  850),
    68        (x: 1800; y:  600),
    81        (x: 1800; y:  600),
    69        (x: 1900; y:  600),
    82        (x: 1900; y:  600),
    70        (x: 1700; y: 1010),
    83        (x: 1700; y: 1010),
    71        (x: 1700; y: 1200)
    84        (x: 1700; y: 1500)
    72       );
    85       );
    73       Template2FPoints: array[0..1] of TPoint =
    86       Template2FPoints: array[0..1] of TPoint =
    74       (
    87       (
    75        (x:  600; y: 1023),
    88        (x:  600; y: 1023),
    76        (x: 1500; y: 1023)
    89        (x: 1500; y: 1023)
   154       Template4FPoints: array[0..1] of TPoint =
   167       Template4FPoints: array[0..1] of TPoint =
   155       (
   168       (
   156        (x:  500; y: 1023),
   169        (x:  500; y: 1023),
   157        (x: 1500; y: 1023)
   170        (x: 1500; y: 1023)
   158       );
   171       );
   159 
   172     
   160 const EdgeTemplates: array[0..4] of TEdgeTemplate =
   173 const Template5Points: array[0..10] of TPoint =
       
   174       (
       
   175        (x:  225; y: 1260),
       
   176        (x:  254; y:  226),
       
   177        (x:  729; y:  238),
       
   178        (x:  658; y:  441),
       
   179        (x:  661; y:  651),
       
   180        (x: 1023; y:  759),
       
   181        (x: 1374; y:  648),
       
   182        (x: 1473; y:  285),
       
   183        (x: 1803; y:  207),
       
   184        (x: 1839; y:  801),
       
   185        (x: 1674; y: 1239)
       
   186       );
       
   187       Template5FPoints: array[0..0] of TPoint =
       
   188       (
       
   189        (x: 1023; y: 1023)
       
   190       );
       
   191 
       
   192 const EdgeTemplates: array[0..5] of TEdgeTemplate =
   161       (
   193       (
   162        (BasePoints: @Template0Points;
   194        (BasePoints: @Template0Points;
   163         BasePointsCount: Succ(High(Template0Points));
   195         BasePointsCount: Succ(High(Template0Points));
   164         BezPassCnt: 4;
   196         BezPassCnt: 4;
   165         PassMin: 10; PassDelta: 5;
   197         PassMin: 10; PassDelta: 5;
   169         FillPointsCount: Succ(High(Template0FPoints));
   201         FillPointsCount: Succ(High(Template0FPoints));
   170         canMirror: false; canFlip: false;
   202         canMirror: false; canFlip: false;
   171        ),
   203        ),
   172        (BasePoints: @Template1Points;
   204        (BasePoints: @Template1Points;
   173         BasePointsCount: Succ(High(Template1Points));
   205         BasePointsCount: Succ(High(Template1Points));
   174         BezPassCnt: 4;
   206         BezPassCnt: 3;
   175         PassMin: 10; PassDelta: 2;
   207         PassMin: 10; PassDelta: 2;
   176         WaveAmplMin:    25; WaveAmplDelta: 15;
   208         WaveAmplMin:    25; WaveAmplDelta: 15;
   177         WaveFreqMin: 0.008; WaveFreqDelta: 0.002;
   209         WaveFreqMin: 0.008; WaveFreqDelta: 0.002;
   178         FillPoints: @Template1FPoints;
   210         FillPoints: @Template1FPoints;
   179         FillPointsCount: Succ(High(Template1FPoints));
   211         FillPointsCount: Succ(High(Template1FPoints));
   206         WaveAmplMin:    12; WaveAmplDelta: 14;
   238         WaveAmplMin:    12; WaveAmplDelta: 14;
   207         WaveFreqMin: 0.008; WaveFreqDelta: 0.001;
   239         WaveFreqMin: 0.008; WaveFreqDelta: 0.001;
   208         FillPoints: @Template4FPoints;
   240         FillPoints: @Template4FPoints;
   209         FillPointsCount: Succ(High(Template4FPoints));
   241         FillPointsCount: Succ(High(Template4FPoints));
   210         canMirror: true; canFlip: false;
   242         canMirror: true; canFlip: false;
       
   243        ),       
       
   244        (BasePoints: @Template5Points;
       
   245         BasePointsCount: Succ(High(Template5Points));
       
   246         BezPassCnt: 4;
       
   247         PassMin: 15; PassDelta: 1;
       
   248         WaveAmplMin:    15; WaveAmplDelta: 14;
       
   249         WaveFreqMin: 0.008; WaveFreqDelta: 0.002;
       
   250         FillPoints: @Template5FPoints;
       
   251         FillPointsCount: Succ(High(Template5FPoints));
       
   252         canMirror: true; canFlip: false;
   211        )
   253        )
   212       );
   254        
       
   255       );
       
   256 
       
   257 
   213 
   258 
   214 implementation
   259 implementation
   215 
   260 
   216 end.
   261 end.