Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/maps/random/lake.js
Show First 20 Lines • Show All 202 Lines • ▼ Show 20 Lines | |||||
log("Creating more shore jaggedness..."); | log("Creating more shore jaggedness..."); | ||||
placer = new ChainPlacer(2, floor(scaleByMapSize(4, 6)), 3, 1); | placer = new ChainPlacer(2, floor(scaleByMapSize(4, 6)), 3, 1); | ||||
terrainPainter = new LayeredPainter( | terrainPainter = new LayeredPainter( | ||||
[tCliff, tHill], // terrains | [tCliff, tHill], // terrains | ||||
[2] // widths | [2] // widths | ||||
); | ); | ||||
elevationPainter = new SmoothElevationPainter(ELEVATION_SET, 3, 4); | elevationPainter = new SmoothElevationPainter(ELEVATION_SET, 3, 4); | ||||
createAreas( | createAreasDeprecated( | ||||
placer, | placer, | ||||
[terrainPainter, elevationPainter, unPaintClass(clWater)], | [terrainPainter, elevationPainter, unPaintClass(clWater)], | ||||
borderClasses(clWater, 4, 7), | borderClasses(clWater, 4, 7), | ||||
scaleByMapSize(12, 130) * 2, 150 | scaleByMapSize(12, 130) * 2, 150 | ||||
); | ); | ||||
paintTerrainBasedOnHeight(2.4, 3.4, 3, tMainTerrain); | paintTerrainBasedOnHeight(2.4, 3.4, 3, tMainTerrain); | ||||
▲ Show 20 Lines • Show All 153 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator