The previous commits changed grow_island() to create islands in batches consisting of one island per continent, all of the same planned size. grow_island() still places and grows one island after the other. When an island can't grow to the actual size, the others in the same batch are not affected. Island size can therefore differ a lot within the same batch. Change grow_island() to interleave the work on a batch's island: first place them all, then add one sector to each in turn. Stop after all reached the planned size, or one or more could not be grown further. This is similar to how we grow continents: drift() places them all, and grow_continent() adds one sector to each continent in turn. Island size within the same batch can now differ at most by one sector. The next commit will eliminate that remaining difference. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
55 lines
2.6 KiB
Text
55 lines
2.6 KiB
Text
Creating a planet with:
|
|
|
|
3 continents
|
|
continent size: 30
|
|
number of islands: 15
|
|
average size of islands: 10
|
|
spike: 0%
|
|
0% of land is mountain (each continent will have 0 mountains)
|
|
minimum distance between continents: 2
|
|
minimum distance from islands to continents: 1
|
|
World dimensions: 64x32
|
|
|
|
#*# ...fairland rips open a rift in the datumplane... #*#
|
|
|
|
seed is 1
|
|
placing capitals...
|
|
growing continents...
|
|
growing islands: 1(6) 2(6) 3(6) 4(9) 5(9) 6(9) 7(4) 8(4) 9(4) 10(9) 11(9) 12(9) 13(11) 14(11) 15(11)
|
|
elevating land...
|
|
writing to sectors file...
|
|
|
|
. . . . . % . . . . . . . . . . . . . . . . . . . . . . . . . .
|
|
. . . . % % . . . . . . . . . . . . . . . . . . . . . . . . . .
|
|
. . . . % % % . . # . . . . . . . % . . . . . . . . . . . . . .
|
|
. . . % % % . # # # . # . . . . . % . . . . % % % . . . . . . .
|
|
. . . . % % . # c c # # . . . . % % % . . . % % % % . . . . . .
|
|
. . . . . . . # # # # # . . . % % % . . . . % % . . . . . . . .
|
|
% . . . . . . . # # # # . % % . % . . . . . . % . % % % . . . %
|
|
. . . . . . . # # # # . % % % . . . . . . . % . % % % . . . % %
|
|
. . . . . . . . # # # # . % . . . . . . . . . . . % % . . . . .
|
|
. . . . . . . . # # . . . . . . . . . . . . . . . % . . . . . .
|
|
. . . . . . . . . # . . . . . . . . . . . . . . . . . . . . . .
|
|
. . . . . . . . . . % % . . . . . . . . . . . . . . . . . . . .
|
|
. . . . . . . . . % % % . . . . . . . # . . . . . . . . . . . .
|
|
. . . . . . . . % % % . . . . . . . # # # . . . . . . . . . . .
|
|
. . . . . . . . . . % . . . . . . . . # # # . . . . . . . . . .
|
|
. . . . . . . . . . . . . . . . . . # # # # . . . . . . . . . .
|
|
. . . . . . . . . . . . . . . . . . # # # # # . . . . . . . . .
|
|
. . . . . . . . . . . . . . . . . # # a a . . . . . . . . . . .
|
|
. . # # . # . . . % % % . . . . . # # # # # . . . . . . . . . .
|
|
. # # # # # # . % % % % . . . . . # # # # . . . . . . . . . . .
|
|
. # # # b b # . % % % % . . . . . . # . . . . . . . . . . . . .
|
|
. # # # # # . . . . . . . . . . . . . . . . . . . . . . . % . .
|
|
. # # # # # # . . % % % % . . . . % % . . . . . . . . . . % % .
|
|
. . . # # # . . . % % % . . . . . % % . . . % % . . . . . % . .
|
|
. % % . # . . . . . % % . . . . . . . . . . % % % % . . . . . .
|
|
. % % . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
|
. . % % . . . . . . . . . . . . . . . % % . . . . . . . . . . .
|
|
. % % % . . . . . . . . . . . . . . . % % % . . . . . . . . . .
|
|
. . . . . . . . . . . . . . . . . . . % % % % . . . . . . . . .
|
|
% % % . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
|
. % % . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
|
% . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
|
|
|
A script for adding all the countries can be found in "sandbox/no-spike-newcap_script".
|