Roamty
BTS
Unofficial Patch Change List
Version 1.7 changes:
Update for the Unofficial 3.19 Patch SDK files these are the changes added in to the Unofficial 3.19 Patch SDK
Calling this Unofficial 3.19 Patch 1.7
This is the new Dll with the changes Thanks goes to all the mod makers out there for these changes
CvCityAI CPP
int iOverSeasColonies = iTotalCities - kPlayer.getCapitalCity()->area()->getCitiesPerPlayer(getOwnerINLINE());;
int iOverSeasColonies = iTotalCities - kPlayer.getCapitalCity()->area()->getCitiesPerPlayer(getOwnerINLINE());
int iFoodDifference = iFoodTotal - ((iTargetSize * GC.getFOOD_CONSUMPTION_PER_POPULATION()) + iExtraFoodForGrowth);;
int iFoodDifference = iFoodTotal - ((iTargetSize * GC.getFOOD_CONSUMPTION_PER_POPULATION()) + iExtraFoodForGrowth);
iCommerceMultiplier += (33 * (iRatio - 40)) / 60;;
iCommerceMultiplier += (33 * (iRatio - 40)) / 60;
CvGameTextMgr CPP
iTempModifier += GC.getDefineINT("ESPIONAGE_CITY_HOLY_CITY_MOD");;
iTempModifier += GC.getDefineINT("ESPIONAGE_CITY_HOLY_CITY_MOD");
CvInfos H
int getYieldModifier(int i) const;; // Exposed to Python
int getYieldModifier(int i) const; // Exposed to Python
CvPlayerAI CPP
iValue += AI_unitValue(eUnit, (UnitAITypes)GC.getUnitInfo(eUnit).getDefaultUnitAIType(), pUnit->area());;
iValue += AI_unitValue(eUnit, (UnitAITypes)GC.getUnitInfo(eUnit).getDefaultUnitAIType(), pUnit->area());
CvTeamAI CPP
iValue += ((bWarPlan ? 100 : 50) * (iCombatRatio - 40)) / 50;;
iValue += ((bWarPlan ? 100 : 50) * (iCombatRatio - 40)) / 50;
CvUnitAI CPP
iTemp = GC.getPromotionInfo(ePromotion).getFeatureDefensePercent(iI);;
iTemp = GC.getPromotionInfo(ePromotion).getFeatureDefensePercent(iI);
in CvGameCoreUtils CPP
case ACTIVITY_INTERCEPT: szString = L"ACTIVITY_SENTRY"; break;
case ACTIVITY_INTERCEPT: szString = L"ACTIVITY_INTERCEPT"; break;
CvGameTextMgr H
DllExport void buildYieldChangeString( CvWStringBuffer& szBuffer, TechTypes eTech, int iTieldType, bool bList = false, bool bPlayerContext = false );
DllExport void buildYieldChangeString( CvWStringBuffer& szBuffer, TechTypes eTech, int iYieldType, bool bList = false, bool bPlayerContext = false );
CvPlayer CPP
FAssertMsg(m_paiHasCorporationCount==NULL, "about to leak memory, CvPlayer::m_paiHasReligionCount");
FAssertMsg(m_paiHasCorporationCount==NULL, "about to leak memory, CvPlayer::m_paiHasCorporationCount");
iReligionModifier += GC.getDefineINT("ESPIONAGE_CITY_HOLY_CITY_MOD");;
iReligionModifier += GC.getDefineINT("ESPIONAGE_CITY_HOLY_CITY_MOD");
CyGlobalContextInterface4 CPP
.def("getNumCorporationInfos", &CyGlobalContext::getNumCorporationInfos, "() - Total Religion Infos XML\\GameInfo\\CIV4CorporationInfos.xml")
.def("getNumCorporationInfos", &CyGlobalContext::getNumCorporationInfos, "() - Total Corporation Infos XML\\GameInfo\\CIV4CorporationInfos.xml")
NEW Update to CvInfos.cpp
pXML->SetCommerce(&m_aiReligionYields); old line
pXML->SetYields(&m_aiReligionYields)
this can be found at the very bottom of CvInfos.cpp
the new update is pXML->SetYields(&m_aiReligionYields)
Version 1.7 changes:
Update for the Unofficial 3.19 Patch SDK files these are the changes added in to the Unofficial 3.19 Patch SDK
Calling this Unofficial 3.19 Patch 1.7
This is the new Dll with the changes Thanks goes to all the mod makers out there for these changes
CvCityAI CPP
int iOverSeasColonies = iTotalCities - kPlayer.getCapitalCity()->area()->getCitiesPerPlayer(getOwnerINLINE());;
int iOverSeasColonies = iTotalCities - kPlayer.getCapitalCity()->area()->getCitiesPerPlayer(getOwnerINLINE());
int iFoodDifference = iFoodTotal - ((iTargetSize * GC.getFOOD_CONSUMPTION_PER_POPULATION()) + iExtraFoodForGrowth);;
int iFoodDifference = iFoodTotal - ((iTargetSize * GC.getFOOD_CONSUMPTION_PER_POPULATION()) + iExtraFoodForGrowth);
iCommerceMultiplier += (33 * (iRatio - 40)) / 60;;
iCommerceMultiplier += (33 * (iRatio - 40)) / 60;
CvGameTextMgr CPP
iTempModifier += GC.getDefineINT("ESPIONAGE_CITY_HOLY_CITY_MOD");;
iTempModifier += GC.getDefineINT("ESPIONAGE_CITY_HOLY_CITY_MOD");
CvInfos H
int getYieldModifier(int i) const;; // Exposed to Python
int getYieldModifier(int i) const; // Exposed to Python
CvPlayerAI CPP
iValue += AI_unitValue(eUnit, (UnitAITypes)GC.getUnitInfo(eUnit).getDefaultUnitAIType(), pUnit->area());;
iValue += AI_unitValue(eUnit, (UnitAITypes)GC.getUnitInfo(eUnit).getDefaultUnitAIType(), pUnit->area());
CvTeamAI CPP
iValue += ((bWarPlan ? 100 : 50) * (iCombatRatio - 40)) / 50;;
iValue += ((bWarPlan ? 100 : 50) * (iCombatRatio - 40)) / 50;
CvUnitAI CPP
iTemp = GC.getPromotionInfo(ePromotion).getFeatureDefensePercent(iI);;
iTemp = GC.getPromotionInfo(ePromotion).getFeatureDefensePercent(iI);
in CvGameCoreUtils CPP
case ACTIVITY_INTERCEPT: szString = L"ACTIVITY_SENTRY"; break;
case ACTIVITY_INTERCEPT: szString = L"ACTIVITY_INTERCEPT"; break;
CvGameTextMgr H
DllExport void buildYieldChangeString( CvWStringBuffer& szBuffer, TechTypes eTech, int iTieldType, bool bList = false, bool bPlayerContext = false );
DllExport void buildYieldChangeString( CvWStringBuffer& szBuffer, TechTypes eTech, int iYieldType, bool bList = false, bool bPlayerContext = false );
CvPlayer CPP
FAssertMsg(m_paiHasCorporationCount==NULL, "about to leak memory, CvPlayer::m_paiHasReligionCount");
FAssertMsg(m_paiHasCorporationCount==NULL, "about to leak memory, CvPlayer::m_paiHasCorporationCount");
iReligionModifier += GC.getDefineINT("ESPIONAGE_CITY_HOLY_CITY_MOD");;
iReligionModifier += GC.getDefineINT("ESPIONAGE_CITY_HOLY_CITY_MOD");
CyGlobalContextInterface4 CPP
.def("getNumCorporationInfos", &CyGlobalContext::getNumCorporationInfos, "() - Total Religion Infos XML\\GameInfo\\CIV4CorporationInfos.xml")
.def("getNumCorporationInfos", &CyGlobalContext::getNumCorporationInfos, "() - Total Corporation Infos XML\\GameInfo\\CIV4CorporationInfos.xml")
NEW Update to CvInfos.cpp
pXML->SetCommerce(&m_aiReligionYields); old line
pXML->SetYields(&m_aiReligionYields)
this can be found at the very bottom of CvInfos.cpp
the new update is pXML->SetYields(&m_aiReligionYields)