Hooks
static bool BeforePathHeuristic(int iFromX, int iFromY, int iToX, int iToY, int& result);static void AfterPathHeuristic(int iFromX, int iFromY, int iToX, int iToY, int& result);static int ReplacePathHeuristic(int (*original)(int, int, int, int), int iFromX, int iFromY, int iToX, int iToY);CivRegisterBefore<CivHooks::PathHeuristic>(host, &BeforePathHeuristic);CivRegisterAfter<CivHooks::PathHeuristic>(host, &AfterPathHeuristic);CivRegisterReplace<CivHooks::PathHeuristic>(host, &ReplacePathHeuristic);