Unofficial 3.19 Patch 1.7

Roamty

BTS
Joined
Nov 30, 2005
Messages
538
Location
South Park
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)
 

Attachments

  • Unofficial 3.19 Patch 1.7.zip
    3.2 MB · Views: 226
thanks! :goodjob:

BTW, most of these are included in BBAI 1.01. (mostly the double ;; errors).

These two are new relative to BBAI 1.01:
Code:
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");

thanks again!
 
CyGlobalContextInterface4 CPP

.def("getNumCorporationInfos", &CyGlobalContext::getNumCorporationInfos, "() - Total Religion Infos XML\\GameInfo\\CIV4CorporationInfos.xml")

.def("getNumCorporationInfos", &CyGlobalContext::getNumCorporationInfos, "() - Total Corporation Infos XML\\GameInfo\\CIV4CorporationInfos.xml")

added this in update new
 
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)
 
Top Bottom