hedgewars/uLandTemplates.pas
changeset 431 79ac59673df3
parent 429 7f69c7ac2e97
child 524 c3b3d9ff7bb2
equal deleted inserted replaced
430:57d05fb13ea7 431:79ac59673df3
   231       Template7FPoints: array[0..0] of TPoint =
   231       Template7FPoints: array[0..0] of TPoint =
   232       (
   232       (
   233        (x: 1023; y:    0)
   233        (x: 1023; y:    0)
   234       );
   234       );
   235 
   235 
   236 const EdgeTemplates: array[0..7] of TEdgeTemplate =
   236 
       
   237 const Template8Points: array[0..19] of TSDL_Rect =
       
   238       (
       
   239        (x:  364; y: 1024; w:   20; h:    1),
       
   240        (x:  290; y:  860; w:   64; h:   62),
       
   241        (x:  486; y:  750; w:   52; h:  146),
       
   242        (x:  256; y:  590; w:  116; h:  144),
       
   243        (x:  470; y:  468; w:  138; h:  168),
       
   244        (x:  242; y:  242; w:  158; h:  162),
       
   245        (x:  508; y:  310; w:  198; h:   72),
       
   246        (x:  770; y:  228; w:  118; h:  134),
       
   247        (x:  636; y:  718; w:  142; h:  132),
       
   248        (x:  968; y:  700; w:  172; h:   58),
       
   249        (x:  970; y:  804; w:  172; h:   62),
       
   250        (x: 1232; y:  704; w:   82; h:  226),
       
   251        (x: 1356; y:  594; w:   64; h:  152),
       
   252        (x: 1214; y:  334; w:  106; h:  152),
       
   253        (x: 1410; y:  260; w:  380; h:   82),
       
   254        (x: 1528; y:  422; w:   30; h:  118),
       
   255        (x: 1540; y:  588; w:  212; h:   50),
       
   256        (x: 1464; y:  746; w:  128; h:  146),
       
   257        (x: 1630; y: 1024; w:   20; h:    1),
       
   258        (x: NTPX; y:    0; w:    1; h:    1)
       
   259       );
       
   260       Template8FPoints: array[0..0] of TPoint =
       
   261       (
       
   262        (x: 1023; y:    0)
       
   263       );
       
   264 
       
   265 const Template9Points: array[0..31] of TSDL_Rect =
       
   266       (
       
   267        (x:  340; y: 1022; w:    2; h:    2),
       
   268        (x:  276; y:  902; w:   44; h:   54),
       
   269        (x:  434; y:  836; w:   58; h:   90),
       
   270        (x:  266; y:  734; w:   80; h:   80),
       
   271        (x:  246; y:  604; w:   96; h:  108),
       
   272        (x:  426; y:  646; w:  110; h:  112),
       
   273        (x:  234; y:  292; w:  118; h:  164),
       
   274        (x:  428; y:  396; w:  130; h:  110),
       
   275        (x:  516; y:  198; w:  344; h:   78),
       
   276        (x:  688; y:  426; w:   50; h:   40),
       
   277        (x:  626; y:  560; w:   32; h:  148),
       
   278        (x:  698; y:  650; w:  160; h:   34),
       
   279        (x:  674; y:  788; w:   36; h:  136),
       
   280        (x: 1014; y:  848; w:   48; h:   48),
       
   281        (x: 1086; y:  728; w:   64; h:   88),
       
   282        (x:  958; y:  660; w:   70; h:   74),
       
   283        (x: 1116; y:  596; w:   68; h:   70),
       
   284        (x: 1118; y:  484; w:   68; h:   82),
       
   285        (x:  958; y:  324; w:   44; h:  140),
       
   286        (x: 1272; y:  306; w:   52; h:   66),
       
   287        (x: 1254; y:  502; w:   58; h:   66),
       
   288        (x: 1234; y:  760; w:   76; h:  112),
       
   289        (x: 1380; y:  762; w:  124; h:   64),
       
   290        (x: 1472; y:  472; w:   54; h:  134),
       
   291        (x: 1410; y:  196; w:  246; h:   62),
       
   292        (x: 1706; y:  154; w:   38; h:  238),
       
   293        (x: 1812; y:  348; w:   28; h:   28),
       
   294        (x: 1692; y:  524; w:  144; h:   94),
       
   295        (x: 1632; y:  678; w:  248; h:   20),
       
   296        (x: 1632; y:  802; w:  238; h:   16),
       
   297        (x: 1680; y: 1020; w:    2; h:    2),
       
   298        (x: NTPX; y:    0; w:    1; h:    1)
       
   299       );
       
   300       Template9FPoints: array[0..0] of TPoint =
       
   301       (
       
   302        (x: 1023; y:    0)
       
   303       );
       
   304 
       
   305 
       
   306 const EdgeTemplates: array[0..9] of TEdgeTemplate =
   237       (
   307       (
   238        (BasePoints: @Template0Points;
   308        (BasePoints: @Template0Points;
   239         BasePointsCount: Succ(High(Template0Points));
   309         BasePointsCount: Succ(High(Template0Points));
   240         FillPoints: @Template0FPoints;
   310         FillPoints: @Template0FPoints;
   241         FillPointsCount: Succ(High(Template0FPoints));
   311         FillPointsCount: Succ(High(Template0FPoints));
   242         BezierizeCount: 2;
   312         BezierizeCount: 3;
   243         RandPassesCount: 3;
   313         RandPassesCount: 1;
   244         canMirror: true; canFlip: false;
   314         canMirror: true; canFlip: false;
   245        ),
   315        ),
   246        (BasePoints: @Template1Points;
   316        (BasePoints: @Template1Points;
   247         BasePointsCount: Succ(High(Template1Points));
   317         BasePointsCount: Succ(High(Template1Points));
   248         FillPoints: @Template1FPoints;
   318         FillPoints: @Template1FPoints;
   249         FillPointsCount: Succ(High(Template1FPoints));
   319         FillPointsCount: Succ(High(Template1FPoints));
   250         BezierizeCount: 2;
   320         BezierizeCount: 3;
   251         RandPassesCount: 2;
   321         RandPassesCount: 2;
   252         canMirror: true; canFlip: false;
   322         canMirror: true; canFlip: false;
   253        ),
   323        ),
   254        (BasePoints: @Template2Points;
   324        (BasePoints: @Template2Points;
   255         BasePointsCount: Succ(High(Template2Points));
   325         BasePointsCount: Succ(High(Template2Points));
   261        ),
   331        ),
   262        (BasePoints: @Template3Points;
   332        (BasePoints: @Template3Points;
   263         BasePointsCount: Succ(High(Template3Points));
   333         BasePointsCount: Succ(High(Template3Points));
   264         FillPoints: @Template3FPoints;
   334         FillPoints: @Template3FPoints;
   265         FillPointsCount: Succ(High(Template3FPoints));
   335         FillPointsCount: Succ(High(Template3FPoints));
   266         BezierizeCount: 2;
   336         BezierizeCount: 3;
   267         RandPassesCount: 2;
   337         RandPassesCount: 2;
   268         canMirror: false; canFlip: false;
   338         canMirror: false; canFlip: false;
   269        ),
   339        ),
   270        (BasePoints: @Template4Points;
   340        (BasePoints: @Template4Points;
   271         BasePointsCount: Succ(High(Template4Points));
   341         BasePointsCount: Succ(High(Template4Points));
   272         FillPoints: @Template4FPoints;
   342         FillPoints: @Template4FPoints;
   273         FillPointsCount: Succ(High(Template4FPoints));
   343         FillPointsCount: Succ(High(Template4FPoints));
   274         BezierizeCount: 2;
   344         BezierizeCount: 3;
   275         RandPassesCount: 2;
   345         RandPassesCount: 2;
   276         canMirror: true; canFlip: false;
   346         canMirror: true; canFlip: false;
   277        ),
   347        ),
   278        (BasePoints: @Template5Points;
   348        (BasePoints: @Template5Points;
   279         BasePointsCount: Succ(High(Template5Points));
   349         BasePointsCount: Succ(High(Template5Points));
   280         FillPoints: @Template5FPoints;
   350         FillPoints: @Template5FPoints;
   281         FillPointsCount: Succ(High(Template5FPoints));
   351         FillPointsCount: Succ(High(Template5FPoints));
   282         BezierizeCount: 2;
   352         BezierizeCount: 2;
   283         RandPassesCount: 2;
   353         RandPassesCount: 3;
   284         canMirror: true; canFlip: false;
   354         canMirror: true; canFlip: false;
   285        ),
   355        ),
   286        (BasePoints: @Template6Points;
   356        (BasePoints: @Template6Points;
   287         BasePointsCount: Succ(High(Template6Points));
   357         BasePointsCount: Succ(High(Template6Points));
   288         FillPoints: @Template6FPoints;
   358         FillPoints: @Template6FPoints;
   289         FillPointsCount: Succ(High(Template6FPoints));
   359         FillPointsCount: Succ(High(Template6FPoints));
   290         BezierizeCount: 2;
   360         BezierizeCount: 3;
   291         RandPassesCount: 2;
   361         RandPassesCount: 1;
   292         canMirror: true; canFlip: false;
   362         canMirror: true; canFlip: false;
   293        ),
   363        ),
   294        (BasePoints: @Template7Points;
   364        (BasePoints: @Template7Points;
   295         BasePointsCount: Succ(High(Template7Points));
   365         BasePointsCount: Succ(High(Template7Points));
   296         FillPoints: @Template7FPoints;
   366         FillPoints: @Template7FPoints;
   297         FillPointsCount: Succ(High(Template7FPoints));
   367         FillPointsCount: Succ(High(Template7FPoints));
   298         BezierizeCount: 3;
   368         BezierizeCount: 4;
       
   369         RandPassesCount: 1;
       
   370         canMirror: true; canFlip: false;
       
   371        ),
       
   372        (BasePoints: @Template8Points;
       
   373         BasePointsCount: Succ(High(Template8Points));
       
   374         FillPoints: @Template8FPoints;
       
   375         FillPointsCount: Succ(High(Template8FPoints));
       
   376         BezierizeCount: 2;
       
   377         RandPassesCount: 2;
       
   378         canMirror: true; canFlip: false;
       
   379        ),
       
   380        (BasePoints: @Template9Points;
       
   381         BasePointsCount: Succ(High(Template9Points));
       
   382         FillPoints: @Template9FPoints;
       
   383         FillPointsCount: Succ(High(Template9FPoints));
       
   384         BezierizeCount: 2;
   299         RandPassesCount: 3;
   385         RandPassesCount: 3;
   300         canMirror: true; canFlip: false;
   386         canMirror: true; canFlip: false;
   301        )
   387        )
   302       );
   388       );
   303 
   389