CvMap::plotY(int) const
- Defined in
- CvMap.cpp, line 1083
- Class
- CvMap
- Hook name
CivHooks::CvMap_plotY
Hooks
static bool BeforeCvMap_plotY(const CvMap* self, int iIndex, int& result);static void AfterCvMap_plotY(const CvMap* self, int iIndex, int& result);static int ReplaceCvMap_plotY(int (*original)(const CvMap*, int), const CvMap* self, int iIndex);CivRegisterBefore<CivHooks::CvMap_plotY>(host, &BeforeCvMap_plotY);CivRegisterAfter<CivHooks::CvMap_plotY>(host, &AfterCvMap_plotY);CivRegisterReplace<CivHooks::CvMap_plotY>(host, &ReplaceCvMap_plotY);
Code
1083int CvMap::plotY(int iIndex) const1084{1085 return (iIndex / getGridWidth());1086}