Revision 1026 Add AI build lists so that the AI can build buildings especially for small cities and cities near their maximum size.
Some cleanings:
modified trunk/ctp2_code/gs/newdb/Const.cdb
modified trunk/ctp2_data/english/gamedata/civ_str.txt
The Spanish version can now be loaded again:
modified trunk/ctp2_data/spanish/gamedata/civ_str.txt
The AI builds now buildings from a build list for small buildings if the city is less than the size of the second ring, and if it has some garrison of two units. And the AI builds now buildings to increase the maximum city size from a build list, when the city is two pops below the maximum city size:
modified trunk/ctp2_code/ai/CityManagement/governor.cpp
modified trunk/ctp2_code/gs/gameobj/CityData.cpp
modified trunk/ctp2_code/gs/gameobj/citydata.h
modified trunk/ctp2_code/gs/newdb/strategy.cdb
modified trunk/ctp2_code/ui/interface/CityControlPanel.cpp
modified trunk/ctp2_data/default/aidata/BuildingBuildLists.txt
modified trunk/ctp2_data/default/aidata/buildlistsequences.txt
modified trunk/ctp2_data/default/aidata/strategies.txt
modified trunk/ctp2_data/english/gamedata/gl_str.txt
modified trunk/ctp2_data/french/gamedata/gl_str.txt
modified trunk/ctp2_data/german/gamedata/gl_str.txt
modified trunk/ctp2_data/italian/gamedata/gl_str.txt
modified trunk/ctp2_data/spanish/gamedata/gl_str.txt
Some cleanings:
modified trunk/ctp2_code/gs/newdb/Const.cdb
modified trunk/ctp2_data/english/gamedata/civ_str.txt
The Spanish version can now be loaded again:
modified trunk/ctp2_data/spanish/gamedata/civ_str.txt
The AI builds now buildings from a build list for small buildings if the city is less than the size of the second ring, and if it has some garrison of two units. And the AI builds now buildings to increase the maximum city size from a build list, when the city is two pops below the maximum city size:
modified trunk/ctp2_code/ai/CityManagement/governor.cpp
modified trunk/ctp2_code/gs/gameobj/CityData.cpp
modified trunk/ctp2_code/gs/gameobj/citydata.h
modified trunk/ctp2_code/gs/newdb/strategy.cdb
modified trunk/ctp2_code/ui/interface/CityControlPanel.cpp
modified trunk/ctp2_data/default/aidata/BuildingBuildLists.txt
modified trunk/ctp2_data/default/aidata/buildlistsequences.txt
modified trunk/ctp2_data/default/aidata/strategies.txt
modified trunk/ctp2_data/english/gamedata/gl_str.txt
modified trunk/ctp2_data/french/gamedata/gl_str.txt
modified trunk/ctp2_data/german/gamedata/gl_str.txt
modified trunk/ctp2_data/italian/gamedata/gl_str.txt
modified trunk/ctp2_data/spanish/gamedata/gl_str.txt
Comment