Does anyone know how to do this?
I am trying to mod trade routes so that land trade routes have the same 2x multiplier that sea routes get.
I know that the relevant info is in CvTradeClasses.cpp and i have the file open, but how do i make a new DLL and combine it with whoward's DLL (Which im currently using)?
This is the relevant code :
I can easily change return 0 to return 100, but what's next?
I am trying to mod trade routes so that land trade routes have the same 2x multiplier that sea routes get.
I know that the relevant info is in CvTradeClasses.cpp and i have the file open, but how do i make a new DLL and combine it with whoward's DLL (Which im currently using)?
This is the relevant code :
Code:
int CvGameTrade::GetDomainModifierTimes100 (DomainTypes eDomain)
{
if (eDomain == DOMAIN_SEA)
{
return 100;
}
else
{
return 0;
}
}
I can easily change return 0 to return 100, but what's next?