Differential D278 Diff 1414 ps/trunk/binaries/data/mods/public/maps/random/rmgen/utilityfunctions.js
Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/maps/random/rmgen/utilityfunctions.js
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | function createMountains(terrain, constraint, tileclass, count, maxHeight, minRadius, maxRadius, numCircles) | ||||
var numHills = count; | var numHills = count; | ||||
for (var i = 0; i < numHills; ++i) | for (var i = 0; i < numHills; ++i) | ||||
createMountain( | createMountain( | ||||
maxHeight, | maxHeight, | ||||
minRadius, | minRadius, | ||||
maxRadius, | maxRadius, | ||||
numCircles, | numCircles, | ||||
constraint, | constraint, | ||||
randInt(mapSize), | randIntExclusive(0, mapSize), | ||||
randInt(mapSize), | randIntExclusive(0, mapSize), | ||||
terrain, | terrain, | ||||
tileclass, | tileclass, | ||||
14 | 14 | ||||
); | ); | ||||
} | } | ||||
function createForests(terrainset, constraint, tileclass, numMultiplier, biomeID) | function createForests(terrainset, constraint, tileclass, numMultiplier, biomeID) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 197 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator