I've mentioned this already in the SDK forum, but here may be a better place for a reference list. I hope this can be of use for aspiring map-makers:
Code:
[FONT="Courier New"][B]-------------------------------------------------------------------
The Map Building Process according to Temudjin
--> also see Bob Thomas in "CvMapScriptInterface.py"
(in ..\Assets\Python\EntryPoints)
-------------------------------------------------------------------[/B]
0) - Get Map-Options
0.1) getNumHiddenCustomMapOptions()
0.2) getNumCustomMapOptions()
0.3) getCustomMapOptionDefault()
0.4) isAdvancedMap()
0.5) getCustomMapOptionName()
0.6) getNumCustomMapOptionValues()
0.7) isRandomCustomMapOption()
0.8) getCustomMapOptionDescAt()
0.9) - Get Map-Types
0.9.1) isClimateMap()
0.9.2) isSeaLevelMap()
1) beforeInit()
2) - Initialize Map
2.2) getGridSize()
2.3.1) getTopLatitude() # always use both
2.3.2) getBottomLatitude() # always use both
2.4.1) getWrapX() # always use both
2.4.2) getWrapY() # always use both
3) beforeGeneration()
4) - Generate Map
4.1) generatePlotTypes()
4.2) generateTerrainTypes()
4.3) addRivers()
4.4) addLakes()
4.5) addFeatures()
4.6) addBonuses()
4.6.1) isBonusIgnoreLatitude()*
4.7) addGoodies()
5) afterGeneration()
6) - Select Starting-Plots
6.1) minStartingDistanceModifier()
6.2) assignStartingPlots()
7) - Normalize Starting-Plots
7.1) normalizeStartingPlotLocations()+
7.2) normalizeAddRiver()
7.3) normalizeRemovePeaks()
7.4) normalizeAddLakes()
7.5) normalizeRemoveBadFeatures()+
7.6) normalizeRemoveBadTerrain()+
7.7) normalizeAddFoodBonuses()+
7.7.1) isBonusIgnoreLatitude()*
7.8) normalizeGoodTerrain()+
7.9) normalizeAddExtras()
7.9.1) isBonusIgnoreLatitude()*
8 ) startHumansOnSameTile()
* used by default 'CyPythonMgr().allowDefaultImpl()' in:
addBonuses(), normalizeAddFoodBonuses(), normalizeAddExtras()
+ ['Fall From Heaven 2' and modmods] Mods in which the Flavour Start
option is selected, will NOT call these functions.
[/FONT]