Bazaar developer reference

CvMap::plotX(int) const

Defined in
CvMap.cpp, line 1076
Class
CvMap
Hook name
CivHooks::CvMap_plotX

Hooks

static bool BeforeCvMap_plotX(const CvMap* self, int iIndex, int& result);static void AfterCvMap_plotX(const CvMap* self, int iIndex, int& result);static int ReplaceCvMap_plotX(int (*original)(const CvMap*, int), const CvMap* self, int iIndex);CivRegisterBefore<CivHooks::CvMap_plotX>(host, &BeforeCvMap_plotX);CivRegisterAfter<CivHooks::CvMap_plotX>(host, &AfterCvMap_plotX);CivRegisterReplace<CivHooks::CvMap_plotX>(host, &ReplaceCvMap_plotX);

Code

1076int CvMap::plotX(int iIndex) const1077{1078	return (iIndex % getGridWidth());1079}

Calls