Corsica & Sardinia cleanup.
commit9278e0c619045cb8007c753bfae96fa5b63d7268
authorelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Sat, 14 Oct 2017 21:04:29 +0000 (14 21:04 +0000)
committerelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Sat, 14 Oct 2017 21:04:29 +0000 (14 21:04 +0000)
tree6efc97d4169016533c37eef93709d41f3e74d4c8
parent774ba87563c47d08a6a0fac0c6569fa32136657b
Corsica & Sardinia cleanup.

Unify clCorsica, clSardinia to clIsland and the duplicate resource placement calls using that.
Move and simplify the logic determining which texture to paint depending on height and slope to a function getCosricaSardiniaTerrain.
Inline the createTerrain to greatly increase readability while possibly reducing performance slightly.
Fix whitespace of createObjectGroup calls.

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