equal
deleted
inserted
replaced
4 end |
4 end |
5 |
5 |
6 function onGameInit() |
6 function onGameInit() |
7 MapGen = mgDrawn |
7 MapGen = mgDrawn |
8 TemplateFilter = 0 |
8 TemplateFilter = 0 |
9 for y = 48,2048,200 do |
9 local step = 80 + 10 * MapFeatureSize; |
10 for x = 48,4048,200 do |
10 for y = 48,2048,step do |
|
11 for x = 48,4048,step do |
11 if GetRandom(2) == 0 then |
12 if GetRandom(2) == 0 then |
12 AddPoint(x,y,1) |
13 AddPoint(x,y,1) |
13 AddPoint(x+200,y+200) |
14 AddPoint(x+step,y+step) |
14 else |
15 else |
15 AddPoint(x,y+200,1) |
16 AddPoint(x,y+step,1) |
16 AddPoint(x+200,y) |
17 AddPoint(x+step,y) |
17 end |
18 end |
18 end |
19 end |
19 end |
20 end |
20 FlushPoints() |
21 FlushPoints() |
21 end |
22 end |