paintRiver cleanup.
commit8f5a3337513570751dd245a86ed9cad49f866dd3
authorelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Mon, 15 Jan 2018 04:02:00 +0000 (15 04:02 +0000)
committerelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Mon, 15 Jan 2018 04:02:00 +0000 (15 04:02 +0000)
tree2bf6bdc63b32568cfa0eabd0d213ce526d66393e
parente7ba97a5cbeb371e872f334f9d3b090c332aad87
paintRiver cleanup.

Pass vectors, refs #4845.
Pass tile sizes rather than percent numbers of the map, refs #4939.
Replace some water- and land-functions with more common createArea+RectPlacer and paintTerrainBasedOnHeight calls.

Implement getMapBounds to make references easier to read, refs #4854 (and thus less error-prone, refs rP20465).
Move height constants to the top of the files.

Fix Aegean Sea, English Channel and Danubius fadeWidth off by factor of 2 in rP20185.
Fix forgotton clWater in unknown_common of rP20866 and move that createUnknownObjects call to common.

git-svn-id: https://svn.wildfiregames.com/public/ps/trunk@20871 3db68df2-c116-0410-a063-a993310a9797
15 files changed:
binaries/data/mods/public/maps/random/aegean_sea.js
binaries/data/mods/public/maps/random/danubius.js
binaries/data/mods/public/maps/random/english_channel.js
binaries/data/mods/public/maps/random/guadalquivir_river.js
binaries/data/mods/public/maps/random/hyrcanian_shores.js
binaries/data/mods/public/maps/random/kerala.js
binaries/data/mods/public/maps/random/northern_lights.js
binaries/data/mods/public/maps/random/phoenician_levant.js
binaries/data/mods/public/maps/random/rivers.js
binaries/data/mods/public/maps/random/rmgen/gaia_terrain.js
binaries/data/mods/public/maps/random/rmgen/library.js
binaries/data/mods/public/maps/random/the_nile.js
binaries/data/mods/public/maps/random/the_unknown/unknown_common.js
binaries/data/mods/public/maps/random/unknown.js
binaries/data/mods/public/maps/random/unknown_land.js