Didn't check anything before r13948.
Alpha 20:
In r17728:
Move duplicate code of the area- and object-group placing methods to retryPlacing and two coordinate-randomization functions.
In r17910:
Remove unused variables, duplicate comments and trailing whitespace from volcanic lands.
Alpha 21:
In r17981:
Remove triple X comment pollution from maps.
In r18142 by FeXoR:
Removing function euclid_distance as duplication of getDistance.
In r18816:
Don't place chicken inside civic centers and unify chicken placement code.
In r18871:
Remove duplicate fish placement from english channel.
In r18872:
Remove unused clWater and clRiver tile class from maps that don't have water nor rivers.
In r18873:
Remove duplicate comments and add more progress updates.
Alpha 22:
In r19236:
Remove non-functional shallow generation code from the Unknown random maps.
In r19282:
Replace more than 30 duplicate grass tuft placement calls with a single function call.
In r19305:
Use pickRandom in random map scripts.
Patch By: bb
In r19453:
Remove useless terrain painting that is overwritten with the paintTerrainBasedOnHeight calls following that.
In r19721:
Delete rmgen randInt duplicate.
Patch By: bb
In r19807:
Move duplicate rmgen functions from caledonian meadows and wild lake to the rmgen libraries.
Alpha 23:
In r20144:
Remove 1400 useless random map script comments.
In r20146:
Remove 23 copies of the random mapgen terrain init loop (including 16 copies of unused x and z vars).
In r20148:
Replace 55 playerarray sorting loops copies with calls to two random mapgen helper functions.
Rename randomizePlayers as it paradoxically called sortPlayers on the result.
In r20149:
Unify 36 copies of the radial playerplacement loop of random mapscripts.
Trim unused PlayerAngle, StartAngle and baseRadius variables.
In r20151:
Merge the 14 copies of the player placement code on river maps.
In r20153:
Create arrays with [], not new Array in random map scripts
In r20185:
Reverse engineer and unify the 14 copies of the river drawing random mapgen code.
Splits unrecognizably blended magic numbers and makes them available for map editors.
Removes copied terms of copies of conditions of copied of functions,
unused variables, overwritten values, checks that are always true, dead code from checks that are always false and
things like 9 pairs of unneeded parentheses in a single line that was copied several times.
Remove the useless RectPlacer terrain painting call on Guadalquivir River.
Make danubius river borders parallel and drop thetha/seed differences.
Use planar instead of slopy water ground level for Phoenician Levant.
Copied and obscured by
r11137 Aegan Sea, Guadalquivir River, Hyrcanian Shores, Phoenician Levan, Nile,
r12545 Unknown,
r12654 Unknown Land,
r12747 Unknown Nomad,
r12786 English Channel,
r13134 Kerala,
r19434 Danubius.
In r20186:
Unify 34 copies of the civic center tile class setting of random map scripts.
In r20189:
Remove some more recursive duplication in the rmgen library (painting terrain based on height).
In r20222:
Fix division by zero in r12545 and r12654 for the gulf map layout with only one player.
In r20233:
Northern lights river cleanup following r20185.