author | displacer |
Sun, 01 Oct 2006 20:14:30 +0000 | |
changeset 177 | c67c15e6fae3 |
parent 160 | 207f520b9e83 |
child 181 | 7dfffbf0c7f6 |
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 |
( |
160 | 456 |
(x: 645; y: 1400), |
92
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), |
160 | 469 |
(x: 1503; y: 1400) |
92
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 |
|
160 | 476 |
const Template14Points: array[0..22] of TPoint = |
477 |
( |
|
478 |
(x: 177; y: 1408), |
|
479 |
(x: 262; y: 1026), |
|
480 |
(x: 259; y: 303), |
|
481 |
(x: 765; y: 162), |
|
482 |
(x: 789; y: 357), |
|
483 |
(x: 517; y: 420), |
|
484 |
(x: 658; y: 690), |
|
485 |
(x: 448; y: 762), |
|
486 |
(x: 663; y: 1029), |
|
487 |
(x: 765; y: 1440), |
|
488 |
(x: 1446; y: 1431), |
|
489 |
(x: 1439; y: 1026), |
|
490 |
(x: 1416; y: 825), |
|
491 |
(x: 1253; y: 840), |
|
492 |
(x: 1253; y: 600), |
|
493 |
(x: 1551; y: 573), |
|
494 |
(x: 1506; y: 390), |
|
495 |
(x: 1065; y: 366), |
|
496 |
(x: 1077; y: 171), |
|
497 |
(x: 1656; y: 156), |
|
498 |
(x: 1821; y: 396), |
|
499 |
(x: 1716; y: 768), |
|
500 |
(x: 1926; y: 1437) |
|
501 |
); |
|
502 |
Template14FPoints: array[0..0] of TPoint = |
|
503 |
( |
|
504 |
(x: 1023; y: 0) |
|
505 |
); |
|
506 |
||
507 |
const EdgeTemplates: array[0..14] of TEdgeTemplate = |
|
23 | 508 |
( |
509 |
(BasePoints: @Template0Points; |
|
510 |
BasePointsCount: Succ(High(Template0Points)); |
|
511 |
BezPassCnt: 4; |
|
27 | 512 |
PassMin: 10; PassDelta: 5; |
513 |
WaveAmplMin: 17; WaveAmplDelta: 20; |
|
514 |
WaveFreqMin: 0.010; WaveFreqDelta: 0.002; |
|
23 | 515 |
FillPoints: @Template0FPoints; |
516 |
FillPointsCount: Succ(High(Template0FPoints)); |
|
27 | 517 |
canMirror: false; canFlip: false; |
23 | 518 |
), |
519 |
(BasePoints: @Template1Points; |
|
520 |
BasePointsCount: Succ(High(Template1Points)); |
|
30 | 521 |
BezPassCnt: 3; |
27 | 522 |
PassMin: 10; PassDelta: 2; |
523 |
WaveAmplMin: 25; WaveAmplDelta: 15; |
|
524 |
WaveFreqMin: 0.008; WaveFreqDelta: 0.002; |
|
23 | 525 |
FillPoints: @Template1FPoints; |
526 |
FillPointsCount: Succ(High(Template1FPoints)); |
|
27 | 527 |
canMirror: false; canFlip: false; |
23 | 528 |
), |
529 |
(BasePoints: @Template2Points; |
|
530 |
BasePointsCount: Succ(High(Template2Points)); |
|
25 | 531 |
BezPassCnt: 3; |
27 | 532 |
PassMin: 14; PassDelta: 3; |
533 |
WaveAmplMin: 10; WaveAmplDelta: 10; |
|
534 |
WaveFreqMin: 0.010; WaveFreqDelta: 0.002; |
|
23 | 535 |
FillPoints: @Template2FPoints; |
536 |
FillPointsCount: Succ(High(Template2FPoints)); |
|
27 | 537 |
canMirror: true; canFlip: false; |
538 |
), |
|
539 |
(BasePoints: @Template3Points; |
|
540 |
BasePointsCount: Succ(High(Template3Points)); |
|
541 |
BezPassCnt: 4; |
|
542 |
PassMin: 15; PassDelta: 2; |
|
543 |
WaveAmplMin: 8; WaveAmplDelta: 12; |
|
544 |
WaveFreqMin: 0.015; WaveFreqDelta: 0.0015; |
|
545 |
FillPoints: @Template3FPoints; |
|
546 |
FillPointsCount: Succ(High(Template3FPoints)); |
|
547 |
canMirror: true; canFlip: false; |
|
548 |
), |
|
549 |
(BasePoints: @Template4Points; |
|
550 |
BasePointsCount: Succ(High(Template4Points)); |
|
551 |
BezPassCnt: 3; |
|
552 |
PassMin: 19; PassDelta: 5; |
|
553 |
WaveAmplMin: 12; WaveAmplDelta: 14; |
|
554 |
WaveFreqMin: 0.008; WaveFreqDelta: 0.001; |
|
555 |
FillPoints: @Template4FPoints; |
|
556 |
FillPointsCount: Succ(High(Template4FPoints)); |
|
557 |
canMirror: true; canFlip: false; |
|
49 | 558 |
), |
30 | 559 |
(BasePoints: @Template5Points; |
560 |
BasePointsCount: Succ(High(Template5Points)); |
|
561 |
BezPassCnt: 4; |
|
562 |
PassMin: 15; PassDelta: 1; |
|
563 |
WaveAmplMin: 15; WaveAmplDelta: 14; |
|
564 |
WaveFreqMin: 0.008; WaveFreqDelta: 0.002; |
|
565 |
FillPoints: @Template5FPoints; |
|
566 |
FillPointsCount: Succ(High(Template5FPoints)); |
|
567 |
canMirror: true; canFlip: false; |
|
35 | 568 |
), |
569 |
(BasePoints: @Template6Points; |
|
570 |
BasePointsCount: Succ(High(Template6Points)); |
|
571 |
BezPassCnt: 3; |
|
572 |
PassMin: 15; PassDelta: 1; |
|
573 |
WaveAmplMin: 15; WaveAmplDelta: 10; |
|
574 |
WaveFreqMin: 0.010; WaveFreqDelta: 0.0015; |
|
575 |
FillPoints: @Template6FPoints; |
|
576 |
FillPointsCount: Succ(High(Template6FPoints)); |
|
577 |
canMirror: true; canFlip: false; |
|
49 | 578 |
), |
579 |
(BasePoints: @Template7Points; |
|
580 |
BasePointsCount: Succ(High(Template7Points)); |
|
581 |
BezPassCnt: 3; |
|
582 |
PassMin: 12; PassDelta: 4; |
|
583 |
WaveAmplMin: 5; WaveAmplDelta: 15; |
|
584 |
WaveFreqMin: 0.015; WaveFreqDelta: 0.002; |
|
585 |
FillPoints: @Template7FPoints; |
|
586 |
FillPointsCount: Succ(High(Template7FPoints)); |
|
587 |
canMirror: true; canFlip: false; |
|
51 | 588 |
), |
589 |
(BasePoints: @Template8Points; |
|
590 |
BasePointsCount: Succ(High(Template8Points)); |
|
591 |
BezPassCnt: 4; |
|
592 |
PassMin: 9; PassDelta: 3; |
|
593 |
WaveAmplMin: 18; WaveAmplDelta: 18; |
|
594 |
WaveFreqMin: 0.010; WaveFreqDelta: 0.002; |
|
595 |
FillPoints: @Template8FPoints; |
|
596 |
FillPointsCount: Succ(High(Template8FPoints)); |
|
597 |
canMirror: true; canFlip: false; |
|
56 | 598 |
), |
599 |
(BasePoints: @Template9Points; |
|
67 | 600 |
BasePointsCount: Succ(High(Template9Points)); |
56 | 601 |
BezPassCnt: 4; |
602 |
PassMin: 17; PassDelta: 3; |
|
603 |
WaveAmplMin: 10; WaveAmplDelta: 10; |
|
604 |
WaveFreqMin: 0.010; WaveFreqDelta: 0.002; |
|
605 |
FillPoints: @Template9FPoints; |
|
606 |
FillPointsCount: Succ(High(Template9FPoints)); |
|
607 |
canMirror: true; canFlip: false; |
|
67 | 608 |
), |
609 |
(BasePoints: @Template10Points; |
|
610 |
BasePointsCount: Succ(High(Template10Points)); |
|
611 |
BezPassCnt: 4; |
|
612 |
PassMin: 15; PassDelta: 2; |
|
613 |
WaveAmplMin: 15; WaveAmplDelta: 10; |
|
614 |
WaveFreqMin: 0.008; WaveFreqDelta: 0.002; |
|
615 |
FillPoints: @Template10FPoints; |
|
616 |
FillPointsCount: Succ(High(Template10FPoints)); |
|
617 |
canMirror: false; canFlip: false; |
|
618 |
), |
|
619 |
(BasePoints: @Template11Points; |
|
620 |
BasePointsCount: Succ(High(Template11Points)); |
|
621 |
BezPassCnt: 4; |
|
622 |
PassMin: 15; PassDelta: 1; |
|
623 |
WaveAmplMin: 10; WaveAmplDelta: 10; |
|
624 |
WaveFreqMin: 0.008; WaveFreqDelta: 0.002; |
|
625 |
FillPoints: @Template11FPoints; |
|
626 |
FillPointsCount: Succ(High(Template11FPoints)); |
|
627 |
canMirror: true; canFlip: false; |
|
92
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
628 |
), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
629 |
(BasePoints: @Template12Points; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
630 |
BasePointsCount: Succ(High(Template12Points)); |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
631 |
BezPassCnt: 3; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
632 |
PassMin: 10; PassDelta: 1; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
633 |
WaveAmplMin: 15; WaveAmplDelta: 15; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
634 |
WaveFreqMin: 0.005; WaveFreqDelta: 0.003; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
635 |
FillPoints: @Template12FPoints; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
636 |
FillPointsCount: Succ(High(Template12FPoints)); |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
637 |
canMirror: true; canFlip: false; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
638 |
), |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
639 |
(BasePoints: @Template13Points; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
640 |
BasePointsCount: Succ(High(Template13Points)); |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
641 |
BezPassCnt: 5; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
642 |
PassMin: 15; PassDelta: 3; |
160 | 643 |
WaveAmplMin: 18; WaveAmplDelta: 15; |
644 |
WaveFreqMin: 0.0028; WaveFreqDelta: 0.002; |
|
645 |
FillPoints: @Template13FPoints; |
|
646 |
FillPointsCount: Succ(High(Template13FPoints)); |
|
647 |
canMirror: true; canFlip: false; |
|
648 |
), |
|
649 |
(BasePoints: @Template14Points; |
|
650 |
BasePointsCount: Succ(High(Template14Points)); |
|
651 |
BezPassCnt: 4; |
|
652 |
PassMin: 14; PassDelta: 3; |
|
92
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
653 |
WaveAmplMin: 20; WaveAmplDelta: 15; |
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
654 |
WaveFreqMin: 0.003; WaveFreqDelta: 0.002; |
160 | 655 |
FillPoints: @Template14FPoints; |
656 |
FillPointsCount: Succ(High(Template14FPoints)); |
|
92
0c359a7a2356
- Fix win message to appear only after all hedgehogs death
unc0rr
parents:
67
diff
changeset
|
657 |
canMirror: true; canFlip: false; |
35 | 658 |
) |
23 | 659 |
); |
660 |
||
30 | 661 |
|
662 |
||
23 | 663 |
implementation |
664 |
||
665 |
end. |