CvAStar::GetLastNode()
- Defined in
- CvAStar.h, line 88
- Class
- CvAStar
- Not a hook point
- written in a header
Code
87 // Gets the last node in the path (from the origin) - Traverse the parents to get full path (linked list starts at destination)88 inline CvAStarNode* GetLastNode()89 {90 return m_pBest;91 }
Called by
- CvAIEnemyTerritoryOperation::SelectInitialMusterPoint(CvArmyAI *)
- CvAINavalOperation::SelectInitialMusterPoint(CvArmyAI *)
- CvAIOperation::ComputeCenterOfMassForTurn(CvArmyAI *, CvPlot **) const
- AttackPathDestEval(int, int, const void *, CvAStar *, bool, bool)
- CvIgnoreUnitsPathFinder::GetLastOwnedPlot(CvPlot *, CvPlot *, PlayerTypes) const
- CvIgnoreUnitsPathFinder::GetLastPlot()
- CvIgnoreUnitsPathFinder::GetPathEndTurnPlot() const
- CvIgnoreUnitsPathFinder::GetPathFirstPlot() const
- CvIgnoreUnitsPathFinder::GetPathLength()
- CvStepPathFinder::GetLastOwnedPlot(PlayerTypes, PlayerTypes, CvPlot *, CvPlot *) const
- CvStepPathFinder::GetStepDistanceBetweenPoints(PlayerTypes, PlayerTypes, CvPlot *, CvPlot *)
- CvStepPathFinder::GetXPlotsFromEnd(PlayerTypes, PlayerTypes, CvPlot *, CvPlot *, int, bool) const
- CvTwoLayerPathFinder::GenerateUnitPath(const CvUnit *, int, int, int, int, int, bool)
- TurnsToReachTarget(UnitHandle, CvPlot *, bool, bool, bool)
- CvBuilderTaskingAI::ConnectCitiesForScenario(CvCity *, CvCity *, RouteTypes)
- CvBuilderTaskingAI::ConnectCitiesToCapital(CvCity *, CvCity *, RouteTypes)
- CvCityConnections::UpdateRouteInfo()
- CvDangerPlots::AssignUnitDangerValue(CvUnit *, CvPlot *)
- CvDllGameContext::TEMPCalculatePathFinderUpdates(ICvUnit1 *, int, int)
- CvDllGame::CanMoveUnitTo(ICvUnit1 *, ICvPlot1 *) const
- CvHomelandAI::ExecuteExplorerMoves()
- CvMap::calculateInfluenceDistance(CvPlot *, CvPlot *, int, bool)
- CvMilitaryAI::ShouldAttackBySea(PlayerTypes, CvMilitaryTarget &)
- CvGameTrade::CreateTradeRoute(CvCity *, CvCity *, DomainTypes, TradeConnectionType, int &)
- CvGameTrade::DisplayTemporaryPopupTradeRoute(int, int, TradeConnectionType, DomainTypes)
- CvGameTrade::IsValidTradeRoutePath(CvCity *, CvCity *, DomainTypes)
- CvTradeAI::GetAvailableTR(TradeConnectionList &)
- CvUnit::GeneratePath(const CvPlot *, int, bool, int *) const
- CvUnit::GetMovablePlotListOpt(vector<CvPlot *> &, CvPlot *, bool, bool)
- CvUnit::UnitPathTo(int, int, int, int, bool)