hedgewars/uLandTemplates.pas
author unc0rr
Tue, 27 Dec 2005 10:19:21 +0000
changeset 30 794e98e11b66
parent 27 c374fe590272
child 35 9367f246fb5f
permissions -rw-r--r--
- Fixed slow sprite blt - More and better land templates
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
     1
unit uLandTemplates;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
     2
interface
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
     3
uses SDLh;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
     4
{$INCLUDE options.inc}
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
     5
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
     6
type PPointArray = ^TPointArray;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
     7
     TPointArray = array[0..0] of TPoint;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
     8
     TEdgeTemplate = record
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
     9
                     BasePoints: PPointArray;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    10
                     BasePointsCount: Longword;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    11
                     BezPassCnt: Longword; 
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    12
                     PassMin, PassDelta: Longword;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    13
                     WaveAmplMin, WaveAmplDelta: real;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    14
                     WaveFreqMin, WaveFreqDelta: real;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    15
                     FillPoints: PPointArray;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    16
                     FillPointsCount: Longword;
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    17
                     canMirror, canFlip: boolean;
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    18
                     end;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    19
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    20
const Template0Points: array[0..4] of TPoint =
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    21
      (
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    22
       (x:  500; y: 1500),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    23
       (x:  350; y:  400),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    24
       (x: 1023; y:  820),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    25
       (x: 1700; y:  400),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    26
       (x: 1550; y: 1500)
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    27
      );
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    28
      Template0FPoints: array[0..0] of TPoint =
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    29
      (
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    30
       (x: 1023; y: 1023)
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    31
      );
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    32
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    33
const Template1Points: array[0..12] of TPoint =
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    34
      (
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    35
       (x:  300; y: 1500),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    36
       (x:  300; y: 1000),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    37
       (x:  250; y:  750),
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    38
       (x:  550; y:  480),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    39
       (x:  650; y:  780),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    40
       (x:  810; y:  780),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    41
       (x:  800; y:  500),
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    42
       (x: 1200; y:  500),
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    43
       (x: 1300; y:  800),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    44
       (x: 1500; y:  500),
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    45
       (x: 1800; y:  750),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    46
       (x: 1750; y: 1000),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    47
       (x: 1750; y: 1500)
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    48
      );
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    49
      Template1FPoints: array[0..0] of TPoint =
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    50
      (
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    51
       (x: 1023; y: 1023)
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    52
      );
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    53
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    54
const Template2Points: array[0..28] of TPoint =
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    55
      (
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    56
       (x:  350; y: 1500),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    57
       (x:  350; y: 1000),
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    58
       (x:  190; y:  850),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    59
       (x:  500; y:  750),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    60
       (x:  520; y:  450),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    61
       (x:  190; y:  600),
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    62
       (x:  210; y:  260),
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    63
       (x:  800; y:  310),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    64
       (x: 1350; y:  220),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    65
       (x: 1250; y:  360),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    66
       (x: 1550; y:  520),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    67
       (x: 1100; y:  400),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    68
       (x:  900; y:  470),
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    69
       (x:  650; y:  400),
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    70
       (x:  900; y:  750),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    71
       (x:  600; y:  750),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    72
       (x:  600; y:  850),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    73
       (x: 1100; y:  900),
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    74
       (x: 1200; y: 1000),
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    75
       (x: 1200; y: 1300),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    76
       (x: 1400; y: 1300),
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    77
       (x: 1400; y: 1000),
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    78
       (x: 1280; y:  850),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    79
       (x: 1150; y:  630),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    80
       (x: 1600; y:  850),
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    81
       (x: 1800; y:  600),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    82
       (x: 1900; y:  600),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    83
       (x: 1700; y: 1010),
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    84
       (x: 1700; y: 1500)
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    85
      );
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    86
      Template2FPoints: array[0..1] of TPoint =
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    87
      (
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    88
       (x:  600; y: 1023),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    89
       (x: 1500; y: 1023)
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    90
      );
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    91
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    92
const Template3Points: array[0..23] of TPoint =
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    93
      (
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    94
       (x:  200; y: 1500),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    95
       (x:  200; y: 1000),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    96
       (x:  390; y:  650),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    97
       (x:  210; y:  260),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    98
       (x: 1000; y:  420),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    99
       (x: 1100; y:  200),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   100
       (x: 1250; y:  420),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   101
       (x: 1250; y:  620),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   102
       (x:  900; y:  610),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   103
       (x:  650; y:  450),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   104
       (x:  550; y:  500),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   105
       (x:  650; y:  700),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   106
       (x: 1200; y:  800),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   107
       (x: 1200; y: 1000),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   108
       (x: 1200; y: 1200),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   109
       (x: 1400; y: 1200),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   110
       (x: 1400; y: 1000),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   111
       (x: 1280; y:  750),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   112
       (x: 1500; y:  600),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   113
       (x: 1400; y:  200),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   114
       (x: 1800; y:  200),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   115
       (x: 1700; y:  600),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   116
       (x: 1900; y: 1010),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   117
       (x: 1800; y: 1200)
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   118
      );
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   119
      Template3FPoints: array[0..1] of TPoint =
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   120
      (
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   121
       (x:  500; y: 1023),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   122
       (x: 1500; y: 1023)
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   123
      );
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   124
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   125
const Template4Points: array[0..38] of TPoint =
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   126
      (
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   127
       (x:  200; y: 1500),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   128
       (x:  200; y: 1000),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   129
       (x:  210; y:  800),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   130
       (x:  480; y:  830),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   131
       (x:  460; y:  700),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   132
       (x:  150; y:  610),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   133
       (x:  150; y:  310),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   134
       (x:  220; y:  200),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   135
       (x:  340; y:  195),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   136
       (x:  410; y:  415),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   137
       (x:  420; y:  495),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   138
       (x:  535; y:  615),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   139
       (x:  705; y:  600),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   140
       (x:  760; y:  425),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   141
       (x:  815; y:  230),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   142
       (x:  970; y:  200),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   143
       (x: 1050; y:  360),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   144
       (x:  850; y:  590),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   145
       (x: 1070; y:  790),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   146
       (x: 1000; y: 1000),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   147
       (x: 1000; y: 1500),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   148
       (x: 1250; y: 1500),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   149
       (x: 1250; y: 1000),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   150
       (x: 1260; y:  830),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   151
       (x: 1290; y:  700),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   152
       (x: 1270; y:  450),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   153
       (x: 1180; y:  280),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   154
       (x: 1210; y:  160),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   155
       (x: 1370; y:  160),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   156
       (x: 1505; y:  205),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   157
       (x: 1630; y:  315),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   158
       (x: 1660; y:  450),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   159
       (x: 1580; y:  620),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   160
       (x: 1670; y:  725),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   161
       (x: 1800; y:  730),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   162
       (x: 1860; y:  680),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   163
       (x: 1925; y:  810),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   164
       (x: 1800; y: 1000),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   165
       (x: 1800; y: 1500)
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   166
      );
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   167
      Template4FPoints: array[0..1] of TPoint =
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   168
      (
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   169
       (x:  500; y: 1023),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   170
       (x: 1500; y: 1023)
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   171
      );
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   172
    
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   173
const Template5Points: array[0..10] of TPoint =
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   174
      (
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   175
       (x:  225; y: 1260),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   176
       (x:  254; y:  226),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   177
       (x:  729; y:  238),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   178
       (x:  658; y:  441),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   179
       (x:  661; y:  651),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   180
       (x: 1023; y:  759),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   181
       (x: 1374; y:  648),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   182
       (x: 1473; y:  285),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   183
       (x: 1803; y:  207),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   184
       (x: 1839; y:  801),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   185
       (x: 1674; y: 1239)
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   186
      );
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   187
      Template5FPoints: array[0..0] of TPoint =
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   188
      (
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   189
       (x: 1023; y: 1023)
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   190
      );
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   191
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   192
const EdgeTemplates: array[0..5] of TEdgeTemplate =
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   193
      (
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   194
       (BasePoints: @Template0Points;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   195
        BasePointsCount: Succ(High(Template0Points));
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   196
        BezPassCnt: 4;
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   197
        PassMin: 10; PassDelta: 5;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   198
        WaveAmplMin:    17; WaveAmplDelta: 20;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   199
        WaveFreqMin: 0.010; WaveFreqDelta: 0.002;
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   200
        FillPoints: @Template0FPoints;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   201
        FillPointsCount: Succ(High(Template0FPoints));
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   202
        canMirror: false; canFlip: false;
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   203
       ),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   204
       (BasePoints: @Template1Points;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   205
        BasePointsCount: Succ(High(Template1Points));
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   206
        BezPassCnt: 3;
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   207
        PassMin: 10; PassDelta: 2;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   208
        WaveAmplMin:    25; WaveAmplDelta: 15;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   209
        WaveFreqMin: 0.008; WaveFreqDelta: 0.002;
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   210
        FillPoints: @Template1FPoints;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   211
        FillPointsCount: Succ(High(Template1FPoints));
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   212
        canMirror: false; canFlip: false;
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   213
       ),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   214
       (BasePoints: @Template2Points;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   215
        BasePointsCount: Succ(High(Template2Points));
25
27aa8030322b - Get rid of old frontend
unc0rr
parents: 24
diff changeset
   216
        BezPassCnt: 3;
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   217
        PassMin: 14; PassDelta: 3;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   218
        WaveAmplMin:    10; WaveAmplDelta: 10;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   219
        WaveFreqMin: 0.010; WaveFreqDelta: 0.002;
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   220
        FillPoints: @Template2FPoints;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   221
        FillPointsCount: Succ(High(Template2FPoints));
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   222
        canMirror: true; canFlip: false;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   223
       ),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   224
       (BasePoints: @Template3Points;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   225
        BasePointsCount: Succ(High(Template3Points));
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   226
        BezPassCnt: 4;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   227
        PassMin: 15; PassDelta: 2;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   228
        WaveAmplMin:    8; WaveAmplDelta: 12;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   229
        WaveFreqMin: 0.015; WaveFreqDelta: 0.0015;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   230
        FillPoints: @Template3FPoints;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   231
        FillPointsCount: Succ(High(Template3FPoints));
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   232
        canMirror: true; canFlip: false;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   233
       ),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   234
       (BasePoints: @Template4Points;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   235
        BasePointsCount: Succ(High(Template4Points));
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   236
        BezPassCnt: 3;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   237
        PassMin: 19; PassDelta: 5;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   238
        WaveAmplMin:    12; WaveAmplDelta: 14;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   239
        WaveFreqMin: 0.008; WaveFreqDelta: 0.001;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   240
        FillPoints: @Template4FPoints;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   241
        FillPointsCount: Succ(High(Template4FPoints));
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   242
        canMirror: true; canFlip: false;
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   243
       ),       
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   244
       (BasePoints: @Template5Points;
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   245
        BasePointsCount: Succ(High(Template5Points));
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   246
        BezPassCnt: 4;
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   247
        PassMin: 15; PassDelta: 1;
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   248
        WaveAmplMin:    15; WaveAmplDelta: 14;
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   249
        WaveFreqMin: 0.008; WaveFreqDelta: 0.002;
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   250
        FillPoints: @Template5FPoints;
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   251
        FillPointsCount: Succ(High(Template5FPoints));
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   252
        canMirror: true; canFlip: false;
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   253
       )
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   254
       
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   255
      );
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   256
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   257
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   258
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   259
implementation
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   260
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   261
end.