Hooks
static bool BeforeCvMap_calculateInfluenceDistance(CvMap* self, CvPlot* pSource, CvPlot* pDest, int iMaxRange, bool bCorrectButSlower, int& result);static void AfterCvMap_calculateInfluenceDistance(CvMap* self, CvPlot* pSource, CvPlot* pDest, int iMaxRange, bool bCorrectButSlower, int& result);static int ReplaceCvMap_calculateInfluenceDistance(int (*original)(CvMap*, CvPlot*, CvPlot*, int, bool), CvMap* self, CvPlot* pSource, CvPlot* pDest, int iMaxRange, bool bCorrectButSlower);CivRegisterBefore<CivHooks::CvMap_calculateInfluenceDistance>(host, &BeforeCvMap_calculateInfluenceDistance);CivRegisterAfter<CivHooks::CvMap_calculateInfluenceDistance>(host, &AfterCvMap_calculateInfluenceDistance);CivRegisterReplace<CivHooks::CvMap_calculateInfluenceDistance>(host, &ReplaceCvMap_calculateInfluenceDistance);