hedgewars/uLandTemplates.pas
changeset 10124 aabd1b75d5a3
parent 10108 c68cf030eded
child 10131 4b4a043111f4
equal deleted inserted replaced
10123:64e72781d344 10124:aabd1b75d5a3
    63        (x: 2134; y: 1424; w:    1; h:    1),
    63        (x: 2134; y: 1424; w:    1; h:    1),
    64        (x: NTPX; y:    0; w:    1; h:    1)
    64        (x: NTPX; y:    0; w:    1; h:    1)
    65       );
    65       );
    66       Template0FPoints: array[0..0] of TPoint =
    66       Template0FPoints: array[0..0] of TPoint =
    67       (
    67       (
    68        (X: 1023; Y:    0)
    68        (x: 1023; y:    0)
    69       );
    69       );
    70 
    70 
    71 const Template1Points: array[0..15] of TSDL_Rect =
    71 const Template1Points: array[0..15] of TSDL_Rect =
    72       (
    72       (
    73        (x:  800; y: 1424; w:   25; h:    1),
    73        (x:  800; y: 1424; w:   25; h:    1),
    87        (x: 1860; y: 1424; w:   25; h:    1),
    87        (x: 1860; y: 1424; w:   25; h:    1),
    88        (x: NTPX; y:    0; w:    1; h:    1)
    88        (x: NTPX; y:    0; w:    1; h:    1)
    89       );
    89       );
    90       Template1FPoints: array[0..0] of TPoint =
    90       Template1FPoints: array[0..0] of TPoint =
    91       (
    91       (
    92        (X: 1023; Y:    0)
    92        (x: 1023; y:    0)
    93       );
    93       );
    94 
    94 
    95 const Template2Points: array[0..21] of TSDL_Rect =
    95 const Template2Points: array[0..21] of TSDL_Rect =
    96       (
    96       (
    97        (x:  754; y: 1424; w:    1; h:    1),
    97        (x:  754; y: 1424; w:    1; h:    1),
   117        (x: 2004; y: 1424; w:    1; h:    1),
   117        (x: 2004; y: 1424; w:    1; h:    1),
   118        (x: NTPX; y:    0; w:    1; h:    1)
   118        (x: NTPX; y:    0; w:    1; h:    1)
   119       );
   119       );
   120       Template2FPoints: array[0..0] of TPoint =
   120       Template2FPoints: array[0..0] of TPoint =
   121       (
   121       (
   122        (X: 1023; Y:    0)
   122        (x: 1023; y:    0)
   123       );
   123       );
   124 
   124 
   125 const Template3Points: array[0..16] of TSDL_Rect =
   125 const Template3Points: array[0..16] of TSDL_Rect =
   126       (
   126       (
   127        (x:  748; y: 1424; w:    1; h:    1),
   127        (x:  748; y: 1424; w:    1; h:    1),
   142        (x: 1834; y:  622; w:  254; h:  116),
   142        (x: 1834; y:  622; w:  254; h:  116),
   143        (x: NTPX; y:    0; w:    1; h:    1)
   143        (x: NTPX; y:    0; w:    1; h:    1)
   144       );
   144       );
   145       Template3FPoints: array[0..0] of TPoint =
   145       Template3FPoints: array[0..0] of TPoint =
   146       (
   146       (
   147        (X: 1023; Y:    0)
   147        (x: 1023; y:    0)
   148       );
   148       );
   149 
   149 
   150 const Template4Points: array[0..22] of TSDL_Rect =
   150 const Template4Points: array[0..22] of TSDL_Rect =
   151       (
   151       (
   152        (x:  818; y: 1424; w:    1; h:    1),
   152        (x:  818; y: 1424; w:    1; h:    1),
   173        (x: 2150; y:  552; w:   86; h:  220),
   173        (x: 2150; y:  552; w:   86; h:  220),
   174        (x: NTPX; y:    0; w:    1; h:    1)
   174        (x: NTPX; y:    0; w:    1; h:    1)
   175       );
   175       );
   176       Template4FPoints: array[0..0] of TPoint =
   176       Template4FPoints: array[0..0] of TPoint =
   177       (
   177       (
   178        (X: 1023; Y:    0)
   178        (x: 1023; y:    0)
   179       );
   179       );
   180 
   180 
   181 const Template5Points: array[0..15] of TSDL_Rect =
   181 const Template5Points: array[0..15] of TSDL_Rect =
   182       (
   182       (
   183        (x:  674; y: 1424; w:    1; h:    1),
   183        (x:  674; y: 1424; w:    1; h:    1),
   197        (x: 2012; y: 1424; w:    1; h:    1),
   197        (x: 2012; y: 1424; w:    1; h:    1),
   198        (x: NTPX; y:    0; w:    1; h:    1)
   198        (x: NTPX; y:    0; w:    1; h:    1)
   199        );
   199        );
   200       Template5FPoints: array[0..0] of TPoint =
   200       Template5FPoints: array[0..0] of TPoint =
   201       (
   201       (
   202        (X: 1023; Y:    0)
   202        (x: 1023; y:    0)
   203       );
   203       );
   204 
   204 
   205 const Template6Points: array[0..13] of TSDL_Rect =
   205 const Template6Points: array[0..13] of TSDL_Rect =
   206       (
   206       (
   207        (x:  768; y: 1422; w:    2; h:    2),
   207        (x:  768; y: 1422; w:    2; h:    2),
   219        (x: 2046; y: 1420; w:    2; h:    2),
   219        (x: 2046; y: 1420; w:    2; h:    2),
   220        (x: NTPX; y:    0; w:    1; h:    1)
   220        (x: NTPX; y:    0; w:    1; h:    1)
   221        );
   221        );
   222       Template6FPoints: array[0..0] of TPoint =
   222       Template6FPoints: array[0..0] of TPoint =
   223       (
   223       (
   224        (X: 1023; Y:    0)
   224        (x: 1023; y:    0)
   225       );
   225       );
   226 
   226 
   227 const Template7Points: array[0..5] of TSDL_Rect =
   227 const Template7Points: array[0..5] of TSDL_Rect =
   228       (
   228       (
   229        (x:  562; y: 1424; w:  400; h:    1),
   229        (x:  562; y: 1424; w:  400; h:    1),
   233        (x: 1830; y: 1424; w:  454; h:    1),
   233        (x: 1830; y: 1424; w:  454; h:    1),
   234        (x: NTPX; y:    0; w:    1; h:    1)
   234        (x: NTPX; y:    0; w:    1; h:    1)
   235       );
   235       );
   236       Template7FPoints: array[0..0] of TPoint =
   236       Template7FPoints: array[0..0] of TPoint =
   237       (
   237       (
   238        (X: 1023; Y:    0)
   238        (x: 1023; y:    0)
   239       );
   239       );
   240 
   240 
   241 
   241 
   242 const Template8Points: array[0..19] of TSDL_Rect =
   242 const Template8Points: array[0..19] of TSDL_Rect =
   243       (
   243       (
   262        (x: 2030; y: 1424; w:   20; h:    1),
   262        (x: 2030; y: 1424; w:   20; h:    1),
   263        (x: NTPX; y:    0; w:    1; h:    1)
   263        (x: NTPX; y:    0; w:    1; h:    1)
   264       );
   264       );
   265       Template8FPoints: array[0..0] of TPoint =
   265       Template8FPoints: array[0..0] of TPoint =
   266       (
   266       (
   267        (X: 1023; Y:    0)
   267        (x: 1023; y:    0)
   268       );
   268       );
   269 
   269 
   270 const Template9Points: array[0..31] of TSDL_Rect =
   270 const Template9Points: array[0..31] of TSDL_Rect =
   271       (
   271       (
   272        (x:  740; y: 1424; w:    1; h:    1),
   272        (x:  740; y: 1424; w:    1; h:    1),
   302        (x: 2080; y: 1424; w:    1; h:    1),
   302        (x: 2080; y: 1424; w:    1; h:    1),
   303        (x: NTPX; y:    0; w:    1; h:    1)
   303        (x: NTPX; y:    0; w:    1; h:    1)
   304       );
   304       );
   305       Template9FPoints: array[0..0] of TPoint =
   305       Template9FPoints: array[0..0] of TPoint =
   306       (
   306       (
   307        (X: 1023; Y:    0)
   307        (x: 1023; y:    0)
   308       );
   308       );
   309 
   309 
   310 const Template10Points: array[0..13] of TSDL_Rect =
   310 const Template10Points: array[0..13] of TSDL_Rect =
   311       (
   311       (
   312        (x:  588; y: 1424; w:  190; h:    1),
   312        (x:  588; y: 1424; w:  190; h:    1),
   324        (x: 2182; y: 1424; w:    2; h:    1),
   324        (x: 2182; y: 1424; w:    2; h:    1),
   325        (x: NTPX; y:    0; w:    1; h:    1)
   325        (x: NTPX; y:    0; w:    1; h:    1)
   326       );
   326       );
   327       Template10FPoints: array[0..0] of TPoint =
   327       Template10FPoints: array[0..0] of TPoint =
   328       (
   328       (
   329        (X: 1023; Y:    0)
   329        (x: 1023; y:    0)
   330       );
   330       );
   331 
   331 
   332 const Template11Points: array[0..9] of TSDL_Rect =
   332 const Template11Points: array[0..9] of TSDL_Rect =
   333       (
   333       (
   334        (x:  674; y: 1424; w:  166; h:    1),
   334        (x:  674; y: 1424; w:  166; h:    1),
   342        (x: 1984; y: 1424; w:  136; h:    1),
   342        (x: 1984; y: 1424; w:  136; h:    1),
   343        (x: NTPX; y:    0; w:    1; h:    1)
   343        (x: NTPX; y:    0; w:    1; h:    1)
   344       );
   344       );
   345       Template11FPoints: array[0..0] of TPoint =
   345       Template11FPoints: array[0..0] of TPoint =
   346       (
   346       (
   347        (X: 1023; Y:    0)
   347        (x: 1023; y:    0)
   348       );
   348       );
   349 
   349 
   350 const Template12Points: array[0..13] of TSDL_Rect =
   350 const Template12Points: array[0..13] of TSDL_Rect =
   351       (
   351       (
   352        (x:  760; y: 1424; w:    2; h:    2),
   352        (x:  760; y: 1424; w:    2; h:    2),
   364        (x: 2088; y: 1424; w:  176; h:    1),
   364        (x: 2088; y: 1424; w:  176; h:    1),
   365        (x: NTPX; y:    0; w:    1; h:    1)
   365        (x: NTPX; y:    0; w:    1; h:    1)
   366       );
   366       );
   367       Template12FPoints: array[0..0] of TPoint =
   367       Template12FPoints: array[0..0] of TPoint =
   368       (
   368       (
   369        (X: 1023; Y:    0)
   369        (x: 1023; y:    0)
   370       );
   370       );
   371 
   371 
   372 const Template13Points: array[0..15] of TSDL_Rect =
   372 const Template13Points: array[0..15] of TSDL_Rect =
   373       (
   373       (
   374        (x:  846; y: 1424; w:  140; h:    2),
   374        (x:  846; y: 1424; w:  140; h:    2),
   388        (x: 1844; y: 1424; w:    2; h:    2),
   388        (x: 1844; y: 1424; w:    2; h:    2),
   389        (x: NTPX; y:    0; w:    1; h:    1)
   389        (x: NTPX; y:    0; w:    1; h:    1)
   390       );
   390       );
   391       Template13FPoints: array[0..0] of TPoint =
   391       Template13FPoints: array[0..0] of TPoint =
   392       (
   392       (
   393        (X: 1023; Y:    0)
   393        (x: 1023; y:    0)
   394       );
   394       );
   395 
   395 
   396 const Template14Points: array[0..13] of TSDL_Rect =
   396 const Template14Points: array[0..13] of TSDL_Rect =
   397       (
   397       (
   398        (x:  686; y: 1424; w:    2; h:    2),
   398        (x:  686; y: 1424; w:    2; h:    2),
   410        (x: 2008; y: 1424; w:    2; h:    2),
   410        (x: 2008; y: 1424; w:    2; h:    2),
   411        (x: NTPX; y:    0; w:    1; h:    1)
   411        (x: NTPX; y:    0; w:    1; h:    1)
   412       );
   412       );
   413       Template14FPoints: array[0..0] of TPoint =
   413       Template14FPoints: array[0..0] of TPoint =
   414       (
   414       (
   415        (X: 1023; Y:    0)
   415        (x: 1023; y:    0)
   416       );
   416       );
   417 
   417 
   418 const Template15Points: array[0..23] of TSDL_Rect =
   418 const Template15Points: array[0..23] of TSDL_Rect =
   419       (
   419       (
   420        (x:  702; y: 1424; w:    2; h:    2),
   420        (x:  702; y: 1424; w:    2; h:    2),
   442        (x: 2056; y: 1424; w:    2; h:    2),
   442        (x: 2056; y: 1424; w:    2; h:    2),
   443        (x: NTPX; y:    0; w:    1; h:    1)
   443        (x: NTPX; y:    0; w:    1; h:    1)
   444       );
   444       );
   445       Template15FPoints: array[0..0] of TPoint =
   445       Template15FPoints: array[0..0] of TPoint =
   446       (
   446       (
   447        (X: 1023; Y:    0)
   447        (x: 1023; y:    0)
   448       );
   448       );
   449 
   449 
   450 const Template16Points: array[0..28] of TSDL_Rect =
   450 const Template16Points: array[0..28] of TSDL_Rect =
   451       (
   451       (
   452        (x:  700; y: 1424; w:    2; h:    2),
   452        (x:  700; y: 1424; w:    2; h:    2),
   479        (x: 2098; y: 1424; w:   52; h:    2),
   479        (x: 2098; y: 1424; w:   52; h:    2),
   480        (x: NTPX; y:    0; w:    1; h:    1)
   480        (x: NTPX; y:    0; w:    1; h:    1)
   481       );
   481       );
   482       Template16FPoints: array[0..0] of TPoint =
   482       Template16FPoints: array[0..0] of TPoint =
   483       (
   483       (
   484        (X: 1023; Y:    0)
   484        (x: 1023; y:    0)
   485       );
   485       );
   486 
   486 
   487 const Template17Points: array[0..13] of TSDL_Rect =
   487 const Template17Points: array[0..13] of TSDL_Rect =
   488       (
   488       (
   489        (x:  630; y: 1424; w:    2; h:    2),
   489        (x:  630; y: 1424; w:    2; h:    2),
   501        (x: 1998; y: 1424; w:   42; h:    2),
   501        (x: 1998; y: 1424; w:   42; h:    2),
   502        (x: NTPX; y:    0; w:    1; h:    1)
   502        (x: NTPX; y:    0; w:    1; h:    1)
   503       );
   503       );
   504       Template17FPoints: array[0..0] of TPoint =
   504       Template17FPoints: array[0..0] of TPoint =
   505       (
   505       (
   506        (X: 1023; Y:    0)
   506        (x: 1023; y:    0)
   507       );
   507       );
   508 //////////////////// MIXING AND MATCHING ORIGINAL //////////////////////////////////////
   508 //////////////////// MIXING AND MATCHING ORIGINAL //////////////////////////////////////
   509 const Template18Points: array[0..32] of TSDL_Rect =
   509 const Template18Points: array[0..32] of TSDL_Rect =
   510       (
   510       (
   511        (x:  610; y: 1424; w:    1; h:    1),
   511        (x:  610; y: 1424; w:    1; h:    1),
   542        (x: 3598; y: 1424; w:   42; h:    2),
   542        (x: 3598; y: 1424; w:   42; h:    2),
   543        (x: NTPX; y:    0; w:    1; h:    1)
   543        (x: NTPX; y:    0; w:    1; h:    1)
   544       );
   544       );
   545       Template18FPoints: array[0..0] of TPoint =
   545       Template18FPoints: array[0..0] of TPoint =
   546       (
   546       (
   547        (X: 2047; Y:    0)
   547        (x: 2047; y:    0)
   548       );
   548       );
   549 
   549 
   550 const Template19Points: array[0..44] of TSDL_Rect =
   550 const Template19Points: array[0..44] of TSDL_Rect =
   551       (
   551       (
   552        (x:  600; y: 1424; w:   25; h:    1),
   552        (x:  600; y: 1424; w:   25; h:    1),
   595        (x: 3398; y: 1424; w:   52; h:    2),
   595        (x: 3398; y: 1424; w:   52; h:    2),
   596        (x: NTPX; y:    0; w:    1; h:    1)
   596        (x: NTPX; y:    0; w:    1; h:    1)
   597       );
   597       );
   598       Template19FPoints: array[0..0] of TPoint =
   598       Template19FPoints: array[0..0] of TPoint =
   599       (
   599       (
   600        (X: 2047; Y:    0)
   600        (x: 2047; y:    0)
   601       );
   601       );
   602 
   602 
   603 const Template20Points: array[0..45] of TSDL_Rect =
   603 const Template20Points: array[0..45] of TSDL_Rect =
   604       (
   604       (
   605        (x:  554; y: 1424; w:    1; h:    1),
   605        (x:  554; y: 1424; w:    1; h:    1),
   649        (x: 3456; y: 1424; w:    2; h:    2),
   649        (x: 3456; y: 1424; w:    2; h:    2),
   650        (x: NTPX; y:    0; w:    1; h:    1)
   650        (x: NTPX; y:    0; w:    1; h:    1)
   651       );
   651       );
   652       Template20FPoints: array[0..0] of TPoint =
   652       Template20FPoints: array[0..0] of TPoint =
   653       (
   653       (
   654        (X: 2047; Y:    0)
   654        (x: 2047; y:    0)
   655       );
   655       );
   656 
   656 
   657 const Template21Points: array[0..30] of TSDL_Rect =
   657 const Template21Points: array[0..30] of TSDL_Rect =
   658       (
   658       (
   659        (x:  548; y: 1424; w:    1; h:    1),
   659        (x:  548; y: 1424; w:    1; h:    1),
   688        (x: 3258; y: 1424; w:    2; h:    2),
   688        (x: 3258; y: 1424; w:    2; h:    2),
   689        (x: NTPX; y:    0; w:    1; h:    1)
   689        (x: NTPX; y:    0; w:    1; h:    1)
   690       );
   690       );
   691       Template21FPoints: array[0..0] of TPoint =
   691       Template21FPoints: array[0..0] of TPoint =
   692       (
   692       (
   693        (X: 2047; Y:    0)
   693        (x: 2047; y:    0)
   694       );
   694       );
   695 
   695 
   696 const Template22Points: array[0..38] of TSDL_Rect =
   696 const Template22Points: array[0..38] of TSDL_Rect =
   697       (
   697       (
   698        (x:  618; y: 1424; w:    1; h:    1),
   698        (x:  618; y: 1424; w:    1; h:    1),
   735        (x: 3244; y: 1424; w:    2; h:    2),
   735        (x: 3244; y: 1424; w:    2; h:    2),
   736        (x: NTPX; y:    0; w:    1; h:    1)
   736        (x: NTPX; y:    0; w:    1; h:    1)
   737       );
   737       );
   738       Template22FPoints: array[0..0] of TPoint =
   738       Template22FPoints: array[0..0] of TPoint =
   739       (
   739       (
   740        (X: 2047; Y:    0)
   740        (x: 2047; y:    0)
   741       );
   741       );
   742 
   742 
   743 const Template23Points: array[0..29] of TSDL_Rect =
   743 const Template23Points: array[0..29] of TSDL_Rect =
   744       (
   744       (
   745        (x:  474; y: 1424; w:    1; h:    1),
   745        (x:  474; y: 1424; w:    1; h:    1),
   773        (x: 3438; y: 1424; w:  176; h:    1),
   773        (x: 3438; y: 1424; w:  176; h:    1),
   774        (x: NTPX; y:    0; w:    1; h:    1)
   774        (x: NTPX; y:    0; w:    1; h:    1)
   775        );
   775        );
   776       Template23FPoints: array[0..0] of TPoint =
   776       Template23FPoints: array[0..0] of TPoint =
   777       (
   777       (
   778        (X: 2047; Y:    0)
   778        (x: 2047; y:    0)
   779       );
   779       );
   780 
   780 
   781 const Template24Points: array[0..23] of TSDL_Rect =
   781 const Template24Points: array[0..23] of TSDL_Rect =
   782       (
   782       (
   783        (x:  474; y: 1424; w:  166; h:    1),
   783        (x:  474; y: 1424; w:  166; h:    1),
   805        (x: 3346; y: 1420; w:    2; h:    2),
   805        (x: 3346; y: 1420; w:    2; h:    2),
   806        (x: NTPX; y:    0; w:    1; h:    1)
   806        (x: NTPX; y:    0; w:    1; h:    1)
   807        );
   807        );
   808       Template24FPoints: array[0..0] of TPoint =
   808       Template24FPoints: array[0..0] of TPoint =
   809       (
   809       (
   810        (X: 2047; Y:    0)
   810        (x: 2047; y:    0)
   811       );
   811       );
   812 
   812 
   813 const Template25Points: array[0..19] of TSDL_Rect =
   813 const Template25Points: array[0..19] of TSDL_Rect =
   814       (
   814       (
   815        (x:  362; y: 1424; w:  400; h:    1),
   815        (x:  362; y: 1424; w:  400; h:    1),
   833        (x: 3532; y: 1424; w:    2; h:    1),
   833        (x: 3532; y: 1424; w:    2; h:    1),
   834        (x: NTPX; y:    0; w:    1; h:    1)
   834        (x: NTPX; y:    0; w:    1; h:    1)
   835       );
   835       );
   836       Template25FPoints: array[0..0] of TPoint =
   836       Template25FPoints: array[0..0] of TPoint =
   837       (
   837       (
   838        (X: 2047; Y:    0)
   838        (x: 2047; y:    0)
   839       );
   839       );
   840 
   840 
   841 
   841 
   842 const Template26Points: array[0..51] of TSDL_Rect =
   842 const Template26Points: array[0..51] of TSDL_Rect =
   843       (
   843       (
   894        (x: 3480; y: 1424; w:    1; h:    1),
   894        (x: 3480; y: 1424; w:    1; h:    1),
   895        (x: NTPX; y:    0; w:    1; h:    1)
   895        (x: NTPX; y:    0; w:    1; h:    1)
   896       );
   896       );
   897       Template26FPoints: array[0..0] of TPoint =
   897       Template26FPoints: array[0..0] of TPoint =
   898       (
   898       (
   899        (X: 2047; Y:    0)
   899        (x: 2047; y:    0)
   900       );
   900       );
   901 
   901 
   902 const Template27Points: array[0..42] of TSDL_Rect =
   902 const Template27Points: array[0..42] of TSDL_Rect =
   903       (
   903       (
   904        (x:  610; y: 1424; w:    1; h:    1),
   904        (x:  610; y: 1424; w:    1; h:    1),
   945        (x: 3556; y: 1424; w:    2; h:    2),
   945        (x: 3556; y: 1424; w:    2; h:    2),
   946        (x: NTPX; y:    0; w:    1; h:    1)
   946        (x: NTPX; y:    0; w:    1; h:    1)
   947       );
   947       );
   948       Template27FPoints: array[0..0] of TPoint =
   948       Template27FPoints: array[0..0] of TPoint =
   949       (
   949       (
   950        (X: 2047; Y:    0)
   950        (x: 2047; y:    0)
   951       );
   951       );
   952 
   952 
   953 const Template28Points: array[0..29] of TSDL_Rect =
   953 const Template28Points: array[0..29] of TSDL_Rect =
   954       (
   954       (
   955        (x:  600; y: 1424; w:   25; h:    1),
   955        (x:  600; y: 1424; w:   25; h:    1),
   983        (x: 3308; y: 1424; w:    2; h:    2),
   983        (x: 3308; y: 1424; w:    2; h:    2),
   984        (x: NTPX; y:    0; w:    1; h:    1)
   984        (x: NTPX; y:    0; w:    1; h:    1)
   985       );
   985       );
   986       Template28FPoints: array[0..0] of TPoint =
   986       Template28FPoints: array[0..0] of TPoint =
   987       (
   987       (
   988        (X: 2047; Y:    0)
   988        (x: 2047; y:    0)
   989       );
   989       );
   990 
   990 
   991 const Template29Points: array[0..37] of TSDL_Rect =
   991 const Template29Points: array[0..37] of TSDL_Rect =
   992       (
   992       (
   993        (x:  554; y: 1424; w:    1; h:    1),
   993        (x:  554; y: 1424; w:    1; h:    1),
  1029        (x: 3094; y: 1424; w:    2; h:    2),
  1029        (x: 3094; y: 1424; w:    2; h:    2),
  1030        (x: NTPX; y:    0; w:    1; h:    1)
  1030        (x: NTPX; y:    0; w:    1; h:    1)
  1031       );
  1031       );
  1032       Template29FPoints: array[0..0] of TPoint =
  1032       Template29FPoints: array[0..0] of TPoint =
  1033       (
  1033       (
  1034        (X: 2047; Y:    0)
  1034        (x: 2047; y:    0)
  1035       );
  1035       );
  1036 
  1036 
  1037 const Template30Points: array[0..30] of TSDL_Rect =
  1037 const Template30Points: array[0..30] of TSDL_Rect =
  1038       (
  1038       (
  1039        (x:  548; y: 1424; w:    1; h:    1),
  1039        (x:  548; y: 1424; w:    1; h:    1),
  1068        (x: 3288; y: 1424; w:  176; h:    1),
  1068        (x: 3288; y: 1424; w:  176; h:    1),
  1069        (x: NTPX; y:    0; w:    1; h:    1)
  1069        (x: NTPX; y:    0; w:    1; h:    1)
  1070       );
  1070       );
  1071       Template30FPoints: array[0..0] of TPoint =
  1071       Template30FPoints: array[0..0] of TPoint =
  1072       (
  1072       (
  1073        (X: 2047; Y:    0)
  1073        (x: 2047; y:    0)
  1074       );
  1074       );
  1075 
  1075 
  1076 const Template31Points: array[0..32] of TSDL_Rect =
  1076 const Template31Points: array[0..32] of TSDL_Rect =
  1077       (
  1077       (
  1078        (x:  618; y: 1424; w:    1; h:    1),
  1078        (x:  618; y: 1424; w:    1; h:    1),
  1109        (x: 3584; y: 1424; w:  136; h:    1),
  1109        (x: 3584; y: 1424; w:  136; h:    1),
  1110        (x: NTPX; y:    0; w:    1; h:    1)
  1110        (x: NTPX; y:    0; w:    1; h:    1)
  1111       );
  1111       );
  1112       Template31FPoints: array[0..0] of TPoint =
  1112       Template31FPoints: array[0..0] of TPoint =
  1113       (
  1113       (
  1114        (X: 2047; Y:    0)
  1114        (x: 2047; y:    0)
  1115       );
  1115       );
  1116 
  1116 
  1117 const Template32Points: array[0..29] of TSDL_Rect =
  1117 const Template32Points: array[0..29] of TSDL_Rect =
  1118       (
  1118       (
  1119        (x:  474; y: 1424; w:    1; h:    1),
  1119        (x:  474; y: 1424; w:    1; h:    1),
  1147        (x: 3682; y: 1424; w:    2; h:    1),
  1147        (x: 3682; y: 1424; w:    2; h:    1),
  1148        (x: NTPX; y:    0; w:    1; h:    1)
  1148        (x: NTPX; y:    0; w:    1; h:    1)
  1149       );
  1149       );
  1150       Template32FPoints: array[0..0] of TPoint =
  1150       Template32FPoints: array[0..0] of TPoint =
  1151       (
  1151       (
  1152          (X: 2047; Y:    0)
  1152          (x: 2047; y:    0)
  1153       );
  1153       );
  1154 
  1154 
  1155 const Template33Points: array[0..45] of TSDL_Rect =
  1155 const Template33Points: array[0..45] of TSDL_Rect =
  1156       (
  1156       (
  1157        (x:  568; y: 1422; w:    2; h:    2),
  1157        (x:  568; y: 1422; w:    2; h:    2),
  1201        (x: 3480; y: 1424; w:    1; h:    1),
  1201        (x: 3480; y: 1424; w:    1; h:    1),
  1202        (x: NTPX; y:    0; w:    1; h:    1)
  1202        (x: NTPX; y:    0; w:    1; h:    1)
  1203       );
  1203       );
  1204       Template33FPoints: array[0..0] of TPoint =
  1204       Template33FPoints: array[0..0] of TPoint =
  1205       (
  1205       (
  1206        (X: 2047; Y:    0)
  1206        (x: 2047; y:    0)
  1207       );
  1207       );
  1208 
  1208 
  1209 const Template34Points: array[0..25] of TSDL_Rect =
  1209 const Template34Points: array[0..25] of TSDL_Rect =
  1210       (
  1210       (
  1211        (x:  362; y: 1424; w:  400; h:    1),
  1211        (x:  362; y: 1424; w:  400; h:    1),
  1235        (x: 3230; y: 1424; w:   20; h:    1),
  1235        (x: 3230; y: 1424; w:   20; h:    1),
  1236        (x: NTPX; y:    0; w:    1; h:    1)
  1236        (x: NTPX; y:    0; w:    1; h:    1)
  1237       );
  1237       );
  1238       Template34FPoints: array[0..0] of TPoint =
  1238       Template34FPoints: array[0..0] of TPoint =
  1239       (
  1239       (
  1240        (X: 2047; Y:    0)
  1240        (x: 2047; y:    0)
  1241       );
  1241       );
  1242 
  1242 
  1243 const Template35Points: array[0..48] of TSDL_Rect =
  1243 const Template35Points: array[0..48] of TSDL_Rect =
  1244       (
  1244       (
  1245        (x:  564; y: 1424; w:   20; h:    1),
  1245        (x:  564; y: 1424; w:   20; h:    1),
  1292        (x: 3498; y: 1424; w:   52; h:    2),
  1292        (x: 3498; y: 1424; w:   52; h:    2),
  1293        (x: NTPX; y:    0; w:    1; h:    1)
  1293        (x: NTPX; y:    0; w:    1; h:    1)
  1294       );
  1294       );
  1295       Template35FPoints: array[0..0] of TPoint =
  1295       Template35FPoints: array[0..0] of TPoint =
  1296       (
  1296       (
  1297        (X: 2047; Y:    0)
  1297        (x: 2047; y:    0)
  1298       );
  1298       );
  1299 
  1299 
  1300 ///////////////////////// CAVERNS ///////////////////////////////////
  1300 ///////////////////////// CAVERNS ///////////////////////////////////
  1301 const Template36Points: array[0..18] of TSDL_Rect =
  1301 const Template36Points: array[0..18] of TSDL_Rect =
  1302       (
  1302       (
  1320        (x:  576; y:  976; w:   16; h:   28),
  1320        (x:  576; y:  976; w:   16; h:   28),
  1321        (x: NTPX; y:    0; w:    1; h:    1)
  1321        (x: NTPX; y:    0; w:    1; h:    1)
  1322       );
  1322       );
  1323       Template36FPoints: array[0..0] of TPoint =
  1323       Template36FPoints: array[0..0] of TPoint =
  1324       (
  1324       (
  1325        (X: 2047; Y:    0)
  1325        (x: 2047; y:    0)
  1326       );
  1326       );
  1327 ////////////////////////////// ... Silly ...  ////////////////////////////////
  1327 ////////////////////////////// ... Silly ...  ////////////////////////////////
  1328 /// Ok. Tiy does not care for these.  Perhaps they could be saved.
  1328 /// Ok. Tiy does not care for these.  Perhaps they could be saved.
  1329 /// For now, just rare.
  1329 /// For now, just rare.
  1330 //////////////////////////////////////////////////////////////////////////////
  1330 //////////////////////////////////////////////////////////////////////////////
  1361        (x: 2250; y: 1200; w: 25; h: 25),
  1361        (x: 2250; y: 1200; w: 25; h: 25),
  1362        (x: NTPX; y:    0; w:  1; h:  1)
  1362        (x: NTPX; y:    0; w:  1; h:  1)
  1363       );
  1363       );
  1364       Template37FPoints: array[0..0] of TPoint =
  1364       Template37FPoints: array[0..0] of TPoint =
  1365       (
  1365       (
  1366        (X: 2047; Y:    0)
  1366        (x: 2047; y:    0)
  1367       );
  1367       );
  1368 // attempt to make a series of moderate hills/valleys - was before I really figured out the whole probabilities thing
  1368 // attempt to make a series of moderate hills/valleys - was before I really figured out the whole probabilities thing
  1369 const Template38Points: array[0..16] of TSDL_Rect =
  1369 const Template38Points: array[0..16] of TSDL_Rect =
  1370       (
  1370       (
  1371        (x:  100; y: 2100; w:   1; h:    1),
  1371        (x:  100; y: 2100; w:   1; h:    1),
  1386        (x: 3700; y: 2100; w:   1; h:    1),
  1386        (x: 3700; y: 2100; w:   1; h:    1),
  1387        (x: NTPX; y:    0; w:   1; h:    1)
  1387        (x: NTPX; y:    0; w:   1; h:    1)
  1388       );
  1388       );
  1389       Template38FPoints: array[0..0] of TPoint =
  1389       Template38FPoints: array[0..0] of TPoint =
  1390       (
  1390       (
  1391        (X: 2047; Y:    0)
  1391        (x: 2047; y:    0)
  1392       );
  1392       );
  1393 
  1393 
  1394 // 8 tiny islands
  1394 // 8 tiny islands
  1395 const Template39Points: array[0..39] of TSDL_Rect =
  1395 const Template39Points: array[0..39] of TSDL_Rect =
  1396       (
  1396       (
  1435        (x: 1430; y: 520; w:   1; h:   1),
  1435        (x: 1430; y: 520; w:   1; h:   1),
  1436        (x: NTPX; y:   0; w:   1; h:   1)
  1436        (x: NTPX; y:   0; w:   1; h:   1)
  1437       );
  1437       );
  1438       Template39FPoints: array[0..0] of TPoint =
  1438       Template39FPoints: array[0..0] of TPoint =
  1439       (
  1439       (
  1440        (X: 512; Y:    0)
  1440        (x: 512; y:    0)
  1441       );
  1441       );
  1442 const Template40Points: array[0..7] of TSDL_Rect =
  1442 const Template40Points: array[0..7] of TSDL_Rect =
  1443       (
  1443       (
  1444        (x:   90; y: 1050; w:    1; h:   1),
  1444        (x:   90; y: 1050; w:    1; h:   1),
  1445        (x:  100; y:  800; w:  100; h: 200),
  1445        (x:  100; y:  800; w:  100; h: 200),
  1450        (x:  900; y: 1050; w:    1; h:   1),
  1450        (x:  900; y: 1050; w:    1; h:   1),
  1451        (x: NTPX; y:    0; w:    1; h:   1)
  1451        (x: NTPX; y:    0; w:    1; h:   1)
  1452       );
  1452       );
  1453       Template40FPoints: array[0..0] of TPoint =
  1453       Template40FPoints: array[0..0] of TPoint =
  1454       (
  1454       (
  1455        (X: 512; Y:    0)
  1455        (x: 512; y:    0)
  1456       );
  1456       );
  1457 // Many islands
  1457 // Many islands
  1458 const Template41Points: array[0..86] of TSDL_Rect =
  1458 const Template41Points: array[0..86] of TSDL_Rect =
  1459       (
  1459       (
  1460        (x:   95; y: 500; w:  26; h:  26),
  1460        (x:   95; y: 500; w:  26; h:  26),
  1545        (x: 4050; y: 125; w:  50; h:  75),
  1545        (x: 4050; y: 125; w:  50; h:  75),
  1546        (x: NTPX; y:   0; w:   1; h:   1)
  1546        (x: NTPX; y:   0; w:   1; h:   1)
  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
  1552 // 2 tiny islands
  1553 const Template42Points: array[0..13] of TSDL_Rect =
  1553 const Template42Points: array[0..13] of TSDL_Rect =
  1554       (
  1554       (
  1555        (x:   90; y: 520; w:   1; h:   1),
  1555        (x:   90; y: 520; w:   1; h:   1),
  1567        (x: 1430; y: 520; w:   1; h:   1),
  1567        (x: 1430; y: 520; w:   1; h:   1),
  1568        (x: NTPX; y:   0; w:   1; h:   1)
  1568        (x: NTPX; y:   0; w:   1; h:   1)
  1569       );
  1569       );
  1570       Template42FPoints: array[0..0] of TPoint =
  1570       Template42FPoints: array[0..0] of TPoint =
  1571       (
  1571       (
  1572        (X: 512; Y:    0)
  1572        (x: 512; y:    0)
  1573       );
  1573       );
  1574 // Many islands
  1574 // Many islands
  1575 const Template43Points: array[0..173] of TSDL_Rect =
  1575 const Template43Points: array[0..173] of TSDL_Rect =
  1576       (
  1576       (
  1577        (x:   95; y: 500; w:  26; h:  26),
  1577        (x:   95; y: 500; w:  26; h:  26),
  1749        (x: 4050; y:2173; w:  50; h:  75),
  1749        (x: 4050; y:2173; w:  50; h:  75),
  1750        (x: NTPX; y:2048; w:   1; h:   1)
  1750        (x: NTPX; y:2048; w:   1; h:   1)
  1751       );
  1751       );
  1752       Template43FPoints: array[0..0] of TPoint =
  1752       Template43FPoints: array[0..0] of TPoint =
  1753       (
  1753       (
  1754        (X: 4095; Y:    0)
  1754        (x: 4095; y:    0)
  1755       );
  1755       );
  1756 
  1756 
  1757 // 3 large caverns
  1757 // 3 large caverns
  1758 const Template44Points: array[0..14] of TSDL_Rect =
  1758 const Template44Points: array[0..14] of TSDL_Rect =
  1759       (
  1759       (
  1773        (x:    0; y:1800; w:   1; h: 200),
  1773        (x:    0; y:1800; w:   1; h: 200),
  1774        (x: NTPX; y:   0; w:   1; h:   1)
  1774        (x: NTPX; y:   0; w:   1; h:   1)
  1775       );
  1775       );
  1776       Template44FPoints: array[0..5] of TSDL_Rect =
  1776       Template44FPoints: array[0..5] of TSDL_Rect =
  1777       (
  1777       (
  1778        (X:   1; Y:  90; w:   0; h:   0),
  1778        (x:   1; y:  90; w:   0; h:   0),
  1779        (X:   1; Y: 500; w:   0; h:   0),
  1779        (x:   1; y: 500; w:   0; h:   0),
  1780        (X:4095; Y: 500; w:   0; h:   0),
  1780        (x:4095; y: 500; w:   0; h:   0),
  1781        (X:   1; Y:1200; w:   0; h:   0),
  1781        (x:   1; y:1200; w:   0; h:   0),
  1782        (X:4095; Y:1200; w:   0; h:   0),
  1782        (x:4095; y:1200; w:   0; h:   0),
  1783        (X:   1; Y:2010; w:   0; h:   0)
  1783        (x:   1; y:2010; w:   0; h:   0)
  1784       );
  1784       );
  1785 
  1785 
  1786 // large caverns with an island
  1786 // large caverns with an island
  1787 const Template45Points: array[0..11] of TSDL_Rect =
  1787 const Template45Points: array[0..11] of TSDL_Rect =
  1788       (
  1788       (
  1799        (x: 1000; y:1200; w: 200; h: 200),
  1799        (x: 1000; y:1200; w: 200; h: 200),
  1800        (x: NTPX; y:   0; w:   1; h:   1)
  1800        (x: NTPX; y:   0; w:   1; h:   1)
  1801       );
  1801       );
  1802       Template45FPoints: array[0..2] of TSDL_Rect =
  1802       Template45FPoints: array[0..2] of TSDL_Rect =
  1803       (
  1803       (
  1804        (X:   1; Y:   1; w:   0; h:   0),
  1804        (x:   1; y:   1; w:   0; h:   0),
  1805        (X:   1; Y:2047; w:   0; h:   0),
  1805        (x:   1; y:2047; w:   0; h:   0),
  1806        (X:1005; Y: 805; w:   0; h:   0)
  1806        (x:1005; y: 805; w:   0; h:   0)
  1807       );
  1807       );
  1808 
  1808 
  1809 ////////////////////////////////////////////////////////////////////////
  1809 ////////////////////////////////////////////////////////////////////////
  1810 var EdgeTemplates: array[0..45] of TEdgeTemplate =
  1810 var EdgeTemplates: array[0..45] of TEdgeTemplate =
  1811       (
  1811       (