author | unc0rr |
Sun, 20 Aug 2006 19:22:12 +0000 | |
changeset 123 | 6987769ced3d |
parent 109 | ab0340f580c2 |
child 160 | 207f520b9e83 |
permissions | -rw-r--r-- |
51 | 1 |
(* |
2 |
* Hedgewars, a worms-like game |
|
3 |
* Copyright (c) 2005, 2006 Andrey Korotaev <unC0Rr@gmail.com> |
|
4 |
* |
|
5 |
* Distributed under the terms of the BSD-modified licence: |
|
6 |
* |
|
7 |
* Permission is hereby granted, free of charge, to any person obtaining a copy |
|
8 |
* of this software and associated documentation files (the "Software"), to deal |
|
9 |
* with the Software without restriction, including without limitation the |
|
10 |
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
11 |
* sell copies of the Software, and to permit persons to whom the Software is |
|
12 |
* furnished to do so, subject to the following conditions: |
|
13 |
* |
|
14 |
* 1. Redistributions of source code must retain the above copyright notice, |
|
15 |
* this list of conditions and the following disclaimer. |
|
16 |
* 2. Redistributions in binary form must reproduce the above copyright notice, |
|
17 |
* this list of conditions and the following disclaimer in the documentation |
|
18 |
* and/or other materials provided with the distribution. |
|
19 |
* 3. The name of the author may not be used to endorse or promote products |
|
20 |
* derived from this software without specific prior written permission. |
|
21 |
* |
|
22 |
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED |
|
23 |
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
|
24 |
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO |
|
25 |
* EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
26 |
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
|
27 |
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
|
28 |
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
|
29 |
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
|
30 |
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
|
31 |
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
32 |
*) |
|
33 |
||
23 | 34 |
unit uLandTemplates; |
35 |
interface |
|
36 |
uses SDLh; |
|
37 |
{$INCLUDE options.inc} |
|
38 |
||
39 |
type PPointArray = ^TPointArray; |
|
109 | 40 |
TPointArray = array[0..64] of TPoint; |
23 | 41 |
TEdgeTemplate = record |
42 |
BasePoints: PPointArray; |
|
43 |
BasePointsCount: Longword; |
|
44 |
BezPassCnt: Longword; |
|
45 |
PassMin, PassDelta: Longword; |
|
107 | 46 |
WaveAmplMin, WaveAmplDelta: Double; |
47 |
WaveFreqMin, WaveFreqDelta: Double; |
|
23 | 48 |
FillPoints: PPointArray; |
49 |
FillPointsCount: Longword; |
|
27 | 50 |
canMirror, canFlip: boolean; |
23 | 51 |
end; |
52 |
||
53 |
const Template0Points: array[0..4] of TPoint = |
|
54 |
( |
|
55 |
(x: 500; y: 1500), |
|
56 |
(x: 350; y: 400), |
|
57 |
(x: 1023; y: 820), |
|
58 |
(x: 1700; y: 400), |
|
59 |
(x: 1550; y: 1500) |
|
60 |
); |
|
61 |
Template0FPoints: array[0..0] of TPoint = |
|
62 |
( |
|
51 | 63 |
(x: 1023; y: 0) |
23 | 64 |
); |
65 |
||
30 | 66 |
const Template1Points: array[0..12] of TPoint = |
23 | 67 |
( |
68 |
(x: 300; y: 1500), |
|
69 |
(x: 300; y: 1000), |
|
70 |
(x: 250; y: 750), |
|
30 | 71 |
(x: 550; y: 480), |
72 |
(x: 650; y: 780), |
|
73 |
(x: 810; y: 780), |
|
74 |
(x: 800; y: 500), |
|
27 | 75 |
(x: 1200; y: 500), |
30 | 76 |
(x: 1300; y: 800), |
77 |
(x: 1500; y: 500), |
|
23 | 78 |
(x: 1800; y: 750), |
79 |
(x: 1750; y: 1000), |
|
80 |
(x: 1750; y: 1500) |
|
81 |
); |
|
82 |
Template1FPoints: array[0..0] of TPoint = |
|
83 |
( |
|
51 | 84 |
(x: 1023; y: 0) |
23 | 85 |
); |
86 |
||
30 | 87 |
const Template2Points: array[0..28] of TPoint = |
23 | 88 |
( |
89 |
(x: 350; y: 1500), |
|
90 |
(x: 350; y: 1000), |
|
27 | 91 |
(x: 190; y: 850), |
92 |
(x: 500; y: 750), |
|
93 |
(x: 520; y: 450), |
|
94 |
(x: 190; y: 600), |
|
23 | 95 |
(x: 210; y: 260), |
30 | 96 |
(x: 800; y: 310), |
97 |
(x: 1350; y: 220), |
|
98 |
(x: 1250; y: 360), |
|
99 |
(x: 1550; y: 520), |
|
100 |
(x: 1100; y: 400), |
|
101 |
(x: 900; y: 470), |
|
23 | 102 |
(x: 650; y: 400), |
30 | 103 |
(x: 900; y: 750), |
104 |
(x: 600; y: 750), |
|
105 |
(x: 600; y: 850), |
|
106 |
(x: 1100; y: 900), |
|
23 | 107 |
(x: 1200; y: 1000), |
30 | 108 |
(x: 1200; y: 1300), |
109 |
(x: 1400; y: 1300), |
|
23 | 110 |
(x: 1400; y: 1000), |
30 | 111 |
(x: 1280; y: 850), |
112 |
(x: 1150; y: 630), |
|
113 |
(x: 1600; y: 850), |
|
23 | 114 |
(x: 1800; y: 600), |
115 |
(x: 1900; y: 600), |
|
116 |
(x: 1700; y: 1010), |
|
30 | 117 |
(x: 1700; y: 1500) |
23 | 118 |
); |
51 | 119 |
Template2FPoints: array[0..0] of TPoint = |
23 | 120 |
( |
51 | 121 |
(x: 1023; y: 0) |
23 | 122 |
); |
123 |
||
27 | 124 |
const Template3Points: array[0..23] of TPoint = |
125 |
( |
|
126 |
(x: 200; y: 1500), |
|
127 |
(x: 200; y: 1000), |
|
128 |
(x: 390; y: 650), |
|
129 |
(x: 210; y: 260), |
|
130 |
(x: 1000; y: 420), |
|
131 |
(x: 1100; y: 200), |
|
132 |
(x: 1250; y: 420), |
|
133 |
(x: 1250; y: 620), |
|
134 |
(x: 900; y: 610), |
|
135 |
(x: 650; y: 450), |
|
136 |
(x: 550; y: 500), |
|
137 |
(x: 650; y: 700), |
|
138 |
(x: 1200; y: 800), |
|
139 |
(x: 1200; y: 1000), |
|
140 |
(x: 1200; y: 1200), |
|
141 |
(x: 1400; y: 1200), |
|
142 |
(x: 1400; y: 1000), |
|
143 |
(x: 1280; y: 750), |
|
144 |
(x: 1500; y: 600), |
|
145 |
(x: 1400; y: 200), |
|
146 |
(x: 1800; y: 200), |
|
147 |
(x: 1700; y: 600), |
|
148 |
(x: 1900; y: 1010), |
|
149 |
(x: 1800; y: 1200) |
|
150 |
); |
|
51 | 151 |
Template3FPoints: array[0..0] of TPoint = |
27 | 152 |
( |
51 | 153 |
(x: 1023; y: 0) |
27 | 154 |
); |
155 |
||
156 |
const Template4Points: array[0..38] of TPoint = |
|
157 |
( |
|
158 |
(x: 200; y: 1500), |
|
159 |
(x: 200; y: 1000), |
|
160 |
(x: 210; y: 800), |
|
161 |
(x: 480; y: 830), |
|
162 |
(x: 460; y: 700), |
|
163 |
(x: 150; y: 610), |
|
164 |
(x: 150; y: 310), |
|
165 |
(x: 220; y: 200), |
|
166 |
(x: 340; y: 195), |
|
167 |
(x: 410; y: 415), |
|
168 |
(x: 420; y: 495), |
|
169 |
(x: 535; y: 615), |
|
170 |
(x: 705; y: 600), |
|
171 |
(x: 760; y: 425), |
|
172 |
(x: 815; y: 230), |
|
173 |
(x: 970; y: 200), |
|
174 |
(x: 1050; y: 360), |
|
175 |
(x: 850; y: 590), |
|
176 |
(x: 1070; y: 790), |
|
177 |
(x: 1000; y: 1000), |
|
178 |
(x: 1000; y: 1500), |
|
179 |
(x: 1250; y: 1500), |
|
180 |
(x: 1250; y: 1000), |
|
181 |
(x: 1260; y: 830), |
|
182 |
(x: 1290; y: 700), |
|
183 |
(x: 1270; y: 450), |
|
184 |
(x: 1180; y: 280), |
|
185 |
(x: 1210; y: 160), |
|
186 |
(x: 1370; y: 160), |
|
187 |
(x: 1505; y: 205), |
|
188 |
(x: 1630; y: 315), |
|
189 |
(x: 1660; y: 450), |
|
190 |
(x: 1580; y: 620), |
|
191 |
(x: 1670; y: 725), |
|
192 |
(x: 1800; y: 730), |
|
193 |
(x: 1860; y: 680), |
|
194 |
(x: 1925; y: 810), |
|
195 |
(x: 1800; y: 1000), |
|
196 |
(x: 1800; y: 1500) |
|
197 |
); |
|
51 | 198 |
Template4FPoints: array[0..0] of TPoint = |
27 | 199 |
( |
51 | 200 |
(x: 1023; y: 0) |
27 | 201 |
); |
30 | 202 |
|
203 |
const Template5Points: array[0..10] of TPoint = |
|
204 |
( |
|
205 |
(x: 225; y: 1260), |
|
206 |
(x: 254; y: 226), |
|
207 |
(x: 729; y: 238), |
|
208 |
(x: 658; y: 441), |
|
209 |
(x: 661; y: 651), |
|
210 |
(x: 1023; y: 759), |
|
211 |
(x: 1374; y: 648), |
|
212 |
(x: 1473; y: 285), |
|
213 |
(x: 1803; y: 207), |
|
214 |
(x: 1839; y: 801), |
|
215 |
(x: 1674; y: 1239) |
|
216 |
); |
|
217 |
Template5FPoints: array[0..0] of TPoint = |
|
218 |
( |
|
51 | 219 |
(x: 1023; y: 0) |
30 | 220 |
); |
27 | 221 |
|
35 | 222 |
const Template6Points: array[0..20] of TPoint = |
223 |
( |
|
224 |
(x: 318; y: 1494), |
|
225 |
(x: 270; y: 1023), |
|
226 |
(x: 252; y: 921), |
|
227 |
(x: 480; y: 888), |
|
228 |
(x: 492; y: 753), |
|
229 |
(x: 654; y: 756), |
|
230 |
(x: 687; y: 630), |
|
231 |
(x: 906; y: 627), |
|
232 |
(x: 987; y: 813), |
|
233 |
(x: 1125; y: 825), |
|
234 |
(x: 1134; y: 645), |
|
235 |
(x: 1236; y: 558), |
|
236 |
(x: 1260; y: 438), |
|
237 |
(x: 1467; y: 462), |
|
238 |
(x: 1536; y: 348), |
|
239 |
(x: 1680; y: 402), |
|
240 |
(x: 1713; y: 594), |
|
241 |
(x: 1593; y: 693), |
|
242 |
(x: 1707; y: 774), |
|
243 |
(x: 1728; y: 894), |
|
244 |
(x: 1788; y: 1491) |
|
245 |
); |
|
246 |
Template6FPoints: array[0..0] of TPoint = |
|
247 |
( |
|
51 | 248 |
(x: 1023; y: 0) |
35 | 249 |
); |
250 |
||
49 | 251 |
const Template7Points: array[0..43] of TPoint = |
252 |
( |
|
253 |
(x: 180; y: 1485), |
|
254 |
(x: 411; y: 1020), |
|
255 |
(x: 402; y: 912), |
|
256 |
(x: 141; y: 897), |
|
257 |
(x: 156; y: 729), |
|
258 |
(x: 417; y: 813), |
|
259 |
(x: 432; y: 585), |
|
260 |
(x: 147; y: 570), |
|
261 |
(x: 138; y: 435), |
|
262 |
(x: 444; y: 417), |
|
263 |
(x: 447; y: 207), |
|
264 |
(x: 573; y: 261), |
|
265 |
(x: 663; y: 201), |
|
266 |
(x: 711; y: 375), |
|
267 |
(x: 897; y: 411), |
|
268 |
(x: 936; y: 498), |
|
269 |
(x: 663; y: 558), |
|
270 |
(x: 669; y: 762), |
|
271 |
(x: 957; y: 723), |
|
272 |
(x: 984; y: 864), |
|
273 |
(x: 729; y: 879), |
|
274 |
(x: 879; y: 1020), |
|
275 |
(x: 981; y: 1449), |
|
276 |
(x: 1242; y: 1449), |
|
277 |
(x: 1476; y: 1020), |
|
278 |
(x: 1470; y: 900), |
|
279 |
(x: 1284; y: 897), |
|
280 |
(x: 1218; y: 774), |
|
281 |
(x: 1464; y: 765), |
|
282 |
(x: 1464; y: 672), |
|
283 |
(x: 1119; y: 630), |
|
284 |
(x: 1116; y: 537), |
|
285 |
(x: 1485; y: 501), |
|
286 |
(x: 1167; y: 246), |
|
287 |
(x: 1263; y: 180), |
|
288 |
(x: 1572; y: 312), |
|
289 |
(x: 1767; y: 162), |
|
290 |
(x: 1827; y: 306), |
|
291 |
(x: 1647; y: 465), |
|
292 |
(x: 1875; y: 621), |
|
293 |
(x: 1683; y: 747), |
|
294 |
(x: 1665; y: 831), |
|
295 |
(x: 1818; y: 951), |
|
296 |
(x: 1893; y: 1476) |
|
51 | 297 |
); |
298 |
Template7FPoints: array[0..0] of TPoint = |
|
49 | 299 |
( |
51 | 300 |
(x: 1023; y: 0) |
49 | 301 |
); |
302 |
||
51 | 303 |
const Template8Points: array[0..23] of TPoint = |
304 |
( |
|
305 |
(x: 222; y: 1482), |
|
306 |
(x: 354; y: 1023), |
|
307 |
(x: 249; y: 783), |
|
308 |
(x: 240; y: 421), |
|
309 |
(x: 411; y: 401), |
|
310 |
(x: 432; y: 777), |
|
311 |
(x: 573; y: 777), |
|
312 |
(x: 567; y: 300), |
|
313 |
(x: 696; y: 250), |
|
314 |
(x: 744; y: 683), |
|
315 |
(x: 897; y: 698), |
|
316 |
(x: 885; y: 450), |
|
317 |
(x: 1032; y: 479), |
|
318 |
(x: 1065; y: 698), |
|
319 |
(x: 1200; y: 690), |
|
320 |
(x: 1200; y: 218), |
|
321 |
(x: 1326; y: 252), |
|
322 |
(x: 1359; y: 786), |
|
323 |
(x: 1470; y: 810), |
|
324 |
(x: 1485; y: 379), |
|
325 |
(x: 1608; y: 342), |
|
326 |
(x: 1641; y: 819), |
|
327 |
(x: 1719; y: 864), |
|
56 | 328 |
(x: 1746; y: 1440) |
329 |
); |
|
51 | 330 |
Template8FPoints: array[0..0] of TPoint = |
331 |
( |
|
332 |
(x: 1023; y: 0) |
|
333 |
); |
|
334 |
||
56 | 335 |
const Template9Points: array[0..23] of TPoint = |
336 |
( |
|
337 |
(x: 384; y: 1488), |
|
338 |
(x: 210; y: 1023), |
|
339 |
(x: 213; y: 891), |
|
340 |
(x: 501; y: 861), |
|
341 |
(x: 228; y: 657), |
|
342 |
(x: 558; y: 676), |
|
343 |
(x: 561; y: 513), |
|
344 |
(x: 246; y: 354), |
|
345 |
(x: 609; y: 393), |
|
346 |
(x: 876; y: 309), |
|
347 |
(x: 759; y: 576), |
|
348 |
(x: 759; y: 762), |
|
349 |
(x: 1113; y: 750), |
|
350 |
(x: 1128; y: 873), |
|
351 |
(x: 1488; y: 870), |
|
352 |
(x: 1473; y: 678), |
|
353 |
(x: 1182; y: 501), |
|
354 |
(x: 1515; y: 507), |
|
355 |
(x: 1776; y: 393), |
|
356 |
(x: 1668; y: 630), |
|
357 |
(x: 1833; y: 714), |
|
358 |
(x: 1674; y: 837), |
|
359 |
(x: 1800; y: 1020), |
|
360 |
(x: 1632; y: 1491) |
|
361 |
); |
|
362 |
Template9FPoints: array[0..0] of TPoint = |
|
363 |
( |
|
364 |
(x: 1023; y: 0) |
|
365 |
); |
|
366 |
||
67 | 367 |
const Template10Points: array[0..13] of TPoint = |
368 |
( |
|
369 |
(x: 336; y: 1476), |
|
370 |
(x: 303; y: 1026), |
|
371 |
(x: 225; y: 921), |
|
372 |
(x: 216; y: 741), |
|
373 |
(x: 774; y: 810), |
|
374 |
(x: 687; y: 336), |
|
375 |
(x: 975; y: 192), |
|
376 |
(x: 1350; y: 324), |
|
377 |
(x: 1230; y: 681), |
|
378 |
(x: 1257; y: 855), |
|
379 |
(x: 1623; y: 846), |
|
380 |
(x: 1821; y: 657), |
|
381 |
(x: 1911; y: 897), |
|
382 |
(x: 1704; y: 1446) |
|
383 |
); |
|
384 |
Template10FPoints: array[0..0] of TPoint = |
|
385 |
( |
|
386 |
(x: 1023; y: 0) |
|
387 |
); |
|
388 |
||
389 |
const Template11Points: array[0..9] of TPoint = |
|
390 |
( |
|
391 |
(x: 270; y: 1407), |
|
392 |
(x: 180; y: 795), |
|
393 |
(x: 453; y: 753), |
|
394 |
(x: 537; y: 900), |
|
395 |
(x: 822; y: 729), |
|
396 |
(x: 1128; y: 882), |
|
397 |
(x: 1269; y: 657), |
|
398 |
(x: 1560; y: 915), |
|
399 |
(x: 1812; y: 867), |
|
400 |
(x: 1854; y: 1347) |
|
401 |
); |
|
402 |
Template11FPoints: array[0..0] of TPoint = |
|
403 |
( |
|
404 |
(x: 1023; y: 0) |
|
405 |
); |
|
406 |
||
92
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
407 |
const Template12Points: array[0..38] of TPoint = |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
408 |
( |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
409 |
(x: 201; y: 1224), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
410 |
(x: 207; y: 920), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
411 |
(x: 360; y: 901), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
412 |
(x: 345; y: 822), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
413 |
(x: 183; y: 810), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
414 |
(x: 183; y: 632), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
415 |
(x: 327; y: 628), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
416 |
(x: 165; y: 402), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
417 |
(x: 462; y: 443), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
418 |
(x: 555; y: 272), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
419 |
(x: 525; y: 556), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
420 |
(x: 618; y: 647), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
421 |
(x: 483; y: 712), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
422 |
(x: 468; y: 860), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
423 |
(x: 810; y: 884), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
424 |
(x: 879; y: 796), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
425 |
(x: 756; y: 764), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
426 |
(x: 771; y: 620), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
427 |
(x: 960; y: 625), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
428 |
(x: 969; y: 517), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
429 |
(x: 771; y: 503), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
430 |
(x: 768; y: 395), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
431 |
(x: 1092; y: 412), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
432 |
(x: 1125; y: 616), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
433 |
(x: 1029; y: 767), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
434 |
(x: 1404; y: 858), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
435 |
(x: 1440; y: 714), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
436 |
(x: 1293; y: 688), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
437 |
(x: 1344; y: 320), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
438 |
(x: 1548; y: 342), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
439 |
(x: 1494; y: 563), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
440 |
(x: 1614; y: 570), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
441 |
(x: 1710; y: 383), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
442 |
(x: 1860; y: 448), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
443 |
(x: 1683; y: 664), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
444 |
(x: 1773; y: 726), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
445 |
(x: 1578; y: 836), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
446 |
(x: 1746; y: 918), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
447 |
(x: 1662; y: 1220) |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
448 |
); |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
449 |
Template12FPoints: array[0..0] of TPoint = |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
450 |
( |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
451 |
(x: 1023; y: 0) |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
452 |
); |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
453 |
|
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
454 |
const Template13Points: array[0..13] of TPoint = |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
455 |
( |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
456 |
(x: 645; y: 1282), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
457 |
(x: 198; y: 732), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
458 |
(x: 402; y: 648), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
459 |
(x: 609; y: 763), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
460 |
(x: 750; y: 590), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
461 |
(x: 303; y: 376), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
462 |
(x: 1023; y: 441), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
463 |
(x: 1023; y: 316), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
464 |
(x: 1719; y: 329), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
465 |
(x: 1695; y: 457), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
466 |
(x: 1038; y: 576), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
467 |
(x: 1017; y: 756), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
468 |
(x: 1803; y: 728), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
469 |
(x: 1503; y: 1256) |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
470 |
); |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
471 |
Template13FPoints: array[0..0] of TPoint = |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
472 |
( |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
473 |
(x: 1023; y: 0) |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
474 |
); |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
475 |
|
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
476 |
const EdgeTemplates: array[0..13] of TEdgeTemplate = |
23 | 477 |
( |
478 |
(BasePoints: @Template0Points; |
|
479 |
BasePointsCount: Succ(High(Template0Points)); |
|
480 |
BezPassCnt: 4; |
|
27 | 481 |
PassMin: 10; PassDelta: 5; |
482 |
WaveAmplMin: 17; WaveAmplDelta: 20; |
|
483 |
WaveFreqMin: 0.010; WaveFreqDelta: 0.002; |
|
23 | 484 |
FillPoints: @Template0FPoints; |
485 |
FillPointsCount: Succ(High(Template0FPoints)); |
|
27 | 486 |
canMirror: false; canFlip: false; |
23 | 487 |
), |
488 |
(BasePoints: @Template1Points; |
|
489 |
BasePointsCount: Succ(High(Template1Points)); |
|
30 | 490 |
BezPassCnt: 3; |
27 | 491 |
PassMin: 10; PassDelta: 2; |
492 |
WaveAmplMin: 25; WaveAmplDelta: 15; |
|
493 |
WaveFreqMin: 0.008; WaveFreqDelta: 0.002; |
|
23 | 494 |
FillPoints: @Template1FPoints; |
495 |
FillPointsCount: Succ(High(Template1FPoints)); |
|
27 | 496 |
canMirror: false; canFlip: false; |
23 | 497 |
), |
498 |
(BasePoints: @Template2Points; |
|
499 |
BasePointsCount: Succ(High(Template2Points)); |
|
25 | 500 |
BezPassCnt: 3; |
27 | 501 |
PassMin: 14; PassDelta: 3; |
502 |
WaveAmplMin: 10; WaveAmplDelta: 10; |
|
503 |
WaveFreqMin: 0.010; WaveFreqDelta: 0.002; |
|
23 | 504 |
FillPoints: @Template2FPoints; |
505 |
FillPointsCount: Succ(High(Template2FPoints)); |
|
27 | 506 |
canMirror: true; canFlip: false; |
507 |
), |
|
508 |
(BasePoints: @Template3Points; |
|
509 |
BasePointsCount: Succ(High(Template3Points)); |
|
510 |
BezPassCnt: 4; |
|
511 |
PassMin: 15; PassDelta: 2; |
|
512 |
WaveAmplMin: 8; WaveAmplDelta: 12; |
|
513 |
WaveFreqMin: 0.015; WaveFreqDelta: 0.0015; |
|
514 |
FillPoints: @Template3FPoints; |
|
515 |
FillPointsCount: Succ(High(Template3FPoints)); |
|
516 |
canMirror: true; canFlip: false; |
|
517 |
), |
|
518 |
(BasePoints: @Template4Points; |
|
519 |
BasePointsCount: Succ(High(Template4Points)); |
|
520 |
BezPassCnt: 3; |
|
521 |
PassMin: 19; PassDelta: 5; |
|
522 |
WaveAmplMin: 12; WaveAmplDelta: 14; |
|
523 |
WaveFreqMin: 0.008; WaveFreqDelta: 0.001; |
|
524 |
FillPoints: @Template4FPoints; |
|
525 |
FillPointsCount: Succ(High(Template4FPoints)); |
|
526 |
canMirror: true; canFlip: false; |
|
49 | 527 |
), |
30 | 528 |
(BasePoints: @Template5Points; |
529 |
BasePointsCount: Succ(High(Template5Points)); |
|
530 |
BezPassCnt: 4; |
|
531 |
PassMin: 15; PassDelta: 1; |
|
532 |
WaveAmplMin: 15; WaveAmplDelta: 14; |
|
533 |
WaveFreqMin: 0.008; WaveFreqDelta: 0.002; |
|
534 |
FillPoints: @Template5FPoints; |
|
535 |
FillPointsCount: Succ(High(Template5FPoints)); |
|
536 |
canMirror: true; canFlip: false; |
|
35 | 537 |
), |
538 |
(BasePoints: @Template6Points; |
|
539 |
BasePointsCount: Succ(High(Template6Points)); |
|
540 |
BezPassCnt: 3; |
|
541 |
PassMin: 15; PassDelta: 1; |
|
542 |
WaveAmplMin: 15; WaveAmplDelta: 10; |
|
543 |
WaveFreqMin: 0.010; WaveFreqDelta: 0.0015; |
|
544 |
FillPoints: @Template6FPoints; |
|
545 |
FillPointsCount: Succ(High(Template6FPoints)); |
|
546 |
canMirror: true; canFlip: false; |
|
49 | 547 |
), |
548 |
(BasePoints: @Template7Points; |
|
549 |
BasePointsCount: Succ(High(Template7Points)); |
|
550 |
BezPassCnt: 3; |
|
551 |
PassMin: 12; PassDelta: 4; |
|
552 |
WaveAmplMin: 5; WaveAmplDelta: 15; |
|
553 |
WaveFreqMin: 0.015; WaveFreqDelta: 0.002; |
|
554 |
FillPoints: @Template7FPoints; |
|
555 |
FillPointsCount: Succ(High(Template7FPoints)); |
|
556 |
canMirror: true; canFlip: false; |
|
51 | 557 |
), |
558 |
(BasePoints: @Template8Points; |
|
559 |
BasePointsCount: Succ(High(Template8Points)); |
|
560 |
BezPassCnt: 4; |
|
561 |
PassMin: 9; PassDelta: 3; |
|
562 |
WaveAmplMin: 18; WaveAmplDelta: 18; |
|
563 |
WaveFreqMin: 0.010; WaveFreqDelta: 0.002; |
|
564 |
FillPoints: @Template8FPoints; |
|
565 |
FillPointsCount: Succ(High(Template8FPoints)); |
|
566 |
canMirror: true; canFlip: false; |
|
56 | 567 |
), |
568 |
(BasePoints: @Template9Points; |
|
67 | 569 |
BasePointsCount: Succ(High(Template9Points)); |
56 | 570 |
BezPassCnt: 4; |
571 |
PassMin: 17; PassDelta: 3; |
|
572 |
WaveAmplMin: 10; WaveAmplDelta: 10; |
|
573 |
WaveFreqMin: 0.010; WaveFreqDelta: 0.002; |
|
574 |
FillPoints: @Template9FPoints; |
|
575 |
FillPointsCount: Succ(High(Template9FPoints)); |
|
576 |
canMirror: true; canFlip: false; |
|
67 | 577 |
), |
578 |
(BasePoints: @Template10Points; |
|
579 |
BasePointsCount: Succ(High(Template10Points)); |
|
580 |
BezPassCnt: 4; |
|
581 |
PassMin: 15; PassDelta: 2; |
|
582 |
WaveAmplMin: 15; WaveAmplDelta: 10; |
|
583 |
WaveFreqMin: 0.008; WaveFreqDelta: 0.002; |
|
584 |
FillPoints: @Template10FPoints; |
|
585 |
FillPointsCount: Succ(High(Template10FPoints)); |
|
586 |
canMirror: false; canFlip: false; |
|
587 |
), |
|
588 |
(BasePoints: @Template11Points; |
|
589 |
BasePointsCount: Succ(High(Template11Points)); |
|
590 |
BezPassCnt: 4; |
|
591 |
PassMin: 15; PassDelta: 1; |
|
592 |
WaveAmplMin: 10; WaveAmplDelta: 10; |
|
593 |
WaveFreqMin: 0.008; WaveFreqDelta: 0.002; |
|
594 |
FillPoints: @Template11FPoints; |
|
595 |
FillPointsCount: Succ(High(Template11FPoints)); |
|
596 |
canMirror: true; canFlip: false; |
|
92
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
597 |
), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
598 |
(BasePoints: @Template12Points; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
599 |
BasePointsCount: Succ(High(Template12Points)); |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
600 |
BezPassCnt: 3; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
601 |
PassMin: 10; PassDelta: 1; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
602 |
WaveAmplMin: 15; WaveAmplDelta: 15; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
603 |
WaveFreqMin: 0.005; WaveFreqDelta: 0.003; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
604 |
FillPoints: @Template12FPoints; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
605 |
FillPointsCount: Succ(High(Template12FPoints)); |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
606 |
canMirror: true; canFlip: false; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
607 |
), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
608 |
(BasePoints: @Template13Points; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
609 |
BasePointsCount: Succ(High(Template13Points)); |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
610 |
BezPassCnt: 5; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
611 |
PassMin: 15; PassDelta: 3; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
612 |
WaveAmplMin: 20; WaveAmplDelta: 15; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
613 |
WaveFreqMin: 0.003; WaveFreqDelta: 0.002; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
614 |
FillPoints: @Template13FPoints; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
615 |
FillPointsCount: Succ(High(Template13FPoints)); |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
616 |
canMirror: true; canFlip: false; |
35 | 617 |
) |
23 | 618 |
); |
619 |
||
30 | 620 |
|
621 |
||
23 | 622 |
implementation |
623 |
||
624 |
end. |