|
Pol
Revision:cb584c9
|
#include <uopathnode.h>
Public Member Functions | |
| UOPathState () | |
| UOPathState (short newx, short newy, short newz, Realms::Realm *newrealm, AStarBlockers *blockers) | |
| float | GetCost (UOPathState &successor) |
| bool | GetSuccessors (Plib::AStarSearch< UOPathState > *astarsearch, UOPathState *parent_node, bool doors_block) |
| float | GoalDistanceEstimate (UOPathState &nodeGoal) |
| bool | IsGoal (UOPathState &nodeGoal) |
| bool | IsSameState (UOPathState &rhs) |
| std::string | Name () |
Public Attributes | |
| Realms::Realm * | realm |
| AStarBlockers * | theBlockers |
| short | x |
| short | y |
| short | z |
Definition at line 76 of file uopathnode.h.
|
inline |
Definition at line 85 of file uopathnode.h.
|
inline |
Definition at line 91 of file uopathnode.h.
| float Pol::Core::UOPathState::GetCost | ( | UOPathState & | successor | ) |
Definition at line 122 of file uopathnode.h.
References Pol::Core::AStarBlockers::BlockNode::x, x, Pol::Core::AStarBlockers::BlockNode::y, and y.
| bool Pol::Core::UOPathState::GetSuccessors | ( | Plib::AStarSearch< UOPathState > * | astarsearch, |
| UOPathState * | parent_node, | ||
| bool | doors_block | ||
| ) |
Definition at line 137 of file uopathnode.h.
References Pol::Plib::AStarSearch< UserState >::AddSuccessor(), Pol::Plib::AStarSearch< UserState >::GetSolutionEnd(), Pol::Plib::AStarSearch< UserState >::GetSolutionStart(), IsSameState(), Pol::Core::MOVEMODE_LAND, realm, theBlockers, Pol::Core::AStarBlockers::BlockNode::x, x, Pol::Core::AStarBlockers::BlockNode::y, y, Pol::Core::AStarBlockers::BlockNode::z, and z.
| float Pol::Core::UOPathState::GoalDistanceEstimate | ( | UOPathState & | nodeGoal | ) |
Definition at line 112 of file uopathnode.h.
References Pol::Core::AStarBlockers::BlockNode::x, x, Pol::Core::AStarBlockers::BlockNode::y, y, Pol::Core::AStarBlockers::BlockNode::z, and z.
| bool Pol::Core::UOPathState::IsGoal | ( | UOPathState & | nodeGoal | ) |
Definition at line 116 of file uopathnode.h.
References Pol::Core::ServSpecOpt::default_character_height, Pol::Core::settingsManager, Pol::Core::SettingsManager::ssopt, Pol::Core::AStarBlockers::BlockNode::x, x, Pol::Core::AStarBlockers::BlockNode::y, y, Pol::Core::AStarBlockers::BlockNode::z, and z.
| bool Pol::Core::UOPathState::IsSameState | ( | UOPathState & | rhs | ) |
Definition at line 108 of file uopathnode.h.
References realm, Pol::Core::AStarBlockers::BlockNode::x, x, Pol::Core::AStarBlockers::BlockNode::y, y, Pol::Core::AStarBlockers::BlockNode::z, and z.
Referenced by GetSuccessors().
| std::string Pol::Core::UOPathState::Name | ( | ) |
Definition at line 131 of file uopathnode.h.
References Pol::Core::AStarBlockers::BlockNode::x, Pol::Core::AStarBlockers::BlockNode::y, and Pol::Core::AStarBlockers::BlockNode::z.
| Realms::Realm* Pol::Core::UOPathState::realm |
Definition at line 83 of file uopathnode.h.
Referenced by GetSuccessors(), and IsSameState().
| AStarBlockers* Pol::Core::UOPathState::theBlockers |
Definition at line 79 of file uopathnode.h.
Referenced by GetSuccessors().
| short Pol::Core::UOPathState::x |
Definition at line 80 of file uopathnode.h.
Referenced by GetCost(), GetSuccessors(), GoalDistanceEstimate(), IsGoal(), IsSameState(), and Pol::Module::UOExecutorModule::mf_FindPath().
| short Pol::Core::UOPathState::y |
Definition at line 81 of file uopathnode.h.
Referenced by GetCost(), GetSuccessors(), GoalDistanceEstimate(), IsGoal(), IsSameState(), and Pol::Module::UOExecutorModule::mf_FindPath().
| short Pol::Core::UOPathState::z |
Definition at line 82 of file uopathnode.h.
Referenced by GetSuccessors(), GoalDistanceEstimate(), IsGoal(), IsSameState(), and Pol::Module::UOExecutorModule::mf_FindPath().