Simple support for Constraints in the Wall Builder random map library, so that one...
commit534e926fdd7754d2e32b8cdbca638fe97e3add47
authorelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Thu, 15 Mar 2018 01:42:47 +0000 (15 01:42 +0000)
committerelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Thu, 15 Mar 2018 01:42:47 +0000 (15 01:42 +0000)
tree49032f684d3659b565d71a8cb7b72502e0d6aaf2
parentba6eb6f6eac1e0fe4516d5adb72c89c44bd255d2
Simple support for Constraints in the Wall Builder random map library, so that one can place walls while avoiding collisions, refs #5003.

Return the placed entities, so that one can parse and elegantly avoid them afterwards, in particular determine gate positions.
placeCircularWall uses the startAngle as orientation, since that is much easier to pass than the opposite vector of the center of the wall.

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