hedgewars/uLandTemplates.pas
author unc0rr
Wed, 25 Jan 2006 19:45:39 +0000
changeset 56 a29135563e94
parent 51 b6e3ae05857f
child 67 3101306251e5
permissions -rw-r--r--
- Replaced water sprite - Many small ammo fixes - Increased speed of placing land objects - New land template
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
51
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
     1
(*
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
     2
 * Hedgewars, a worms-like game
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
     3
 * Copyright (c) 2005, 2006 Andrey Korotaev <unC0Rr@gmail.com>
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
     4
 *
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
     5
 * Distributed under the terms of the BSD-modified licence:
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
     6
 *
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
     7
 * Permission is hereby granted, free of charge, to any person obtaining a copy
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
     8
 * of this software and associated documentation files (the "Software"), to deal
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
     9
 * with the Software without restriction, including without limitation the
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    10
 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    11
 * sell copies of the Software, and to permit persons to whom the Software is
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    12
 * furnished to do so, subject to the following conditions:
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    13
 *
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    14
 * 1. Redistributions of source code must retain the above copyright notice,
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    15
 *    this list of conditions and the following disclaimer.
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    16
 * 2. Redistributions in binary form must reproduce the above copyright notice,
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    17
 *    this list of conditions and the following disclaimer in the documentation
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    18
 *    and/or other materials provided with the distribution.
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    19
 * 3. The name of the author may not be used to endorse or promote products
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    20
 *    derived from this software without specific prior written permission.
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    21
 *
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    22
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    23
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    24
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    25
 * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    26
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    27
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    28
 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    29
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    30
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    31
 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    32
 *)
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    33
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    34
unit uLandTemplates;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    35
interface
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    36
uses SDLh;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    37
{$INCLUDE options.inc}
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    38
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    39
type PPointArray = ^TPointArray;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    40
     TPointArray = array[0..0] of TPoint;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    41
     TEdgeTemplate = record
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    42
                     BasePoints: PPointArray;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    43
                     BasePointsCount: Longword;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    44
                     BezPassCnt: Longword; 
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    45
                     PassMin, PassDelta: Longword;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    46
                     WaveAmplMin, WaveAmplDelta: real;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    47
                     WaveFreqMin, WaveFreqDelta: real;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    48
                     FillPoints: PPointArray;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    49
                     FillPointsCount: Longword;
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    50
                     canMirror, canFlip: boolean;
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    51
                     end;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    52
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    53
const Template0Points: array[0..4] of TPoint =
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    54
      (
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    55
       (x:  500; y: 1500),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    56
       (x:  350; y:  400),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    57
       (x: 1023; y:  820),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    58
       (x: 1700; y:  400),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    59
       (x: 1550; y: 1500)
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    60
      );
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    61
      Template0FPoints: array[0..0] of TPoint =
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    62
      (
51
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    63
       (x: 1023; y:    0)
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    64
      );
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    65
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    66
const Template1Points: array[0..12] of TPoint =
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    67
      (
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    68
       (x:  300; y: 1500),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    69
       (x:  300; y: 1000),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    70
       (x:  250; y:  750),
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    71
       (x:  550; y:  480),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    72
       (x:  650; y:  780),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    73
       (x:  810; y:  780),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    74
       (x:  800; y:  500),
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    75
       (x: 1200; y:  500),
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    76
       (x: 1300; y:  800),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    77
       (x: 1500; y:  500),
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    78
       (x: 1800; y:  750),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    79
       (x: 1750; y: 1000),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    80
       (x: 1750; y: 1500)
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    81
      );
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    82
      Template1FPoints: array[0..0] of TPoint =
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    83
      (
51
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
    84
       (x: 1023; y:    0)
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
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    87
const Template2Points: array[0..28] of TPoint =
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    88
      (
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    89
       (x:  350; y: 1500),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    90
       (x:  350; y: 1000),
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    91
       (x:  190; y:  850),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    92
       (x:  500; y:  750),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    93
       (x:  520; y:  450),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
    94
       (x:  190; y:  600),
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
    95
       (x:  210; y:  260),
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    96
       (x:  800; y:  310),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    97
       (x: 1350; y:  220),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    98
       (x: 1250; y:  360),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
    99
       (x: 1550; y:  520),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   100
       (x: 1100; y:  400),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   101
       (x:  900; y:  470),
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   102
       (x:  650; y:  400),
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   103
       (x:  900; y:  750),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   104
       (x:  600; y:  750),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   105
       (x:  600; y:  850),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   106
       (x: 1100; y:  900),
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   107
       (x: 1200; y: 1000),
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   108
       (x: 1200; y: 1300),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   109
       (x: 1400; y: 1300),
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   110
       (x: 1400; y: 1000),
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   111
       (x: 1280; y:  850),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   112
       (x: 1150; y:  630),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   113
       (x: 1600; y:  850),
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   114
       (x: 1800; y:  600),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   115
       (x: 1900; y:  600),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   116
       (x: 1700; y: 1010),
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   117
       (x: 1700; y: 1500)
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   118
      );
51
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   119
      Template2FPoints: array[0..0] of TPoint =
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   120
      (
51
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   121
       (x: 1023; y:    0)
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   122
      );
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   123
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   124
const Template3Points: array[0..23] of TPoint =
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   125
      (
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   126
       (x:  200; y: 1500),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   127
       (x:  200; y: 1000),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   128
       (x:  390; y:  650),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   129
       (x:  210; y:  260),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   130
       (x: 1000; y:  420),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   131
       (x: 1100; y:  200),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   132
       (x: 1250; y:  420),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   133
       (x: 1250; y:  620),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   134
       (x:  900; y:  610),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   135
       (x:  650; y:  450),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   136
       (x:  550; y:  500),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   137
       (x:  650; y:  700),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   138
       (x: 1200; y:  800),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   139
       (x: 1200; y: 1000),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   140
       (x: 1200; y: 1200),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   141
       (x: 1400; y: 1200),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   142
       (x: 1400; y: 1000),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   143
       (x: 1280; y:  750),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   144
       (x: 1500; y:  600),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   145
       (x: 1400; y:  200),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   146
       (x: 1800; y:  200),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   147
       (x: 1700; y:  600),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   148
       (x: 1900; y: 1010),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   149
       (x: 1800; y: 1200)
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   150
      );
51
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   151
      Template3FPoints: array[0..0] of TPoint =
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   152
      (
51
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   153
       (x: 1023; y:    0)
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   154
      );
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   155
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   156
const Template4Points: array[0..38] of TPoint =
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   157
      (
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   158
       (x:  200; y: 1500),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   159
       (x:  200; y: 1000),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   160
       (x:  210; y:  800),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   161
       (x:  480; y:  830),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   162
       (x:  460; y:  700),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   163
       (x:  150; y:  610),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   164
       (x:  150; y:  310),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   165
       (x:  220; y:  200),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   166
       (x:  340; y:  195),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   167
       (x:  410; y:  415),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   168
       (x:  420; y:  495),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   169
       (x:  535; y:  615),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   170
       (x:  705; y:  600),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   171
       (x:  760; y:  425),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   172
       (x:  815; y:  230),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   173
       (x:  970; y:  200),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   174
       (x: 1050; y:  360),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   175
       (x:  850; y:  590),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   176
       (x: 1070; y:  790),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   177
       (x: 1000; y: 1000),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   178
       (x: 1000; y: 1500),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   179
       (x: 1250; y: 1500),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   180
       (x: 1250; y: 1000),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   181
       (x: 1260; y:  830),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   182
       (x: 1290; y:  700),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   183
       (x: 1270; y:  450),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   184
       (x: 1180; y:  280),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   185
       (x: 1210; y:  160),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   186
       (x: 1370; y:  160),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   187
       (x: 1505; y:  205),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   188
       (x: 1630; y:  315),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   189
       (x: 1660; y:  450),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   190
       (x: 1580; y:  620),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   191
       (x: 1670; y:  725),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   192
       (x: 1800; y:  730),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   193
       (x: 1860; y:  680),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   194
       (x: 1925; y:  810),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   195
       (x: 1800; y: 1000),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   196
       (x: 1800; y: 1500)
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   197
      );
51
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   198
      Template4FPoints: array[0..0] of TPoint =
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   199
      (
51
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   200
       (x: 1023; y:    0)
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   201
      );
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   202
    
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   203
const Template5Points: array[0..10] of TPoint =
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   204
      (
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   205
       (x:  225; y: 1260),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   206
       (x:  254; y:  226),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   207
       (x:  729; y:  238),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   208
       (x:  658; y:  441),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   209
       (x:  661; y:  651),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   210
       (x: 1023; y:  759),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   211
       (x: 1374; y:  648),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   212
       (x: 1473; y:  285),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   213
       (x: 1803; y:  207),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   214
       (x: 1839; y:  801),
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   215
       (x: 1674; y: 1239)
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   216
      );
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   217
      Template5FPoints: array[0..0] of TPoint =
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   218
      (
51
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   219
       (x: 1023; y:    0)
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   220
      );
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   221
35
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   222
const Template6Points: array[0..20] of TPoint =
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   223
      (
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   224
       (x:  318; y: 1494),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   225
       (x:  270; y: 1023),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   226
       (x:  252; y:  921),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   227
       (x:  480; y:  888),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   228
       (x:  492; y:  753),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   229
       (x:  654; y:  756),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   230
       (x:  687; y:  630),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   231
       (x:  906; y:  627),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   232
       (x:  987; y:  813),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   233
       (x: 1125; y:  825),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   234
       (x: 1134; y:  645),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   235
       (x: 1236; y:  558),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   236
       (x: 1260; y:  438),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   237
       (x: 1467; y:  462),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   238
       (x: 1536; y:  348),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   239
       (x: 1680; y:  402),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   240
       (x: 1713; y:  594),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   241
       (x: 1593; y:  693),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   242
       (x: 1707; y:  774),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   243
       (x: 1728; y:  894),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   244
       (x: 1788; y: 1491)
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   245
      );
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   246
      Template6FPoints: array[0..0] of TPoint =
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   247
      (
51
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   248
       (x: 1023; y:    0)
35
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   249
      );
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   250
49
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   251
const Template7Points: array[0..43] of TPoint =
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   252
      (
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   253
       (x:  180; y: 1485),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   254
       (x:  411; y: 1020),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   255
       (x:  402; y:  912),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   256
       (x:  141; y:  897),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   257
       (x:  156; y:  729),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   258
       (x:  417; y:  813),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   259
       (x:  432; y:  585),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   260
       (x:  147; y:  570),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   261
       (x:  138; y:  435),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   262
       (x:  444; y:  417),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   263
       (x:  447; y:  207),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   264
       (x:  573; y:  261),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   265
       (x:  663; y:  201),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   266
       (x:  711; y:  375),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   267
       (x:  897; y:  411),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   268
       (x:  936; y:  498),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   269
       (x:  663; y:  558),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   270
       (x:  669; y:  762),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   271
       (x:  957; y:  723),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   272
       (x:  984; y:  864),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   273
       (x:  729; y:  879),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   274
       (x:  879; y: 1020),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   275
       (x:  981; y: 1449),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   276
       (x: 1242; y: 1449),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   277
       (x: 1476; y: 1020),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   278
       (x: 1470; y:  900),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   279
       (x: 1284; y:  897),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   280
       (x: 1218; y:  774),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   281
       (x: 1464; y:  765),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   282
       (x: 1464; y:  672),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   283
       (x: 1119; y:  630),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   284
       (x: 1116; y:  537),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   285
       (x: 1485; y:  501),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   286
       (x: 1167; y:  246),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   287
       (x: 1263; y:  180),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   288
       (x: 1572; y:  312),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   289
       (x: 1767; y:  162),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   290
       (x: 1827; y:  306),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   291
       (x: 1647; y:  465),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   292
       (x: 1875; y:  621),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   293
       (x: 1683; y:  747),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   294
       (x: 1665; y:  831),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   295
       (x: 1818; y:  951),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   296
       (x: 1893; y: 1476)
51
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   297
      );
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   298
      Template7FPoints: array[0..0] of TPoint =
49
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   299
      (
51
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   300
       (x: 1023; y:    0)
49
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   301
      );
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   302
51
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   303
const Template8Points: array[0..23] of TPoint =
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   304
      (
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   305
       (x:  222; y: 1482),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   306
       (x:  354; y: 1023),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   307
       (x:  249; y:  783),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   308
       (x:  240; y:  421),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   309
       (x:  411; y:  401),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   310
       (x:  432; y:  777),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   311
       (x:  573; y:  777),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   312
       (x:  567; y:  300),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   313
       (x:  696; y:  250),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   314
       (x:  744; y:  683),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   315
       (x:  897; y:  698),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   316
       (x:  885; y:  450),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   317
       (x: 1032; y:  479),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   318
       (x: 1065; y:  698),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   319
       (x: 1200; y:  690),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   320
       (x: 1200; y:  218),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   321
       (x: 1326; y:  252),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   322
       (x: 1359; y:  786),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   323
       (x: 1470; y:  810),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   324
       (x: 1485; y:  379),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   325
       (x: 1608; y:  342),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   326
       (x: 1641; y:  819),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   327
       (x: 1719; y:  864),
56
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   328
       (x: 1746; y: 1440)
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   329
      );
51
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   330
      Template8FPoints: array[0..0] of TPoint =
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   331
      (
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   332
       (x: 1023; y:    0)
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   333
      );
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   334
56
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   335
const Template9Points: array[0..23] of TPoint =
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   336
      (
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   337
       (x:  384; y: 1488),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   338
       (x:  210; y: 1023),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   339
       (x:  213; y:  891),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   340
       (x:  501; y:  861),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   341
       (x:  228; y:  657),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   342
       (x:  558; y:  676),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   343
       (x:  561; y:  513),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   344
       (x:  246; y:  354),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   345
       (x:  609; y:  393),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   346
       (x:  876; y:  309),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   347
       (x:  759; y:  576),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   348
       (x:  759; y:  762),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   349
       (x: 1113; y:  750),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   350
       (x: 1128; y:  873),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   351
       (x: 1488; y:  870),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   352
       (x: 1473; y:  678),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   353
       (x: 1182; y:  501),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   354
       (x: 1515; y:  507),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   355
       (x: 1776; y:  393),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   356
       (x: 1668; y:  630),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   357
       (x: 1833; y:  714),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   358
       (x: 1674; y:  837),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   359
       (x: 1800; y: 1020),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   360
       (x: 1632; y: 1491)
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   361
      );
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   362
      Template9FPoints: array[0..0] of TPoint =
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   363
      (
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   364
       (x: 1023; y:    0)
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   365
      );
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   366
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   367
const EdgeTemplates: array[0..9] of TEdgeTemplate =
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   368
      (
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   369
       (BasePoints: @Template0Points;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   370
        BasePointsCount: Succ(High(Template0Points));
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   371
        BezPassCnt: 4;
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   372
        PassMin: 10; PassDelta: 5;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   373
        WaveAmplMin:    17; WaveAmplDelta: 20;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   374
        WaveFreqMin: 0.010; WaveFreqDelta: 0.002;
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   375
        FillPoints: @Template0FPoints;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   376
        FillPointsCount: Succ(High(Template0FPoints));
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   377
        canMirror: false; canFlip: false;
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   378
       ),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   379
       (BasePoints: @Template1Points;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   380
        BasePointsCount: Succ(High(Template1Points));
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   381
        BezPassCnt: 3;
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   382
        PassMin: 10; PassDelta: 2;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   383
        WaveAmplMin:    25; WaveAmplDelta: 15;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   384
        WaveFreqMin: 0.008; WaveFreqDelta: 0.002;
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   385
        FillPoints: @Template1FPoints;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   386
        FillPointsCount: Succ(High(Template1FPoints));
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   387
        canMirror: false; canFlip: false;
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   388
       ),
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   389
       (BasePoints: @Template2Points;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   390
        BasePointsCount: Succ(High(Template2Points));
25
27aa8030322b - Get rid of old frontend
unc0rr
parents: 24
diff changeset
   391
        BezPassCnt: 3;
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   392
        PassMin: 14; PassDelta: 3;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   393
        WaveAmplMin:    10; WaveAmplDelta: 10;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   394
        WaveFreqMin: 0.010; WaveFreqDelta: 0.002;
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   395
        FillPoints: @Template2FPoints;
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   396
        FillPointsCount: Succ(High(Template2FPoints));
27
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   397
        canMirror: true; canFlip: false;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   398
       ),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   399
       (BasePoints: @Template3Points;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   400
        BasePointsCount: Succ(High(Template3Points));
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   401
        BezPassCnt: 4;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   402
        PassMin: 15; PassDelta: 2;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   403
        WaveAmplMin:    8; WaveAmplDelta: 12;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   404
        WaveFreqMin: 0.015; WaveFreqDelta: 0.0015;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   405
        FillPoints: @Template3FPoints;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   406
        FillPointsCount: Succ(High(Template3FPoints));
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   407
        canMirror: true; canFlip: false;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   408
       ),
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   409
       (BasePoints: @Template4Points;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   410
        BasePointsCount: Succ(High(Template4Points));
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   411
        BezPassCnt: 3;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   412
        PassMin: 19; PassDelta: 5;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   413
        WaveAmplMin:    12; WaveAmplDelta: 14;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   414
        WaveFreqMin: 0.008; WaveFreqDelta: 0.001;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   415
        FillPoints: @Template4FPoints;
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   416
        FillPointsCount: Succ(High(Template4FPoints));
c374fe590272 - improve land generation
unc0rr
parents: 25
diff changeset
   417
        canMirror: true; canFlip: false;
49
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   418
       ),
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   419
       (BasePoints: @Template5Points;
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   420
        BasePointsCount: Succ(High(Template5Points));
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   421
        BezPassCnt: 4;
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   422
        PassMin: 15; PassDelta: 1;
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   423
        WaveAmplMin:    15; WaveAmplDelta: 14;
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   424
        WaveFreqMin: 0.008; WaveFreqDelta: 0.002;
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   425
        FillPoints: @Template5FPoints;
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   426
        FillPointsCount: Succ(High(Template5FPoints));
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   427
        canMirror: true; canFlip: false;
35
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   428
       ),
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   429
      (BasePoints: @Template6Points;
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   430
       BasePointsCount: Succ(High(Template6Points));
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   431
       BezPassCnt: 3;
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   432
       PassMin: 15; PassDelta: 1;
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   433
       WaveAmplMin:    15; WaveAmplDelta: 10;
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   434
       WaveFreqMin: 0.010; WaveFreqDelta: 0.0015;
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   435
       FillPoints: @Template6FPoints;
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   436
       FillPointsCount: Succ(High(Template6FPoints));
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   437
       canMirror: true; canFlip: false;
49
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   438
      ),
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   439
      (BasePoints: @Template7Points;
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   440
       BasePointsCount: Succ(High(Template7Points));
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   441
       BezPassCnt: 3;
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   442
       PassMin: 12; PassDelta: 4;
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   443
       WaveAmplMin:     5; WaveAmplDelta: 15;
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   444
       WaveFreqMin: 0.015; WaveFreqDelta: 0.002;
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   445
       FillPoints: @Template7FPoints;
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   446
       FillPointsCount: Succ(High(Template7FPoints));
3afe33c1cf06 - Teams health bars sorting
unc0rr
parents: 35
diff changeset
   447
       canMirror: true; canFlip: false;
51
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   448
      ),
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   449
      (BasePoints: @Template8Points;
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   450
       BasePointsCount: Succ(High(Template8Points));
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   451
       BezPassCnt: 4;
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   452
       PassMin:  9; PassDelta: 3;
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   453
       WaveAmplMin:    18; WaveAmplDelta: 18;
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   454
       WaveFreqMin: 0.010; WaveFreqDelta: 0.002;
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   455
       FillPoints: @Template8FPoints;
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   456
       FillPointsCount: Succ(High(Template8FPoints));
b6e3ae05857f - Get rid of hwserv and runhelper
unc0rr
parents: 49
diff changeset
   457
       canMirror: true; canFlip: false;
56
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   458
      ),
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   459
      (BasePoints: @Template9Points;
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   460
       BasePointsCount: Succ(High(Template8Points));
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   461
       BezPassCnt: 4;
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   462
       PassMin: 17; PassDelta: 3;
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   463
       WaveAmplMin:    10; WaveAmplDelta: 10;
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   464
       WaveFreqMin: 0.010; WaveFreqDelta: 0.002;
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   465
       FillPoints: @Template9FPoints;
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   466
       FillPointsCount: Succ(High(Template9FPoints));
a29135563e94 - Replaced water sprite
unc0rr
parents: 51
diff changeset
   467
       canMirror: true; canFlip: false;
35
9367f246fb5f - New rope
unc0rr
parents: 30
diff changeset
   468
      )
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   469
      );
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   470
30
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   471
794e98e11b66 - Fixed slow sprite blt
unc0rr
parents: 27
diff changeset
   472
23
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   473
implementation
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   474
16322d14f068 - Land generator uses templates to generate
unc0rr
parents:
diff changeset
   475
end.