Unify beyond ridiculous Snowflake Searocks duplication gore, refs rP11137.
commit203e46b59e1948f7ce980fd76e95b88bfd49c4c6
authorelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Tue, 17 Oct 2017 10:23:54 +0000 (17 10:23 +0000)
committerelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Tue, 17 Oct 2017 10:23:54 +0000 (17 10:23 +0000)
tree9e73d1017cd8177100ad2941453de7728e0f41a8
parent816668c65b1591127d4fc981dfb3c2e5806ee4a2
Unify beyond ridiculous Snowflake Searocks duplication gore, refs rP11137.

The island generation code was copied once for
 * the small mapsize and 2 players
 * the small mapsize and 3 players
 * the small mapsize and 4 players
 * the small mapsize and more than 4 players
 * the medium mapsize and up to 4 players
 * the medium mapsize and more than 4 players
 * the normal mapsize and up to 5 players
 * the normal mapsize and up to 7 players
 * the normal mapsize and 8 players
 * the large mapsize and up to 5 players
 * the large mapsize and more than 5 players

Within each of these copies there were three copies of the island createArea+placer+painters call and
about 10 unreadable island connection setter copies.

Support mapgenerations with only one player.
Cleanup createAreas calls as in rP20301 and broken indentation.
Fix missing forests due to a missing parentheses in the forest count of that commit.

git-svn-id: https://svn.wildfiregames.com/public/ps/trunk@20308 3db68df2-c116-0410-a063-a993310a9797
binaries/data/mods/public/maps/random/snowflake_searocks.js