CvGlobals::getStepFinder()
- Defined in
- CvGlobals.cpp, line 2388
- Class
- CvGlobals
- Hook name
CivHooks::CvGlobals_getStepFinder
Hooks
static bool BeforeCvGlobals_getStepFinder(CvGlobals* self, CvStepPathFinder*& result);static void AfterCvGlobals_getStepFinder(CvGlobals* self, CvStepPathFinder*& result);static CvStepPathFinder& ReplaceCvGlobals_getStepFinder(CvStepPathFinder& (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getStepFinder>(host, &BeforeCvGlobals_getStepFinder);CivRegisterAfter<CivHooks::CvGlobals_getStepFinder>(host, &AfterCvGlobals_getStepFinder);CivRegisterReplace<CivHooks::CvGlobals_getStepFinder>(host, &ReplaceCvGlobals_getStepFinder);
Code
2388CvStepPathFinder& CvGlobals::getStepFinder()2389{2390 return *m_stepFinder;2391}
Called by
- CvAIEnemyTerritoryOperation::Init(int, PlayerTypes, PlayerTypes, int, CvCity *, CvCity *)
- CvAIEnemyTerritoryOperation::SelectInitialMusterPoint(CvArmyAI *)
- CvAINavalOperation::SelectInitialMusterPoint(CvArmyAI *)
- CvAIOperation::ComputeCenterOfMassForTurn(CvArmyAI *, CvPlot **) const
- CvAIOperation::PercentFromMusterPointToTarget()
- CvAIOperation::SelectInitialMusterPoint(CvArmyAI *)
- CvAIOperationBasicCityAttack::Init(int, PlayerTypes, PlayerTypes, int, CvCity *, CvCity *)
- CvAIOperationDestroyBarbarianCamp::ArmyInPosition(CvArmyAI *)
- CvAIOperationDestroyBarbarianCamp::FindBestTarget()
- CvAIOperationNavalBombardment::ArmyInPosition(CvArmyAI *)
- CvAIOperationNavalSuperiority::ArmyInPosition(CvArmyAI *)
- CvAIOperationPillageEnemy::ArmyMoved(CvArmyAI *)
- CvAIOperationPillageEnemy::FindBestTarget()
- CvStepPathFinder::GetLastOwnedPlot(PlayerTypes, PlayerTypes, CvPlot *, CvPlot *) const
- CvStepPathFinder::GetXPlotsFromEnd(PlayerTypes, PlayerTypes, CvPlot *, CvPlot *, int, bool) const
- CvMap::setup()
- CvMilitaryAI::FindBestAttackTarget(AIOperationTypes, PlayerTypes, int *)
- CvMilitaryAI::ShouldAttackBySea(PlayerTypes, CvMilitaryTarget &)
- CvPlot::setPlotType(PlotTypes, bool, bool, bool)
- CvTacticalAI::PlotNavalEscortOperationMoves(CvAINavalEscortedOperation *)