|
Elin Decompiled Documentation EA 23.248 Nightly
|
Classes | |
| class | ComparePFNodeMatrix |
| struct | PathFinderNodeFast |
Public Member Functions | |
| static unsafe bool | ZeroMemory (byte *destination, int length) |
| void | Init (IPathfindGrid _grid, WeightCell[,] _weightMap, int size) |
| void | FindPath (PathProgress path) |
| void | FindPath (PathProgress progress) |
| void | Init (IPathfindGrid _grid, WeightCell[,] _weightMap, int size) |
Public Attributes | |
| bool | debug |
| bool | Diagonals |
| bool | PunishChangeDirection |
| float | HeavyDiagonals = 1f |
| bool | TieBreaker |
| HeuristicFormula | mFormula = HeuristicFormula.Manhattan |
| int | total |
| WeightCell[,] | weightMap |
Private Member Functions | |
| void | _FindPath (PathProgress path) |
Private Attributes | |
| IPathfindGrid | grid |
| int | mHEstimate = 2 |
| PriorityQueueB< int > | mOpen |
| bool | mStop |
| bool | mStopped = true |
| int | mHoriz |
| bool | mReopenCloseNodes = true |
| PathFinderNodeFast[] | mCalcGrid |
| byte | mOpenNodeValue = 1 |
| byte | mCloseNodeValue = 2 |
| PathManager.MoveType | moveType |
| int | mH |
| int | mLocation |
| int | mNewLocation |
| ushort | mLocationX |
| ushort | mLocationZ |
| ushort | mNewLocationX |
| ushort | mNewLocationZ |
| int | mGridXZ |
| int | mGridX |
| int | mGridZ |
| int | mCloseNodeCounter |
| bool | mFound |
| sbyte[,] | mDirection |
| int | mEndLocation |
| int | mStartLocation |
| int | mNewG |
| byte | _weight |
| int | index |
| int | mx |
| int | mz |
Definition at line 9 of file PathFinder.cs.
|
inlineprivate |
Definition at line 174 of file PathFinder.cs.
References Algorithms.PathFinder._weight, Algorithms.WeightCell.baseWeight, Algorithms.PriorityQueueB< T >.Clear(), Algorithms.PriorityQueueB< T >.Count, Algorithms.PathFinder.debug, Debug, PathProgress.destPoint, Algorithms.PathFinder.Diagonals, Algorithms.PathFinder.PathFinderNodeFast.F, Algorithms.PathFinder.PathFinderNodeFast.G, PathProgress.ignoreConnection, Algorithms.PathFinder.index, item, Algorithms.PathFinder.mCalcGrid, Algorithms.PathFinder.mCloseNodeCounter, Algorithms.PathFinder.mCloseNodeValue, Algorithms.PathFinder.mDirection, Algorithms.PathFinder.mEndLocation, Algorithms.PathFinder.mFormula, Algorithms.PathFinder.mFound, Algorithms.PathFinder.mGridX, Algorithms.PathFinder.mGridXZ, Algorithms.PathFinder.mGridZ, Algorithms.PathFinder.mH, Algorithms.PathFinder.mHEstimate, Algorithms.PathFinder.mHoriz, Algorithms.PathFinder.mLocation, Algorithms.PathFinder.mLocationX, Algorithms.PathFinder.mLocationZ, Algorithms.PathFinder.mNewG, Algorithms.PathFinder.mNewLocation, Algorithms.PathFinder.mNewLocationX, Algorithms.PathFinder.mNewLocationZ, Algorithms.PathFinder.mOpen, Algorithms.PathFinder.mOpenNodeValue, Algorithms.PathFinder.moveType, Algorithms.PathFinder.mReopenCloseNodes, Algorithms.PathFinder.mStartLocation, Algorithms.PathFinder.mStop, Algorithms.PathFinder.mStopped, Algorithms.PathFinder.mx, Algorithms.PathFinder.mz, PathProgress.nodes, Algorithms.PriorityQueueB< T >.Pop(), Algorithms.PathFinder.PunishChangeDirection, Algorithms.PriorityQueueB< T >.Push(), Algorithms.PathFinder.PathFinderNodeFast.PX, Algorithms.PathFinder.PathFinderNodeFast.PZ, PathProgress.searchLimit, PathProgress.startPoint, Algorithms.PathFinder.PathFinderNodeFast.Status, Algorithms.PathFinder.TieBreaker, Point.ToString(), Algorithms.PathFinder.weightMap, Algorithms.WeightCell.weights, Point.x, and Point.z.
Referenced by Algorithms.PathFinder.FindPath().
|
inline |
Implements IPathfinder.
Definition at line 153 of file PathFinder.cs.
References Algorithms.PathFinder._FindPath(), Algorithms.PathFinder.moveType, PathProgress.moveType, PathProgress.nodes, PathProgress.startPoint, Algorithms.PathFinderNode.X, Point.x, Algorithms.PathFinderNode.Z, and Point.z.
|
inline |
Implements IPathfinder.
Definition at line 139 of file PathFinder.cs.
References Algorithms.PathFinder.grid, Algorithms.PathFinder.mCalcGrid, Algorithms.PathFinder.mGridX, Algorithms.PathFinder.mGridXZ, Algorithms.PathFinder.mGridZ, Algorithms.PathFinder.mOpen, and Algorithms.PathFinder.weightMap.
| static unsafe bool Algorithms.PathFinder.ZeroMemory | ( | byte * | destination, |
| int | length | ||
| ) |
|
private |
Definition at line 126 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
| bool Algorithms.PathFinder.debug |
Definition at line 47 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
| bool Algorithms.PathFinder.Diagonals |
Definition at line 49 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 59 of file PathFinder.cs.
Referenced by Algorithms.PathFinder.Init().
| float Algorithms.PathFinder.HeavyDiagonals = 1f |
Definition at line 53 of file PathFinder.cs.
|
private |
Definition at line 130 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 73 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath(), and Algorithms.PathFinder.Init().
|
private |
Definition at line 104 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 77 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 108 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 120 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
| HeuristicFormula Algorithms.PathFinder.mFormula = HeuristicFormula.Manhattan |
Definition at line 57 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 106 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 100 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath(), and Algorithms.PathFinder.Init().
|
private |
Definition at line 98 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath(), and Algorithms.PathFinder.Init().
|
private |
Definition at line 102 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath(), and Algorithms.PathFinder.Init().
|
private |
Definition at line 84 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 61 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 69 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 86 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 90 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 92 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 124 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 88 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 94 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 96 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 63 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath(), and Algorithms.PathFinder.Init().
|
private |
Definition at line 75 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 79 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath(), and Algorithms.PathFinder.FindPath().
|
private |
Definition at line 71 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 122 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 65 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 67 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 132 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
|
private |
Definition at line 134 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
| bool Algorithms.PathFinder.PunishChangeDirection |
Definition at line 51 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
| bool Algorithms.PathFinder.TieBreaker |
Definition at line 55 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath().
| int Algorithms.PathFinder.total |
Definition at line 82 of file PathFinder.cs.
| WeightCell [,] Algorithms.PathFinder.weightMap |
Definition at line 128 of file PathFinder.cs.
Referenced by Algorithms.PathFinder._FindPath(), and Algorithms.PathFinder.Init().