Arbitrarily constrain the random playerbase location function.
commitb48f4956f1750a169c098cc3c7f885bbca700d6c
authorelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Wed, 7 Feb 2018 02:12:19 +0000 (7 02:12 +0000)
committerelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Wed, 7 Feb 2018 02:12:19 +0000 (7 02:12 +0000)
treebe1db5e2cd2b82a7a8b2754dcbacfcda56cd157e
parent6b12298e50d344d0945f9c314218640685a323a6
Arbitrarily constrain the random playerbase location function.

Decrease the minimum distance between players progressively to find suitable locations.
Assume that constraint to be constant and compute possible locations in advance, improving performance drastically, refs #5011.

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