Hooks
static bool BeforeStepAdd(CvAStarNode* parent, CvAStarNode* node, int data, const void* pointer, CvAStar* finder, int& result);static void AfterStepAdd(CvAStarNode* parent, CvAStarNode* node, int data, const void* pointer, CvAStar* finder, int& result);static int ReplaceStepAdd(int (*original)(CvAStarNode*, CvAStarNode*, int, const void*, CvAStar*), CvAStarNode* parent, CvAStarNode* node, int data, const void* pointer, CvAStar* finder);CivRegisterBefore<CivHooks::StepAdd>(host, &BeforeStepAdd);CivRegisterAfter<CivHooks::StepAdd>(host, &AfterStepAdd);CivRegisterReplace<CivHooks::StepAdd>(host, &ReplaceStepAdd);