author | sheepluva |
Tue, 02 Dec 2014 23:33:28 +0100 | |
changeset 10611 | 58cad46782ff |
parent 10604 | f2f9928ea2e7 |
child 11063 | c57f815cbb14 |
permissions | -rw-r--r-- |
10604 | 1 |
|
2 |
function onPreviewInit() |
|
3 |
onGameInit() |
|
4 |
end |
|
5 |
||
6 |
function onGameInit() |
|
7 |
MapGen = mgDrawn |
|
8 |
TemplateFilter = 0 |
|
9 |
for y = 48,2048,200 do |
|
10 |
for x = 48,4048,200 do |
|
11 |
if GetRandom(2) == 0 then |
|
12 |
AddPoint(x,y,1) |
|
13 |
AddPoint(x+200,y+200) |
|
14 |
else |
|
15 |
AddPoint(x,y+200,1) |
|
16 |
AddPoint(x+200,y) |
|
17 |
end |
|
18 |
end |
|
19 |
end |
|
20 |
FlushPoints() |
|
21 |
end |