So I go to wiki and still don't have all the information I need for population. From wiki:
Maximum Population (in billions) = 0.02 * ( ( PQ + 1 ) ^ 3 ) w/ PQ = Planet Quality
PQ = 8 -> Max Pop = 14.58 B
OK, thats not a problem. Unless you move people to the colony, this is the max population.
Population Growth = CurrentMorale X Government Level X PlanetQuality Factor X GrowthFactor.
Current Morale in what units? (% ?)
Government Level (Where do you get this?)
Planet Quality Fact (Obvious)
Growth Factor (again, where do you get this?)
if(lPopulationChange > 100)
lPopulationChange = 100;
if(lMorale >75)
lPopulationChange *=1.25;
if(lMorale == 100)
lPopulationChange *=2;
fPopulationBonus = 1.0 + ((float) pCiv->GetAbility(ABILITY_POPULATIONGROWTH)/ 100.0f);
lPopulationChange = lPopulationChange * fPopulationBonus;
OK, what is the initial value of lPopulationChange? (Is this from Population Growth from above?)
I understand the code but ABILITY_POPULATIONGROWTH - is this the inherent population growth of the species in question?